Jump to content

Windows 2000 Professional Unattended


eggy524

Recommended Posts


  • 2 weeks later...

With Windows 2000 - I have had no joy with CMDLINES.TXT and RunOnceEx.cmd as per the XP Unattended Guide - has anyone else? The keys should be the same - but do not appear to run or even start - just ignored!

I'd rather not go back to batch files...

Link to comment
Share on other sites

You have to copy the REG.exe that isn't integrate to windows 2000.

Copy it to $OEM$\$$\System32

This is the content of mine:

cmdow.exe   --> to hide black screen of batch;)
gdiplus.dll  --> to run xp screensaver
oeminfo.ini  --> IT contact
oemlogo.bmp  --> My corporate logo
reg.exe     -->  must have for RunOnceEx.cmd on w2K
Shutdown.exe -->  to reboot after install of appz
ssmypics.scr  --> xp screensaver

the xp register and 2K are 98% the same (except for msn dummy shortcut, and the default security holeS)

Link to comment
Share on other sites

with a little tinkering - I found this topic (UpdateXP 2.0) which has a superb 'utility' called UpdateXP which together with QCHAIN installs all Type 1 and type 2 hotfixes that are placed in the corresponding folders. Although this utility was designed for XP (hence the name!) - I have used this for Windows 2000 Unattended.

Works a treat (with the ONLY exception being the MDAC update which needs its own entry in RunOnceEx.cmd after the other Post SP4 hotfixes are applied)

Any future hotfixes can then simply be copied into either Type1 or Type2 folder with no further coding (as fully explained in the Word Readme document downloaded with the UpdateXP utility from the above topic)

I have used this method and now can have a fully patched/updated Windows 2000 Professional installation in little under 40 minutes! :thumbup

Thanks again to MrJ!m for pointing out my initial stumbling block (REG.EXE)! :thumbup

IE6 Tip - I install IE6SP1 using a call from CMDLINES.TXT

[Commands]
"INSTALL_IE6.CMD"
"REGEDIT /S regtweaks.reg"
"RunOnceEx.cmd"

INSTALL_IE6.CMD

@ECHO Installing IE 6.0 SP1
C:\INSTALL\IE6\IE6SETUP.EXE /Q:A /R:N

so IE6 is installed before the first reboot, so when RunOnceEx.cmd is parsed and running after the 1st reboot - Media player etc will install without whinging that IE6 needs to be installed (IE's own RunOnceEx entries are also 'added' to my list so use a high number - such as 900 for the cleanup call)

RunOnceEx.cmd

cmdow @ /HID
@Echo Off

rem PP=

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\001 /VE /D "Microsoft DirectX 9c" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\DX9C\dxsetup.exe /silent" /f


REG ADD %KEY%\002 /VE /D "Adobe Reader 6.0.2 CE Full" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\Applications\Adobe602\AR602CE.MSI /qb" /f


REG ADD %KEY%\003 /VE /D "Microsoft RDP Client v6 (2003)" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\RDP\MSRDPCLI.MSI /qb" /f


REG ADD %KEY%\004 /VE /D "Microsoft Java VM (Build 3810)" /f
REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\JavaVM\MSJAVA_FULL.EXE" /f

REG ADD %KEY%\005 /VE /D "Microsoft .NET Framework v1.1 SP1" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\NetFramework\netfxsp1.exe" /f

REG ADD %KEY%\008 /VE /D "Symantec Anti-Virus Corporate 9.0" /f
REG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\Applications\sav\SAV.MSI ADDLOCAL=SAVMain,SAVUI,SAVHelp,EMailTools,OutlookSnapin,Pop3Smtp ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=ReallySuppress /qb" /f

REG ADD %KEY%\010 /VE /D "WinRAR Corporate Edition 3.20" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\WinRAR\WRAR320.EXE" /f

REG ADD %KEY%\016 /VE /D "Windows Media Player 9" /f
REG ADD %KEY%\016 /V 1 /D "%systemdrive%\install\WMP9\MPSetup.exe /Q:A /R:N" /f

REG ADD %KEY%\900 /VE /D "Installing Post SP4 Hotfixes" /f
REG ADD %KEY%\900 /V 1 /D "%systemdrive%\install\UpdateXP.exe" /f

REG ADD %KEY%\905 /VE /D "MDAC Hotfix Q832483" /f
REG ADD %KEY%\905 /V 1 /D "%systemdrive%\install\OTHER\Q832483.CMD" /f


REG ADD %KEY%\990 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\990 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

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