Solved

Option 43 Value not beeing Backed up from DHCP Server

Posted on 2011-09-28
2
297 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
2 Comments
 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 500 total points
Comment Utility
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
Comment Utility
FAIR ENOUGH
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Hello again, all.  For those of you that have been following along, you'll know that this is my third article on this topic (though it is not Part III).  This article is sort of remedial, and probably the topic with which I should have started the s…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now