Re: remote ip configuration
From: reaperman (reaper_man_at_mail.ru)
Date: 06/17/04
- Next message: Miki Peric: "JScript question"
- Previous message: mayayana: "Re: Script to delete registry key having sub keys."
- In reply to: Michael Holzemer: "Re: remote ip configuration"
- Next in thread: Defkon: "Re: remote ip configuration - Setting DNS on Remote Workstations"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 17 Jun 2004 16:46:04 +0400
Hello, Michael!
Thanx for you extensive answer ;)
MH> The only caveat I have found is that your card must be connected to
MH> something. It works fine for me on both my XP notebook and my daughters
MH> 2K pro box. Can you tell me how you are getting it to fail or what your
MH> result is? I am really surprised by this.
I was too... The matter was: the test win2k pro machine (where I ran all my
test code) silently cleaned its DNS servers list when I used
SetDNSServerSearchOrder() function, but didn't switch to getting DNS from
DHCP, it just sat there with DNS servers list empty... so I was sure I
missed something critical in my script or there's no possibility at all to
make a workstation use DNS settings provided by DHCP. But yesterday this
test machine got reinstalled and now everything seems Ok.. strange... I
don't know what it was preventing my script to run correctly, it's
impossible to investigate now (but this machine was messed up really bad,
it's got almost every kind of error messages in its eventlog ;), however
nothing concerning WMI...)
MH> Am I not on the same page as you? True the documentation says
MH> SetDynamicDNSRegistration is for setting it to register, but it also
MH> says it is 2K3 and XP only. Try out the code below this is the code I
MH> ran on the 2K box a few minutes ago.
MH> I ran this code on 2K Pro and it made everything DHCP
[code skipped]
Thanx for the code, you're absolutely right, the code is working
excellently. I hope I'll never stumble upon similar problem again...
-- With best regards, reaperman. E-mail: reaper_man@mail.ru
- Next message: Miki Peric: "JScript question"
- Previous message: mayayana: "Re: Script to delete registry key having sub keys."
- In reply to: Michael Holzemer: "Re: remote ip configuration"
- Next in thread: Defkon: "Re: remote ip configuration - Setting DNS on Remote Workstations"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|