I think this may solve your problem:
IMPORTANT: Back up the "icewind.ini" file and your saves before making any changes (just in case something goes wrong).
Use a text editor to edit the "icewind.ini" file in the game directory by adding the line "Cheats=1" under the "[Game Options]" section. Start the game and press [Ctrl] + [Tab] to display the console window.
Then in the console that appears you can type in the following code, where the "xxxxxx" is replaced by the unique Item Code.
CHEATERSDOPROSPER:CreateItem("xxxxxx")
or
GETYOURCHEATON:CreatItem("xxxxxx") if you have Heart of Winter installed.
Here are the codes for each badge:
"PERDIEM" -- Brother Perdiem's Badge
"JORIL" -- Joril's Badge
"KRILAG" -- Krilag's Badge
"MAIDEN" -- Maiden Ilmadia's Badge
"MALAVON" -- Malavon's Badge
"MARKETH" -- Marketh's Badge
This solution was posted in the forum at www.ironworks.com. Hope this solves the problem, but if for some reason it doesn't work, try googling "Icewind Dale console" for other possible solutions.