Solved

Install Windows XP Pro SP1 unattended (winnt32) including dynamic updates and integrate with SP2

Posted on 2004-09-23
3
822 Views
Last Modified: 2008-02-01
Hi

I need some information on how to do the following. I wanna install Windows XP Pro SP1 unattended (winnt32) including dynamic updates and integrate with SP2. The whole installation should be done over the network, connecting to Share folders, but the most important is install Windows XP Pro SP1 unattended integrated with SP2. I believe that dynamic updates can still be included in the unattended answer file. All dynamic updates will be downloaded and the share folders will be prepared. One question though if I integrate SP2 in the unattended installation is it still a good idea to use dynamic updates with the unattended installation as well?

Thanx
Uvongo
0
Comment
Question by:012Uvongo
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Longbow earned 500 total points
ID: 12131930
Create a new distribution folder (XPsp2dst)
Copy the i386 folder + his content in XPsp2dst from your XPSP1 CD
Again in this folder create an $OEM$ folder
Then create a $1 folder in $OEM
You will have :
C:\XPsp2dst\i386
C:\XPsp2dst\$OEM
C:\XPsp2dst\$OE$\$1

At the end of this message you will find "--- unattend.txt ---"
 and "--- cmdlines.txt ---"
Put unattend.txt in C:\XPsp2dst\i386
Put cmdlines.txt in C:\XPsp2dst\$OEM$

To streamline the service pack 2 (SP2 integration):
 - Extract it in an empty temp folder :
   sp2.exe /x:c:\temp\sp2
 - Streamline the sp2 to the existing XPsp2dst folder :
   c:\temp\sp2\update\update.exe -s:C:\XPsp2dst
Now your i386 folder is ready to be uninstalled.

You need to modify unattend.txt and cmdlines.txt
We will check this later.

To install XP you need to use a bootable Lanman floppy and connect to the share XPsp2dst
Considering this share exists type
 net use S: \\server\XPsp2dst (enter)
 S: (enter)
Type the next command to run the installation
S:\i386\winnt.exe /s:\XPsp2dst\i386 /u:unattend.txt

And voila for the minimal installation.

To find informations about unattend mode and SP2 check this site and download the package:
http://www.microsoft.com/downloads/details.aspx?familyid=3E90DC91-AC56-4665-949B-BEDA3080E0F

6&displaylang=en
Or you will find a deploy.cab on your XP CD.
Ref.chm can help you to have a configuration for your needs.


Here an unattend wich runs with SP1
You need to replace all XXXXX (five X) with your settings.
Lines beginning by ; (semi-column) are just comments.
The brackets and the values are to be deleted. Take them for examples.

--------------- unattend.txt ---------------

;SetupMgrTag

[Components]
    accessopt=Off
    deskpaper=Off
    dialer=Off
    freecell=Off
    hearts=Off
    hypertrm=Off
    media_clips=Off
    minesweeper=Off
    mousepoint=Off
    mplay=Off
    msnexplr=Off
    netcis=On
    netoc=Off
    pinball=Off
    reminst=On
    rstorage=On
    solitaire=Off
    wms=Off
    zonegames=Off

[Data]
    AutoPartition=0
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Display]
    BitsPerPel=XXXXX [32]
    Xresolution=XXXXX [800]
    YResolution=XXXXX [600]
    Vrefresh=XXXXX [70]

[GuiRunOnce]
    Command0="%Systemdrive%\UNATTEND\CURRUSER\IE6CFG.EXE"
    Command1="%Systemdrive%\UNATTEND\CURRUSER\DESKTOP.EXE"
    Command2="%Systemdrive%\UNATTEND\CURRUSER\TEMP.EXE"

[GuiUnattended]
    AdminPassword="XXXXX"
    EncryptedAdminPassword=NO
    AutoLogon=Yes
    AutoLogonCount=2
    OEMSkipRegional=1
    TimeZone=XXXXX
    OemSkipWelcome=1

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes

[RegionalSettings]
    LanguageGroup=1
    SystemLocale=XXXXX [0000080c]
    UserLocale=XXXXX [0000080c]
    InputLocale=XXXXX [080c:0000080c]

[TapiLocation]
    CountryCode=XXXXX [32]
    Dialing=Tone
    AreaCode=XXXXX [02]

[UserData]
    ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName="XXXXX"
    OrgName="XXXXX"
    ComputerName=XXXXX

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=Yes
    OemFilesPath="..\$oem$"
    TargetPath=XXXXX [WinXP]
    Filesystem=LeaveAlone
    Repartition=No
    UnattendSwitch=Yes
    WaitForReboot=No
    Hibernation=no

--------------- End of unattend.txt ---------------

Sorry for the cmdlines.txt. We talk about it later.
It allows you to install Security updates and softwares.

For a better knowledge you can study the .chm files from deploy.cab on your CD
 and find good informations from internet search engines searching for "unattend" and

"deploy"

Have a good work.
0
 
LVL 10

Expert Comment

by:Longbow
ID: 12131933
Do not use the commands under [GuiRunOnce]
0
 
LVL 1

Author Comment

by:012Uvongo
ID: 12215403
Thanx for the information. However I first would like to test the unattended installations of Windows XP SP1 over the network using winnt32 (Computer already running windows NT4) including Automatic Updates over the network. The second phase will be to do a Unattended installation together with SP2 running winnt32
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now