AutoLogin with username and password for windows authentication

Some sites may ask for windows authentication (Kerberos/NTLM). It can be more user friendly when the current credentials are used transparently instead of entering them manually for every access.

For this, we can either configure the auto login option in one of the zones with inetcpl.cpl:

Or set it through registry, with these keys


HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1

Set on both the key: 1A00 to 0

Here is an example in innoscript:


Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1"; ValueType: dword; ValueName: "1A00"; ValueData: "0"; 
Root: "HKCU"; Subkey: "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2"; ValueType: dword; ValueName: "1A00"; ValueData: "0"; 

Post a Comment

Previous Post Next Post