Windows Server: Create an Alias to Localhost FileShare

Windows, by default, does not allow the use of a hosts file entry to alias a CIFS share to localhost. The typical error when attempting this would be “Incorrect username or password.” when navigating to the share.

To fix this, add a registry entry like the following:

  • HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / Lsa
  • Create REG_DWORD with name DisableLoopbackCheck and value 1

No reboot is required.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *