Command that is ran

rguggisberg wrote:
There will always be things that just don't quite work the way you intended.
Get in the habit of displaying a message box or sprintf of the command line... at least temporarily for test when you have this kind of trouble.
If you display the value for sInitUtilityPath the solution will probably become obvious.

I have attached the command to the text file.

If I run the ie4unint by itself it refreshes the icon.
0 Kudos
Frequent contributor

Re: Laaw_parameters

Note that this sites security policy does not let me answer exactly as I wanted to....

What OS is the target machine?
32 bit or 64 bit OS?
C:\windows\system32 will get redirected to C:\Windows\SysWOW64 on a 64 bit OS.
YES! There are 2 versions of cmd.
Try running ie4uinit from a 32 bit CMD and from a 64 bit CMD.
If you find that the 64 bit CMD is required, then play around with Sysnative.
You may have to change your command line in 1 or both places from C:\windows\system32 to %windir%\sysnative

I think you may be over complicating things by running via CMD at all.
You probably don't need the path for ie4uinit either. So your command line may be able to be simplified to
ie4uinit.exe -ClearIconCache
0 Kudos