0

in SharePoint 2007 command prompt at this location: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\

I type this command to migrate user from one domain to another like:

stsadm -migrateuser -oldlogin ABC\52339 -newlogin DEF\52339

I got "Access denied" message. Why is that?

2
  • which account you are using to run stsadm? you should use administrator account Nov 24, 2014 at 14:04
  • Also make sure to run the command prompt with 'run as administrator' if UAC is enabled Nov 24, 2014 at 18:49

1 Answer 1

0
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN\stsadm.exe" -o migrateuser -oldlogin "i:0#.w|domainname\personName " -newlogin "i:0#.w domainname\personName" –ignoresidhistory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.