Skip navigation

JSI Tip 8290. When you use Netsh.exe to configure DHCP scope options on Windows Server 2003, you receive 'The specified option does not exist'?

In Windows Server 2003, you MUST open the DHCP MMC and connect to at least one DHCP server before you can use Netsh.exe to configure DHCP scope options.

NOTE: In Windows Server 2003, option definitions are created in %SystemRoot%\system32\dhcp\dhcp.mdb. In Windows 2000, the DHCP options where stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration\OptionInfo.

To workaround the problem:

1. Close all MMCs.

2. Open the DHCP MMC.

3. Connect to one or more DHCP servers.

4. Run the Netsh.exe tool.

If another DHCP server exists, and is functional, stop its' DHCPSERVER service, and use a batch file like:

@echo off
net stop dhcpserver
del /q %systemroot%\system32\dhcp\dhcp.mdb
copy \\OtherDHCP\c$\Windows\System32\dhcp\dhcp.mdb %systemroot%\system32\dhcp\*.*
net start dhcpserver
netsh dhcp server IP address set optionvalue Value dword Value



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish