jrmcnulty
asked on
Script or Batch program to disable ie uncheck "Register this connection's addresses in DNS"
Okay guys,
I have been searching and testing and can not find anything that will help. What I want is to have a script/batch file that I can run after Sysprep that will uncheck "Register this connection's addresses in DNS" and uncheck the "Enable LMHOSTS lookup"
I use the default network settings in the Sysprep and of course those setting go back to the defaults. I know I can just go and uncheck them, but I was hoping for some thing a little more elegant.
Thanks
I have been searching and testing and can not find anything that will help. What I want is to have a script/batch file that I can run after Sysprep that will uncheck "Register this connection's addresses in DNS" and uncheck the "Enable LMHOSTS lookup"
I use the default network settings in the Sysprep and of course those setting go back to the defaults. I know I can just go and uncheck them, but I was hoping for some thing a little more elegant.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Okay that is a start. But, but your link only points to the scripting center. What script were you thinking about?
ASKER
essaydave -- I will take a look at this a little later today and get back to you.
thanks.
thanks.
ASKER
essaydave -- looks to work. points will be awarded.
An explainations would be good. I believe that in your first object
intWinsEnable = objNicConf.EnableWINS(True , False, "", "yourdomainnamehere")
True = WINS Enabled
False = LMHOSTS disabled
"" = Location of LMHOST file
"yourdomainnamehere" = Scope ID
for second object
intDNS = objNicConfig.SetDynamicDNS Registrati on(False, False)
False = FullDNSRegistrationEnabled -- which is the unchecking of "register this connection's address in DNS"
False = DomainDNSRegistrationEnabl ed which is the default right?
Let me know if I am on the right track.
An explainations would be good. I believe that in your first object
intWinsEnable = objNicConf.EnableWINS(True
True = WINS Enabled
False = LMHOSTS disabled
"" = Location of LMHOST file
"yourdomainnamehere" = Scope ID
for second object
intDNS = objNicConfig.SetDynamicDNS
False = FullDNSRegistrationEnabled
False = DomainDNSRegistrationEnabl
Let me know if I am on the right track.
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
Not sure about LMHOSTS setting.