Improve company productivity with a Business Account.Sign Up

x
?
Solved

Option 43 Value not beeing Backed up from DHCP Server

Posted on 2011-09-28
2
Medium Priority
?
391 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 1500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

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…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Go through the video which explain the procedure to export Amazon WorkMail single or multiple mailboxes to Outlook with Kernel Export Amazon WorkMail to PST tool. User can see the simple steps to export. It has salient features like filters (Include…
A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…

589 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