Caycep Posted November 25, 2004 Posted November 25, 2004 I've just spent 45 minutes looking through the forum and cannot find out 100% how the following can be done:After an unattended install is complete, how can I get sysprep to run with a factory reseal.Here's what I have up this this point:Under Runonce.cmd:@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /fREG ADD %KEY%\053 /V 1 /D "%CDROM%\Software\NetFramework\netfxsp1.exe" /fREG ADD %KEY%\030 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /fREG ADD %KEY%\125 /VE /D "Sysprep Resealing and Shutdown" /fREG ADD %KEY%\125 /V 1 /D "%CDROM%\Software\sysprep\sysprep.cmd" /fEXITThen under sysprep.cmd I have:cmdow @ /HIDsysprep -reseal -rebootEXITIt's not working. Can anyone tell me exactly how I can run sysprep from the unattended install CD and have it go into reseal so the user DOES have to enter in the product key, name etc.Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now