Abhishek Bhowmick | SharePoint Blog

Run stsadm.exe command from any command prompt

Posted in Sharepoint by Abhishek Bhowmick on September 26, 2008

Many a times people think of running stsadm.exe commands from any command prompt.  So here is the way:

•  Open command prompt
•  Type in the following command:  @set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH% 
•  You can now run the stsadm.exe commands from anywhere in the command prompt

Advertisements

17 Responses

Subscribe to comments with RSS.

  1. Alonzo said, on September 28, 2010 at 10:34 am

    works great. thanks a lot

  2. Khoi Le said, on October 11, 2010 at 9:03 am

    Thanks a lot. So great!.

  3. chan said, on February 4, 2011 at 3:05 pm

    Hi Abhishek,

    when I run stsadm commands on the command prompt, it shows me “Access denied” . I tried with diffrent administrator accounts and all have farm administrator priviledges. I can’t figure out the reason.

    Could you help please?

    • Dreezy F said, on December 8, 2011 at 2:59 am

      Right click on the command prompt and run as administrator while logged in with an administrator account.

  4. dp said, on May 17, 2011 at 7:37 pm

    Thanks

  5. john said, on July 2, 2012 at 10:05 pm

    Hi abhishek, this is johnson bhoopelli, i need ur help, i have wss 3.0 versions, we got merged, active directory team is migrating all the user to new domain, i noticed some user loosing access to resouces on the sharepoint site. i ran this command, stsadm -o migrateuser

    -oldlogin

    -newlogin
    it works, but do you any issues if i run this command to all the users.

  6. Scott said, on August 1, 2012 at 11:34 pm

    U Rock! Thanks for the information~!!

  7. Jeff said, on September 20, 2012 at 8:27 pm

    Thanks this came in handy

  8. dieta dukan said, on November 16, 2012 at 7:57 pm

    Right now it sounds like Drupal is the preferred blogging platform out there right now.
    (from what I’ve read) Is that what you’re using on
    your blog?

  9. easy Website said, on January 8, 2013 at 6:06 am

    This is my first time pay a visit at here and i am genuinely pleassant to
    read everthing at alone place.

  10. Bebe said, on February 2, 2013 at 11:48 am

    This site definitely has all the information I wanted
    concerning this subject and didn’t know who to ask.

  11. http://www.radioolindaam.com.br said, on February 21, 2013 at 7:14 am

    Hi there to all, the contents existing at this web page
    are in fact amazing for people knowledge, well, keep up the nice work fellows.

  12. Jamaal said, on March 16, 2013 at 3:38 am

    Really no matter if someone doesn’t know after that its up to other people that they will assist, so here it takes place.

  13. cold calling resume said, on April 21, 2013 at 2:03 am

    Hi there, the whole thing is going well here and ofcourse every one is sharing facts,
    that’s in fact fine, keep up writing.

  14. http://hydra.vorticone.com said, on May 9, 2013 at 1:59 pm

    Nice answers in return of this matter with real arguments and telling
    all concerning that.

  15. diet products said, on June 22, 2013 at 10:36 am

    I am sure this article has touched all the internet visitors,
    its really really good paragraph on building up new website.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: