Stopping and Disabling Services

You may find that Vista's new Instant Search can sometimes get out of hand and slow down your machine. Temporarily disabling and then stopping the search service is one way to deal with this issue:

Set-Service wsearch -startupType Disabled
Stop-Service wsearch

You'll need to run this script with full admin privileges. To turn the service back on, try this:

Set-Service wsearch -startupType Automatic
Start-Service wsearch

Posted Dec 19 2008, 08:00 AM by ps1

Comments

Thomas Lee wrote re: Stopping and Disabling Services
on 12-19-2008 10:56 AM

You can, of course, just use Net Stop/Net Start to stop and start services.

And you do not need to change the startup type in order to stop or start the service.

pudding wrote re: Stopping and Disabling Services
on 12-20-2008 10:19 PM

alternatively,

To stop wsearch service,

stop-service wsearch

To start wsearch service,

start-service wsearch

To confirm,

get-service wsearch

Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.