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
goprasadAsked:
Who is Participating?
 
merowingerConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.