Link to home
Start Free TrialLog in
Avatar of JeffBeall
JeffBeallFlag for United States of America

asked on

windows 7 User State Migration tool

hello,
At work we are running windows 7 enterprise. the other day I was experimenting with USMT ( user state migration tool ) and was surprised at how easy it is. I got the software from the automated installation kit, and ran this on a computer I am transferring data from
scanstate \\servershare\migration  /i:migdocs.xml /i:migapp.xml /v:13 /l:scan.log
then on the target pc I ran
loadstate \\servershare\migration /i:migdocs.xml /i:migapp.xml /lac /lae /v:13 /l:"C:migrate\migrate.log"
and it worked great! Then I thought that since this is being run from an elevated command prompt, I should be able to run it with psexec. I want to run it with psexec because I have a computer I need to upgrade, and the user hasn't gotten back to me yet. So in the meantime I could run scanstate and the loadstate on the computer I would be upgrading her to. Then, when she gets back to me, all I have to do is swap the computers. However, when I tried this it keep getting errors, even though I'm using the same commands.
Is there some reason scanstate doesn't run when using psexec?
or maybe a better question is, has anyone tried successfully to run scanstate using psexec?
SOLUTION
Avatar of Flipp
Flipp
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JeffBeall

ASKER

Thank you for the help. Guess what happened! I looked at the logs, and found a bunch of registry hives that where saying access denied. No matter if I was running as admin or with the -s switch. So on a hunch I tried psloggedon and found that the use was logged in! I logged her out, and scanstate worked.