Jump to content

Recommended Posts

Posted

I've been using the following cmd file to install the command console from

CD without any problems. I modidied it to install over a network. During

installation an error window pops up. when I click on OK the install continues

with no problem. I type winnt32.exe /? at a command prompt but not sure what

they mean by anvanced options. How can I get rid of this so its unattended?

cmdow @ /HID
@ECHO OFF

REM for %%i in (D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: X: Y: Z:) do if exist %%i\win51 set CDROM=%%i
net use i: \\jimscomp\windist /USER:jim **********
ECHO Please wait, Recovery Console is being installed locally.
i:\i386\winnt32.exe /dudisable /cmdcons /unattend
md %systemroot%\Source\i386
ECHO Please wait, source files are being copied.  This may take several minutes.
xcopy /Y /E /H i:\i386\*.* %systemroot%\Source\i386\
xcopy /Y /E /F /C /R /H i:\i386\*.sys %systemdrive%\cmdcons\
ECHO Adding registry entries.

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "SourcePath" /t REG_SZ /d "%systemroot%\\Source\\" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup" /v "ServicePackSourcePath" /t REG_SZ /d "%systemroot%\\Source\\" /f

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SecurityLevel" /v "ValueType" /t REG_DWORD /d 00000004 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SecurityLevel" /v "DisplayType" /t REG_DWORD /d 00000000 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SecurityLevel" /v "DisplayName" /t REG_SZ /d "Recovery console: Allow automatic administrative logon" /f

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SetCommand" /v "ValueType /t REG_DWORD /d 00000004 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SetCommand" /v "DisplayType" /t REG_DWORD /d 00000000 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Setup/RecoveryConsole/SetCommand" /v "DisplayName"/t REG_SZ  /d "Recovery console: Allow floppy copy and access to all drives and all folders" /f

ECHO Done.
EXIT


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...