Hello everybody, I'm a helpdesk tech looking to expand his horizons and I've run into an issue that I'm having lots of trouble with.
I'm trying to modify a vb script that i found that will allow us to use microsoft's user state migration tool 4.0 along with psexec to automatically migrate a users profile from a windows xp machine to windows 7
This is the snippet of code that I
\\ttc01\userdata\usmt\PSTools\PsExec.exe \\pc-cgbmxb1 -s \\ttc01\userdata\usmt\x86\scanstate.exe c:\Temp\Migdata\lmesa\pc-cgbmxb1 /v:13 /i:\\ttc01\userdata\usmt\x86\Migapp.xml /i:\\ttc01\userdata\usmt\x86\MigDocs.xml /i:\\ttc01\userdata\usmt\x86\miguser.xml /progress:c:\Temp\MigData\lmesa\ScanStateProg.log /l:c:\Temp\MigData\lmesa\ScanState.log /ui:Nash\lmesa /c /vsc
This is the full line of code that is supposed to be exected on the target machine but I seem to be having an issue with just the first line:
\\ttc01\userdata\usmt\PSTools\PsExec.exe \\pc-cgbmxb1 -s \\ttc01\userdata\usmt\x86\scanstate.exe
basically psexec is not able to get to scanstate.exe and i believe this is because command prompts/dos will not see the scanstate.exe because it is using unc path
i know theres a way around this but I can't seem to find out
Please sign in to leave a comment.