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.

Capture

Share:

Facebook
Twitter
LinkedIn

Contact Us

On Key

More Posts

Mastering Azure AD Connect - A Comprehensive Guide by WME
Active Directory

Mastering Azure AD Connect – A Comprehensive Guide

Modern businesses are fast moving toward cloud-based infrastructure. In fact, cloud-based business is not just a trend anymore but a strategic necessity. Microsoft’s Azure Active Directory (Azure AD) has become a frontrunner in this domain. It

Read More »
Security Best Practices in SharePoint
Office 365

Security Best Practices in SharePoint

Microsoft SharePoint is an online collaboration platform that integrates with Microsoft Office. You can use it to store, organize, share, and access information online. SharePoint enables collaboration and content management and ultimately allows your teams to

Read More »
The Ultimate Guide to Microsoft Intune - Article by WME
Active Directory

The Ultimate Guide to Microsoft Intune

The corporate world is evolving fast. And with that, mobile devices are spreading everywhere. As we venture into the year 2024, they have already claimed a substantial 55% share of the total corporate device ecosystem. You

Read More »
Protecting Microsoft 365 from on-Premises Attacks
Cloud Security

How to Protect Microsoft 365 from On-Premises Attacks?

Microsoft 365 is diverse enough to enrich the capabilities of many types of private businesses. It complements users, applications, networks, devices, and whatnot. However, Microsoft 365 cybersecurity is often compromised and there are countless ways that

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.