Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 623
  • Last Modified:

How to write a simple batch file to start Windows Search service and set it to automatic (delayed start)?

Hello there,

How to write a simple batch file to start Windows Search service and set it to automatic (delayed start)?

I am needing to start Windows Desktop Service.

Please advise.

Thanks and Regards
0
goprasad
Asked:
goprasad
1 Solution
 
merowingerCommented:
This should do it

sc config WSearch start= delayed-auto
sc start WSearch

Open in new window

0
 
goprasadAuthor Commented:
Thank you. Save this as a bat file and run this.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now