Need Help

Discussion in 'Scripting' started by joeblow3, Mar 5, 2014.

  1. joeblow3

    joeblow3 MDL Novice

    Dec 16, 2009
    9
    0
    0
    How would I write a batch file to uncheck the "use automatic configuration script" in the LAN settings.
     
  2. Dos_Probie

    Dos_Probie MDL Senior Member

    Jul 18, 2012
    250
    84
    10
    #2 Dos_Probie, Mar 5, 2014
    Last edited by a moderator: Apr 20, 2017
    Just do a reg delete via batch like so..DP:)
    Code:
    @echo off
    :: Uncheck and clear the "Use Automatic Configuration Script" in IE LAN Settings.
    reg delete "hkcu\software\microsoft\windows\currentversion\internet settings" /v "AutoConfigURL" /f>nul 2>&1