Iis – Internet Explorer 6 Providing IIS Wrong Windows Account Name

authenticationiisinternet explorerwindows-xp

I have encountered an issue between Internet Explorer 6 (SP2) and IIS, although it seems that IE6 is the primary cause of the problem. When I attempt to access one of our internal intranet applications that uses IIS Windows Authentication the application thinks that I am a different user instead of my main account. The account that is being provided is actually one that I use to log on to the remote system to access the hard drive, I have been able to verify this by examining the log files.

Thus, my question is if there is a way around this, besides using Firefox or not connecting to the hard drive?

Note that since this is a corporate machine I'm also unable to upgrade Internet Explorer to the latest version.

Best Answer

On the same computer, do you connect to the same server which hosts IIS using a different account? For example to connect a shared network resource (folder share)?

To test, if this is the case, try to disconnect that account, reboot the client machine and try again.

Possible solutions:

  • start Internet Explorer using a secondary logon from the command-line (you may have to change the path to the IE executable):
   runas /user:DOMAIN\USERNAME "C:\Program Files\Internet Explorer\iexplore.exe"
  • access the file share with the normal account, if this is possible. You may have to set the permissions on the share and folders on the server
  • if you have to use the network share just for copying some files, you could use a script (batch) which connects, copies/... and disconnects like this one:
   net use x: \\SERVER\ShareOnServer password /user:username  
   ... 
   net use x: /delete

This link from the Microsoft support site may be interesting too:

Error message when you use user credentials to connect to a network share from a Windows-based computer: "The network folder specified is currently mapped using a different user name and password"