• RSS
  • Twitter
  • FaceBook

Stefaan Pouseele Blog RSS

All Blogs  »  Stefaan Pouseele Blog  »  ISA Corner  »  Blog article: Clearing the Cached WPAD Script

Clearing the Cached WPAD Script

When ISA server delivers the WPAD script, it sets a Cache-Control header with the value “max-age=3000″, that means 50 minutes. Internet Explorer rounds this up to 1 hour. So, if you are testing WPAD changes, i.e. you are playing with “Auto Discovery” or “Direct Access”, then you will need to be sure to delete the previously acquired WPAD script and resolved WPAD name.

The easiest way to accomplish this is to execute the following steps:

  1. Clear the Internet Explorer cache completely: ActiveX Controls, Cookies, History, etc..
  2. Close all instances of Internet Explorer.
  3. Delete all WPAD script instances. Open a command window as administrator and type the following command:
    del \wpad*.dat /s
  4. Clear the DNS and Netbios name caches. Open a command window as administrator and type the following commands:
    ipconfig /flushdns
    nbtstat -R

You should now have a clean starting point for testing WPAD script changes.

HTH,
Stefaan

Leave a Reply


Receive all the latest articles by email!

Receive Real-Time & Monthly ISAserver.org article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become an ISAserver.org member!

Discuss your ISA Server issues with thousands of other ISA Server experts. Click here to join!