A quick way to access STSADM is to set a Path for the 12 Hive's bin folder. Doing this, you can type "stsadm" at anytime in a command prompt window to access the operations it provides.
- Access Environment Variables
- Go to your server's System Properties
- RClick 'My Computer' > Properties
- Click Advanced tab
- Click Environment Variables button
- Go to your server's System Properties
- Select the variable Path in System Variables
- Click Edit button
- In the edit window, add the directory path for stsadm at the end. Make sure you add a semicolon before the path.
- C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\
- Click the OK button
- C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\
I'll typically do this on any MOSS server for ease of administration via command line. If you prefer a shortcut, check out another post: Shortcut to stsadm.exe. And if for some reason you just love using file explorer, you may like this post which details how to open a command prompt on any folder: GoToCommand - Open Command Prompt on any folder
- Dan Lewis
It worked for me 🙂
thank you