Weekly Tip 56

Set Service to Delay Start

Beginning with Windows 7, a new startup method for services exists. “Automatic (Delayed Start)” will start a service when the operating system boots, but wait for certain amount of time before starting to give the OS a chance to boot. This helps to speed up login times. Unfortunately, few of the tools we use to manage services such as PowerShell have caught up. There is one command line tool that you can use called “sc.exe”. To set the service to delayed start, run this command (notice the space between the equals sign “=” and delay-auto):

sc.exe config <service name> start= delay-auto

Example:

sc.exe config ccmexec start= delay-auto

There’s also two registry keys that affect this setting. For each service, there should be a “Start” and “DelayedAutoStart” DWORD registry key. The “Start” key should be set to “2”, while the “DelayedAutoStart” key should be set to “1”. These keys are located at HKLM:\SYSTEM\CurrentControlSet\services\<service name>. You can use these keys in Compliance Rules in ConfigMgr, or anywhere else. I would use sc.exe to set the service, though. It’s cleaner.

Share:

Facebook
Twitter
LinkedIn
Picture of Matt Tinney

Matt Tinney

Professional IT executive & business leader having decades of experience with Microsoft technologies delivering modern-day cloud & security solutions.

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 024
Cyber Security

WME Security Briefing 28 August 2024

GhostWrite Vulnerability in T-Head CPUs Exposes Devices to Unrestricted Access Overview A critical architectural flaw in T-Head’s XuanTie C910 and C920 RISC-V CPUs was uncovered by recent research from the CISPA Helmholtz Center for Information Security. Dubbed GhostWrite, the vulnerability

Click Here to Read Full Article »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=