DHCP client service with option 12




I have a problem with DHCP Client Service component in an XPe image. I
need to request the target hostname to a DHCP Server, but I don't know
how to configure the option 12 on the DHCP request.

I have seen on this component some registry entries in the following


Below this path, there are some values for each option, but I don't
know the right data configuration of KeyType (REG_DWORD) and
RegLocation(REG_MULTI_SZ) for option 12.

Does anybody know these configurations?.

In addition, I don't know if once I have received the hostname, I
could set it without a machine reboot. Does anybody know how can I set
a new hostname on XPe without a reboot?

Thanks in advance.


Douglas Hammond

I know this is an old topic, but I'm adding this in case it helps someone else.

There's not a built-in function in Windows XP to inherit the computer name from DHCP, as far as I know. It CAN be done with a vbscript, though. I wrote one that you could probably adapt to your purpose that you can find here:


It's ugly and clunky, and but it worked for me. If you have any feedback or improvements on it, I'd like to hear from you.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Color Depth and DHCP client oprions 0
DHCP Client 1
DHCP client timeout 2
DHCP-client doesn't work 3
DHCP and MinLogon 8
DHCP Client invisible dependency 4
DHCP client and XPE FP2007 3
Thin Client Devices 0