Best Way To Prevent DHCP query in Windows 10

NetRock6 used Ask the Experts™
While Windows 10 is booting up, I need to block the OS to require IP address from the DHCP server for a few minutes (~10 min). What is the best way to do this.
(using script stopping the running DHCP client service while Windows 10 is loading is enough then starting the service, is an effective approach?).
I cannot disable the Network Adapter.

Thank You for your help.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Windows does not get confused loading DHCP even though loading other services.

DHCP is totally basic to Windows Networking.  The only way I know how to stop it is to use Static IP addressing. Otherwise it is going to run.
IT Engineer
Distinguished Expert 2017
You can put some bat file in to your autostart or into your registry to RUN section with command

ipconfig /release

This will swap out your IP from NIC properties.

If you decide to get IP you can create another bat with command

ipconfig /renew

and use it manually or put it to Windows schedule with manually set delay


Also you can change settings for your DHCP client and change it from AUTOMATIC to AUTOMATIC DELAY

To do this you can put this command

sc config DHCP start= delayed-auto      {remeber about spacee between = and delayed-auto}

When a service is configured for a delayed automatic start, a DWORD registry value is present under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<service name>. It's named DelayedAutoStart and it's set to 1, along with a Start value of 2—which is the normal value for automatic start.

The default delay time is of 120 seconds. But this can be changed by modifying the AutoStartDelay value in the following registry key:

Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018
Set DHCP client to delay start and set delay start to 2 min
HKLM\SYSTEM\CurrentControlSet\services\<service name>\DelayedAutostart to 1
HKLM\SYSTEM\CurrentControlSet\services\<service name>\AutoStartDelay to 120

Open in new window

Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Sorry, see second part of Tom's answer is delay start


Thanks Tom for your help.
I will try to see if your solution helps my issue.
Tom CieslikIT Engineer
Distinguished Expert 2017

Best solution provided. No more other questions from author

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial