SHIFT-WIKI - Sjoerd Hooft's InFormation Technology
This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.
Fix: Windows Services Won't Start Automatically
Summary: How to increase the automatic startup time for Windows Services
Date: Around 2013
Refactor: 26 January 2025: Checked links and formatting. Cleaned up.
After rebooting a Windows Server some services that should start automatically are not automatically started. Looking in the event viewer you'll see errors like this:
The SQL Server (MSSQLSERVER) service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
or
A timeout was reached (30000 milliseconds) while waiting for the SQL Server (MSSQLSERVER) service to connect.
This error can occur when the system is too busy to start the service within the 30 seconds range. Starting the services is stopped and not retried. This can be solved by configuring a higher timeout:
- Click Start → click Run → type regedit and click OK.
- Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- Right-click Control → select New → DWORD Value.
- In the New Value #1 box, type ServicesPipeTimeout, and press ENTER.
- Right-click ServicesPipeTimeout → Modify.
- Click Decimal, type the number of milliseconds that you want to wait until the service times out, and then click OK.
- For example, to wait 60 seconds before the service times out, type 60000.
- Quit Registry Editor, and then restart the computer.
Note: Rebooting the computer is not strictly necessary, this is a setting that's only valid for reboots so it will be eligible for the next reboot anyway.
This wiki has been made possible by:
Windows Server 2008
Summary: The azure application proxy ….
Date: Around 2008
Refactor: 31 December 2024: Checked links and formatting.
Windows PowerPlan in Virtual Machines
Summary: How to get and set the Windows Powerplan for best performance in Virtual Machines.
Date: Around 2011
Refactor: 1 May 2025: Checked links and formatting.
The windows powerplan is set to balanced by default in Windows Server 2008/R2, but that could seriously impact performance. And, because idle CPUs in virtual environments don't use much power anyway, especially in virtual environments, it could be better to change this setting to High Performance:
- Go to the Control Panel → Hardware → Choose a power plan
- Click on “Change settings that are currently unavailable”
- Set to “High Performance”
Windows NFS Shares
Summary: How to setup an NFS share on Windows to share data with a linux box.
Date: Around 2014
Refactor: 1 May 2025: Checked links and formatting.
To be able to mount a share from Windows to a Linux box we found that NFS services for Windows were by far the easiest way to go.
- Windows is a Windows Server 2008 R2 edition.
- Linux is a Red Hat Enterprise Linux 6.5 edition.
Note: I already did that a long time ago on Windows Server 2003 and AIX. Click here for more info about that.
This is how to install and configure the services:
