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. 034
Cyber Security

WME Security Briefing 18 November 2024

New LightSpy Spyware Variant Poses Increased Threat to iPhone Users Overview Recent analysis reveals an enhanced version of the iOS spyware, LightSpy. It targets iPhones with advanced surveillance features and destructive capabilities. Basically, detected for the first time

Click Here to Read Full Article »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=