BITBA Network

Error Event 4004 and 4015 Windows Server Stuck in Apply Settings

In one of our servers that runs Windows 2003 we noticed that the reboot time has significantly increased and it takes up to 30 minutes to reboot the server. In another post we will discuss how to reduce the shutdown or restart time for windows server however looking at the events we noticed multiple error event ID 4004 and error event ID 4015.

Here is the solution that worked for us. We did change the registry inputs. Make sure you consult with your IT manager before making any registry changes as it can cause irreversible damage to your server if you are not fully aware of what change you are making.

Solution:

Step 1- You need to run the regedit.exe. For example in Windows 2003 or Windows 2008 click on “Start” then click on “Run” and type “Regedit” and press enter. This will open up the registry view.

Step 2- Create a backup of your registry by clicking on “File” then “Export” and save the registry file to a safe location that you can recover even if the windows is not booting.

Step 3- Locate the following registry keys. Just remember these errors generally are caused by the windows time provider protocol (W32Time).

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimProviders\NtpClient\

On the right pane you will see an entry called “Enabled” (type is “REG_DWORD”). Edit the value by double clicking on the entry and change the value from “1” to “0” Please make sure the base is “Hexadecimal”.

After the settings are applied close the registry settings. Restart the server and your problem should be resolved.

Disclaimer: Please use the above instructions fully at your own risk. Changing windows registry may cause irreversible damages to your operating system thus you should discuss any of the steps with your system administrator.