Add STSADM to Path

23 Jan

I paste this into the command line every time I do a clean MOSS 2007 install and am working on the box.

@set PATH=C:Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%

So that in the future, I can access STSADM much easier.


If you are using SharePoint 2013 you’ll want the updated path (12 changes to 15).

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN

In 2013 you also have other options, like adding this powershell module, after which you can start using ‘stsadm’ in PS.

Add-PSSnapin Microsoft.SharePoint.Powershell -EA 0
Tweet about this on TwitterShare on Google+Share on FacebookShare on RedditEmail this to someoneShare on LinkedInShare on StumbleUpon

Leave a Reply

Your email address will not be published. Required fields are marked *