Solved

Option 43 Value not beeing Backed up from DHCP Server

Posted on 2011-09-28
2
317 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
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

Suggested Solutions

Title # Comments Views Activity
How to hault or freeze parent form when a 2d form is open in vb6 3 38
DHCP server 6 61
Compile Error 7 51
How can I run a vbs script to all members servers in a domain? 9 19
Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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