Solved

Option 43 Value not beeing Backed up from DHCP Server

Posted on 2011-09-28
2
342 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:LI20579
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 500 total points
ID: 37029601
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
 

Author Closing Comment

by:LI20579
ID: 37479903
FAIR ENOUGH
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question