Search the Community
Showing results for tags 'Sysprep'.
Found 1 result
It doesn't seem that I can run Sysprep in Windows 8 RP x64 using @ComSpec. I have no problem running other apps using either Run() or RunWait() in the same app. I am testing in Audit Mode (Administrator account, UAC is disabled). I already searched the forums and didn't find any one else trying to execute Sysprep like this... This does not work when run compiled: Run ( @ComSpec & " /c c:\windows\system32\sysprep\sysprep.exe /oobe /shutdown") Returns error "is not recognized as an internal or external command, operable program or batch file." I don't know how to keep the ComSpec window open, so the only way for me to see this was to hold down the Enter key so I could see the error. Curiously, running this manually works fine: cmd.exe /c c:\windows\system32\sysprep\sysprep.exe /oobe /shutdown App is compiled for x86. OH! Do not try to run this on your workstation!!!