Skip to content

Instantly share code, notes, and snippets.

@ElliotWood
Created March 28, 2013 02:11
Show Gist options
  • Save ElliotWood/5259949 to your computer and use it in GitHub Desktop.
Save ElliotWood/5259949 to your computer and use it in GitHub Desktop.
Simple script to restart SharePoint 2010 Services
@echo off
@echo Stopping SharePoint 2010 services...
iisreset /stop /noforce
net stop "SharePoint 2010 User Code Host"
net stop "SharePoint 2010 Timer"
net stop "SharePoint 2010 Administration"
net stop "SharePoint Server Search 14"
net stop "SharePoint Foundation Search V4"
net stop "SharePoint 2010 Tracing"
@pause
@echo Starting SharePoint 2010 services...
net start "SharePoint 2010 Tracing"
net start "SharePoint Foundation Search V4"
net start "SharePoint Server Search 14"
net start "SharePoint 2010 Administration"
net start "SharePoint 2010 Timer"
net start "SharePoint 2010 User Code Host"
iisreset /start
@pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment