Windows: Modify Automatic (Delayed start) windows service thresholds

I wanted to modify the delayed start time threshold for one of my services.
If you want to tweak your delaytime, do the following in regedit:

1. Open Regedit.
2. Navigate to your service, in my case it was HKLMSYSTEMCurrentControlSetservicesPlexService
You should see that the “DelayedAutostart is set to 1.
3. To increase the default delay of 120 seconds, right click the registry key and add new key AutoStartDelay (DWORD (32-bit), like mine: HKLMSYSTEMCurrentControlSetservicesPlexServiceAutoStartDelay
4. Set the decimal to your default value. Like mine: 300
5. Reboot, and see if the service autostarts after x seconds.

– F

Windows: Autologon for Domain User

I have some machines in my lab at home that, due to heavy testing and other stuff, reboots often.
Some of my applications are dependent on the user beeing logged on to function properly – so instead of manually logging on each time my server boots, I fiddled around in registry to make the domain user log on automatically.

This, of course, is not recomended in any production environment, but for lab purposes, I find this trick very useful.

1. First, open regedit on the machine you want to fiddle with.
2. Navigate to HKLMSoftwareMicrosoftWindows NTCurrentVersionwinlogon
3. Make a backup of winlogon.
4. Change the following values (you may need to add some of them if they’re not present).

AutoAdminLogon = 1 (String Value Key) (0 means off, 1 means automatic)
DefaultUserName = Username (String Value Key)
DefaultPassword = Password (String Value Key)
DefaultDomainName = yourdomain.com (String Value Key) (Only needed if this computer has joined a domain)

4. Reboot

The user should now log on automatically.
As you see, the password is displayed in clear text, so beware.

– F