Jump to content

Unattended w2003 R2 problem


Recommended Posts

Of course, Microsoft had to add another annoying wizard during the Windows installation. :(

How can I get rid of the "post setup security whatever" dialog that pops up? I need to click Finish before the server accepts incoming requests, thus making my unattended setup into an attended nightmare. I'm sure there is a switch to put into unattend.txt to disable this wizard but I can't find it.

All suggestions are appreciated. :)

Link to comment
Share on other sites

  • 4 weeks later...

You shouldnt have to worry about this if your opening ports during setup... read this technet article:

http://technet2.microsoft.com/WindowsServe...3.mspx?mfr=true

"Post-Setup Security Updates is a user interface that appears the first time an administrator logs onto the new server and provides links for you to apply updates to your server and to configure automatic updates. Post-Setup Security Updates also informs the administrator that all inbound connections other than those specifically opened during setup or by policy settings, were blocked. If the administrator set exceptions to the firewall through Group Policy or by an unattended setup script, inbound connections assigned to these exceptions remain open."

Edited by clarkbox
Link to comment
Share on other sites

RunOnceEx.BAT

@ECHO OFFF

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WIN51IS.SP1 SET CD-ROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Please wait..." /f

REG ADD %KEY%05 /VE /D "Copying i386" /f
REG ADD %KEY%05 /V 1 /D "%CD-ROM%\APPS\i386.bat" /f

REG ADD %KEY%10 /VE /D "Installing R2 Components" /f
REG ADD %KEY%10 /V 1 /D "%CD-ROM%\R2\setup2.exe /q /a /cs /sr" /f

REG ADD %KEY%20 /VE /D "Internet Explorer 7" /f
REG ADD %KEY%20 /V 1 /D "%CD-ROM%\APPS\IE7.exe /quiet /update-no /norestart" /f
REG ADD %KEY%20 /V 2 /D "%CD-ROM%\APPS\WindowsServer2003-KB929969-x86-ENU.exe /quiet /norestart" /f

REG ADD %KEY%\500 /VE /D "Restarting..." /f
REG ADD %KEY%\500 /V 1 /D "shutdown -r -f -t 30 -c \"System will restart in 30 seconds...\"" /f

i386.BAT

@ECHO OFF

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

REG ADD %KEY% /V ServicePackSourcePath /t REG_SZ /d %SYSTEMROOT%\system32\ /f
REG ADD %KEY% /V SourcePath /t REG_SZ /d %SYSTEMROOT%\system32\ /f

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WIN51IS.SP1 SET CD-ROM=%%i:

XCOPY %CD-ROM%\i386 %SYSTEMROOT%\System32\i386 /E /V /I /H /Y

DEL %SYSTEMROOT%\System32\i386\WINNT.SIF /F /Q

EXIT

Copy R2 Folder from the second CD to first CD. Delete NETFX.EXE. Delete LANG, *UPG & *MIG folder from the first CD. It will fit in one CD and you have a complete working Windows Server 2003 R2 system unattended!!!

Edited by easyindian
Link to comment
Share on other sites

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...