Add stsadm.exe to default system paths: make your system able to execute stsadm no matter what folder you are in.
Go to Control panel > System > Advanced system setings
Under “System Variables” click Path (You will need to scroll down a bit – see the image attached). Click edit. At the end of the line add:
;C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN
I was at my friend Jose Antonio Morales the other day. He had the same problem. Usualy he was solving this problem by just copying the stsadm.exe file to c:\ and than run all commands from there. But the problem with this approach is that the stsadm.exe in c:\ does not get updated, so he could not use the stsamd -o rename function.
I created a new SharePoint Site Colletction www.domain.com but I could not sign-in. The most weird was I could sing in from my other machine. Than I figured out there might be an issue on local machine where the Site Collection was residing.
I googled a bit and found the solution quite soon: http://www.sharepointdev.net/sharepoint–setup-upgrade-administration-operation/login-prompt-for-site-collection-1135.shtml
I had to disable the loopbackcheck. Here is how Chris Caravajal is describing it:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.