ตัวเลือก 1 :
แก้ไข\My Documents\IISExpress\config\applicationhost.configไฟล์และเปิดใช้งาน windowsAuthentication เช่น:
<system.webServer>
...
  <security>
...
    <authentication>
      <windowsAuthentication enabled="true" />
    </authentication>
...
  </security>
...
</system.webServer>
ตัวเลือก - 2 :
ปลดล็อกส่วน windowsAuthentication ใน \ My Documents \ IISExpress \ config \ applicationhost.config ดังต่อไปนี้
<add name="WindowsAuthenticationModule" lockItem="false" />
เปลี่ยนการตั้งค่าแทนที่สำหรับประเภทการตรวจสอบสิทธิ์ที่จำเป็นเป็น 'อนุญาต'
<sectionGroup name="security">
    ...
    <sectionGroup name="system.webServer">
        ...
        <sectionGroup name="authentication">
            <section name="anonymousAuthentication" overrideModeDefault="Allow" />
            ...
            <section name="windowsAuthentication" overrideModeDefault="Allow" />
    </sectionGroup>
</sectionGroup>
เพิ่มการติดตามใน web.config ของแอปพลิเคชัน
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
      <security>
        <authentication>
          <windowsAuthentication enabled="true" />
        </authentication>
      </security>
    </system.webServer>
</configuration>
ลิงค์ด้านล่างอาจช่วยได้:
 http://learn.iis.net/page.aspx/376/delegating-configuration-to-webconfig-files/
หลังจากติดตั้ง VS 2010 SP1 แล้วการใช้ตัวเลือก 1 + 2 อาจจำเป็นเพื่อให้การรับรองความถูกต้องของ windows ทำงานได้ นอกจากนี้คุณอาจต้องตั้งค่าการรับรองความถูกต้องแบบไม่ระบุชื่อเป็นเท็จใน IIS Express applicationhost.config:
<authentication>
            <anonymousAuthentication enabled="false" userName="" />
สำหรับ VS2015 ไฟล์กำหนดค่าแอปพลิเคชัน IIS Express อาจอยู่ที่นี่:
$(solutionDir)\.vs\config\applicationhost.config
และ<UseGlobalApplicationHostFile>ตัวเลือกในไฟล์โครงการจะเลือกไฟล์กำหนดค่าเริ่มต้นหรือโซลูชันเฉพาะ