How to Configure Windows Authentication
- 1). Open Internet Information Services (IIS) on your Web server.
- 2). Right click the "Virtual Directory" and select "Properties." Then choose the "Directory Security" tab.
- 3). Select the "Edit" tab under the "Anonymous Access and Authentication Control" menu option, then click the "Integrated Windows Authentication" check box.
- 4). Open the "Web.config" file. Confirm the authentication mode located between the <system.web> XML tags is set to "Windows." Exit the file.
- 5). Restart IIS and basic Windows Authentication will be enabled.
Source...