Option 43 Value not beeing Backed up from DHCP Server

Hello,

We have a script that backup DHCP server Configuration and database. the thing is, i noticed that the script for i don't know what reason won't backup the Option 43 value from the scope option :-( Instead it will put (optionvalue 43 DWORD "6") The concerned servers are Windows 2000 DHCP servers. So How can i get the script to work for these servers ???
I've joined the script and a screenshot with the Binary value of the DHCP scope option

Thank you

 Option 43 ValueDHCP-Backup.txt
LI20579Asked:
Who is Participating?
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
Just only a thought because I'm not VBScript expert.
Why don't you want to consider using back up of %WINDIR%\SYSTEM32\DHCP folder? There is whole DHCP database which can be backup to some other media and in case of DHCP server crash, simply restored. Just make sure that you do DHCP database backup frequently.

And if not DHCP datbase backup, I would consider using netsh tool to dump DHCP configuration. It's saved to flat text file with clear syntax :) In case of you want to migrate setting to other DHCP server you can simply execute that dumped configuration. Maybe it's worth giving a try?

Try running this command in command-line on any Windows server

netsh dhcp server \\DNS-Server-Name dump > c:\dhcp-dump.log

Hope it helps.

Regards,
Krzysztof
0
 
LI20579Author Commented:
FAIR ENOUGH
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.