How to Add STSADM in path using Windows Server 2008

I always keep STSADM in path, because it very useful. You can also create a shortcut for command prompt configured for STSADM.

For Sharepoint 2007
Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\.


For Sharepoint 2010

Usually STSADM.exe exist in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\

Click on ‘Start’
Right Click on ‘Computer’ and select Properties
Select ‘Advanced System Settings’
Click on the ‘Environment Variables…’
Now select the ‘Path’ from system variables
Click Edit

Their will be already may be some path available you just append this new path
first add ;(semicolon) then your path of BIN folder (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\
) where stsadm.exe will be.
Add this path (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN) in existing path seprated by ‘;’
Thats all, now you can use STSADM from anywherein command prompt.

Comments

Popular posts from this blog

SharePoint 2007 - Simple Task Dashboard

MERGE transformation in SSIS