I am trying to set the username and password for digest proxy authentication automatically for Internet Explorer and also to get IE to stop showing the authentication dialogue box when the username and password has already been put in. Already got Firefox sorted, but IE is a pain. Using IE 10.

This is the coding that I am using

 Code:
shell 'cmdkey /generic:"Microsoft_WinInet_proxy:3128/Our Internet" /user:technicians /pass:password'

Every Microsoft website says that this should work, but while it puts in the username and password into windows 7 credentials manager, IE does not seem to use these credentials entered by the script. IE only works if the username and password is entered manually into the IE dialogue box and settings are saved!

The script itself is not the problem as running the command in command prompt also fails.

Is there some other way of coding this? The end users all use Firefox, but one of several problems we have encountered is that there certain things such as clicking on hyperlinks in word files seem to require the proxy username and password to be set in IE even though Firefox is the default browser and the hyperlink opens in Firefox. So we would like to automate the digest authentication for IE to shut windows up!

But the only coding I can find is the cmdkey which does not seem to work with IE9 and above - so perhaps there is some com coding or something that would do the trick?

Thanks