Installing XP
Installing and Configuring Windows XP
Contents
Attended installation: can be run from CD or network share. Attended implies that you are sitting at the computer answering the questions! From Win98/Me process prompts for productID, checks for dynamic updates, then lets you check hardware only or programs too. Dynamic updates includes service packs, updated drivers, program upgrade packs. Choose NTFS filesystem to get support for encryption, compression, quotas, and security.
Preparation
Top Bottom- check hardware and applications for compatibility (See HCL at http://www.microsoft.com/whdc/hcl/default.mspx)
- Keep BIOS up to date. Set 'Non-PnP OS' (PnP OS was designed for earlier PnP operating systems)
- Check HDD space available (2GB recommended)
- gather network details
- backup data
- disable antivirus software and disk utilities
Requirements
Top Bottom- PC with 300 MHz or higher processor clock speed recommended; 233 MHz minimum required (single or dual processor system); Intel Pentium/Celeron family, or AMD K6/Athlon/Duron family, or compatible processor recommended
- 128 MB of RAM or higher recommended (64 MB minimum supported; may limit performance and some features)
- 1.5 gigabytes (GB) of available hard disk space*
- Super VGA (800 x 600) or higher-resolution video adapter and monitor
- CD-ROM or DVD drive
- Keyboard and Microsoft Mouse or compatible pointing device
- For Internet access:
- Some Internet functionality may require Internet access, a Microsoft .NET Passport account, and payment of a separate fee to a service provider; local and/or long-distance telephone toll charges may apply
- 14.4 kilobits per second (Kbps) or higher-speed modem
- For networking:
- Network adapter appropriate for the type of local-area, wide-area, wireless, or home network you wish to connect to, and access to an appropriate network infrastructure; access to third-party networks may require additional charges
- For instant messaging, voice and videoconferencing, and application sharing, both parties need:
- Microsoft .NET Passport account and Internet access or Microsoft Exchange 2000 Server instant messaging account and network access (some configurations may require download of additional components)
- For voice and videoconferencing, both parties also need:
- 33.6 Kbps or higher-speed modem, or a network connection
- Microphone and sound card with speakers or headset
- For videoconferencing, both parties also need:
- Video conferencing camera
- For application sharing, both parties also need:
- 33.6 Kbps or higher-speed modem, or a network connection
- For remote assistance:
- Both parties must be running Windows XP and be connected by a network
- For remote desktop:
- A Windows 95 or later-based computer, and the two machines must be connected by a network
- For sound:
- Sound card and speakers or headphones
- For DVD video playback:
- DVD drive and DVD decoder card or DVD decoder software
- 8 MB of video RAM
- For Windows Movie Maker:
- Video capture feature requires appropriate digital or analogue video capture device
- 400 MHz or higher processor for digital video camera capture
* Actual requirements will vary based on your system configuration and the applications and features you choose to install. Additional available hard disk space may be required if you are installing over a network.
Clean Install
Top BottomCan be done from within earlier version of windows or by booting from CD. Process:
- File Copying
- Text mode setup (will offer to repair existing installations if they exist, then select/delete/create partition)
- GUI mode setup
- Windows welcome
- Install any available service packs
Clean Install - Boot From CD:
- Setup Inspecting your computer
- F6 to Load Additional Drivers
- press F2 for ASR recovery
- Welcome to Setup
- press enter to continue
- press R to repair
- press F3 to quit
- Licence Agreement
- Partition setup
- To setup on highlighted partition press Enter
- Press C to create a partition
- Press D to delete selected partition
- Format Partition
- Check partition
- File Copy
- Restart Computer
- Graphic Mode
- (Dynamic Update Complete)
- Preparing Installation
- Installing Devices
- Regional Settings
- Enter Name and Organisation
- Product Key
- Computer Name and Administrator Password
- Adjust Date and Time
- Installing Network
- typical settings or custom
- workgroup or domain
- copy files
- Install Start Menu
- Register components
- Installing Windows
- Saving Settings
- Restart
- Automatically Adjust Screen Resolution
- Welcome To Windows
- Check for Internet Connectivity
- Choose LAN or Dialup
- Choose IP configuration
- Optional Register
- Add users
- Congratulations
- Welcome Screen
- Tour Windows
Upgrade
Top BottomRun the Windows XP upgrade advisor to check system compatibility from autorun menu or 'd:\i386\winnt32 -checkupgradeonly'. Setup preserves most settings and installed programs. Boot existing OS and run install: don't boot from CD. Direct upgrade available for Win98/Me, NT4 SP6, Win2000 and XP Home (check hardware drivers are available). You may want to run a disk scan, antivirus check, defrag and backup first. Afterwards:
- reset passwords for migrated accounts (old passwords discarded)
- run network setup wizard to setup File Sharing and ICF. Old network settings should be preserved
- Check programs and devices are working
- use convert to change FAT32 to NTFS
- set admin password
Laptops without integrated CD: boot with 98 boot disk, run smartdrive and start winnt.exe. or Copy i386 folder to blank partition, use 98 boot disk, run winnt.
%windir% = windows on clean install, or previous value on upgrade
Setup errors that are caused after text mode, are usually caused by incompatible disk drivers (download a compatible driver and start again)
Multiboot
Top BottomChoose FAT32 only if you plan to dual-boot with Win95/98/Me or NT4 SP3. Dual boot, install to a new partition only. Allows only one copy of 95/98/Me, but multiple NT/2000/XP. Use 3rd party boot-manager if more required. Tip: install XP on same partition, different folder if you need to recover data from a crashed, single-partition install.
- Boot existing OS
- Insert CD and choose 'new install (Advanced)
- Click 'advanced' option in succeeding dialogue and choose 'I want to choose the install drive letter and partition during setup'
- Choose partition during text mode
Winnt32exe Switches
Top Bottom- /checkupgradeonly
- /cmd:command_line specifies a command to run post GUI model
- /cmdcons add recovery console
- /copydir:folder_name copies specified folder to %windir%\folder_name for later use
- /copysource:folder_name creates temporary subfolder which is deleted when setup finishes
- /noreboot: eliminates forced reboot after file copy phase
- /s:sourcepath specify location of setup files (can be unc also)
- /syspart:driveletter copy setup files to a hard disk, mark it as active, move to another machine and continue setup
- /tempdrive:driveletter used with syspart to specify primary partition to store setup files and installing a new copy of XP. Upgrades place XP on partition from which winnt is run
- /udf:ID [,UDB_file] db file for automated install
- /u or /unattend[seconds][:answer_file]
- /debug[0-4]:[filename]: creates debug log, defaults to %systemroot%\winnt32.log, log level 2
- /dudisable: disables dynamic updates
- /duprepare:path: used to add dynamic updates to an installation share
- /dushare:path: use dynamic updates added to an installation share
- /m:foldername: copy replacement files from an alternate location
- /makelocalsource: copy files from installation media to disk
Automated Setup
Top Bottom- unattended mode (can be used on varying hardware, Must be local admin to run fully automated install)
- disk imaging (requires sane HAL, disks and controllers)
- RIS (requires same HAL, but plug and play handles other devices)
- SMS
Deployment Tools on CD \support\tools\deploy.cab
- setupmgr.exe to create answer files
- sysprep.exe to create disk images
- setupcl.exe used by sysprep to create SID
- deploy.chm deployment user guides
- ref.chm reference file
- cvtarea, oformat, factory: used by OEMs
Setup Manager
Top Bottomsetupmgr.exe available from the support tools on the XP CD
setupmgr lets you decide
- user interaction level (provide defaults, fully automated, hide pages, Read Only, GUI Attended)
- distribution folder (create or modify a distribution folder)
- computer names. Edit batch file to include /udf switch and udf files
- can encrypt local admin password (doesn't encrypt domain admin password)
Use descriptive names instead of unattend.txt: e.g. dell.txt, compaq.txt. Modify unattend.txt with either setupmgr or manually. 'Win9xUpgrade = Yes' switch in unattend section, to upgrade using a different partition
Unattended install
d:\i386\winnt32 /unattend:a:\unattend.txt
or for a clean install save answer file as winnt.sif
Simple Automation
- Install XP on one computer
- install deployment tools
- create answer files
- (optional) create distribution folder
- copy answer file, batch file and udf file to floppy
- run batch file on each computer from floppy or distribution folder
Distribution folders can be updated with service packs if required. You can run the update.exe file with the /slip switch
RIS
Top BottomUses AD, DNS and DHCP to install to machines that support PXE Boot (PXE: Pre-boot eXecution Environment). Network card should be PXE compliant or you can use a RIS boot disk. Boot Information Negotiation Layer (BINL) extensions to DHCP used to direct client to RIS server. TFTP used to transfer images to client during install. Once you install RIS from Add/Remove components, run RIsetup.exe to configure it. RemoteInstall folder containing images must be on an NTFS drive. RIS server must be authorised via DHCP console and select 'respond to clients' on RIS tab of sysdm.cpl. RIS boot disk supports a limited set of network cards and is created by running RBFG.exe. Remote Installation services places remboot.sif in image directory at i386\templates. Multiple sif files can be used to vary installations. Use AD Users and Computers to associate the sif file with the OS Image from the Remote Install tab of the RIS Server. Automated installs, e.g. RIS or unattended assume you are using CALs to install licences. You can use Group Policy to ensure that clients get the correct images.
RIprep
Top BottomRIprep allows you to create images of PCs with applications preinstalled. Machines must use same HAL, but plug and play will handle differences in plug and play devices. Once system is installed, connect to RIS server and run "file://servername/risshare/admin/i386/riprep.exe"
Sysprep
Top BottomRemoves machine-specific information to create an image for use with third party imaging software. Requires identical hard drives, controllers and HAL. Image is burnt to client, hence it is for clean installs only. Requires volume licensing to work, but be aware that application software licences need to be covered also. setup.cl handles mini-setup and SID generation, ensuring machine uniqueness.
Sysprep restrictions:
- identical drive controllers, HALs, BIOS versions required
- 3rd party disk duplicator required, e.g. GHOST, DriveImage or a disk-duplicating device
- target hard disk must be as big as master disk
- master computer must be clean with no accounts, profiles or encrypted data
Using Sysprep:
- Install XP on master
- logon as admin
- customise computer and install apps
- create sysprep folder, extract sysprep and setup.cl
- run sysprep: machine will shut itself down
- duplicate hard disk
- start client PC with duplicate disk
- PnP detection
- Windows Welcome
- Deletion of sysprep folder
- PC reboots
Can be combined with an answer file. Use 'Sysprep install' to create answer file. File should be named sysprep.inf (or more exactly *.inf) and placed in sysprep folder. sysprep options: /nosidgen, /quiet, /pnp, /reboot.
Troubleshooting Setup
Top Bottom- hardware incompatibilities not spotted by compatibility wizard
- trouble with CDROM drives
- If system locks up, just reboot
- Check Video adapter compatibility
- check the setup logs: Actions log, %systemroot%\setupact.log and ; Errors log, %systemroot%\setuperr.log
