To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
Home | News | Reviews | Special Reports | Editorials | Forums | Compare Prices | Camera Reviews

Your source for in-depth computer hardware info

http://hardwarecentral.com/
Go Back   HardwareCentral Forums > General Forums > General Tech Talk and Support

General Tech Talk and Support Discuss cool technologies and products or ask fellow members for help with problems.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old January 7th, 2003, 11:00 PM
wrathchild_67's Avatar
wrathchild_67 wrathchild_67 is offline
Hidden Member
 
Join Date: Nov 2000
Location: Connecticut
Posts: 6,461
Lightbulb DIY: Fully unattended installs of Windows 2000 and Windows XP

Now that we can have "sticky" threads, I hope a mod comes along and does so. (Hint hint Shinma)

This procedure can be used for Windows 2000 Professional, Server, Advanced Server, Datacenter Server, Windows XP Home, Professional, Digital Media Center and probably the beta Windows .NET Server 2003 and Longhorn floating around (but don't hold me to that).

I posted this information awhile back, before the bulletin board upgrade last year.
I have updated it a bit with what I've learned since then.
I originally learned about unattended installs of Windows 2000 and XP from HERE.
You can find my original thread on unattended installs HERE.
I'll be borrowing from my original post for some parts.
For a complete guide with all options explained, navigate to the \SUPPORT\TOOLS folder on your Win2k/XP CD and open the DEPLOY.CAB file (Win2k/XP should have native support for viewing .cab files,
if not,
You can use WinRar to open them).
For Win2k you want to read the unattend.doc
file in the .cab file and for WinXP extract the ref.chm file.

What you will need...
  • A CD or CD image of one of the operating systems listed above.
    Preferably slipstreamed with the latest Service Pack.
  • A text editor such as the built in Windows program, Notepad.exe.
  • A spare FAT32 partition/drive to save the i386 folder(s) to.
    It must be FAT32 if you want to install Windows 2000/XP in DOS from hard disk later.
  • C: (or whatever drive/partition you will be installing Win2k/XP to) formatted to FAT32.
    You will be able to convert it to NTFS optionally, during the unattended installation.
  • A bootable DOS floppy with CD-ROM drivers and SMARTDRV.EXE (the Windows 98 boot floppy works nicely).
    Or you could use a DOS boot CD based on the Windows 98/98SE floppy.
    I made such a CD awhile ago, but my hosting is gone (what happened to it, Fury?), so you'll have to email me if you want it- the zipped ISO is 894kB in size.
    You'll need CD burning software like AHEAD nero or roxio Easy CD Creator to burn the image after unzipping it.
    NOTE: DO NOT use the Windows ME boot floppy to install Windows 2000 from DOS. There is something that this particular boot floppy loads that prevents the Windows 2000 boot loader from altering the master boot record, and thus preventing it from installing. The Windows ME boot floppy is incompatible with DOS installs of Windows 98 and 2000, but works fine when installing Windows ME and XP from DOS.
  • Drivers for any SCSI or IDE expansion controllers you have your hard disks connected to.
    Windows will need these drivers, if it is to pass the early steps of installation and find a boot device.
    If you hard drives are connected to the motherboard's default IDE channels, then you don't need to worry about having drivers ready.
  • Some computer literacy and patience...

Unattended installation of Windows 2000

Pre-installation preparations will be done from within Windows- so don't format just yet!
The following directions are for installing Windows 2000/XP from hard drive starting in DOS.

1.) Preparing the installation files

Copy the i386 on your Win2000/XP CD to the spare FAT32 formatted drive.
If you're going to be making unattend.txt's for both Win2k and XP, then save the i386 folder under folders designating which OS they are for. For example, copy the Win2000 i386 folder under a folder named win2000 and follow suite for the the XP i386 folder. Do NOT rename the i386 folder(s).

2.) Creating the Windows 2000 unattend.txt answer file

Open your text editor of choice and paste this text:

[Data]
MsDosInitiated= 0
UnattendedInstall= YES

[GuiUnattended]
AdminPassword= *
AutoLogonAccountCreation=NO
OEMSkipRegional= 1
OEMSkipWelcome= 1
TimeZone= "035"

[SystemFileProtection]
SFCQuota= 0x01h

[Components]
;accessopt= off
;cdplayer= off
;chat= off
;cluster= off
;deskpaper= off
;dialer= off
;fp= off
;freecell= off
;hypertrm= off
;indexsrv_system= off
;media_clips= off
;media_utopia= off
;mplay= off
;minesweeper= off
;iis_common= off
;iisdbg= off
;iis_doc= off
;iis_ftp= off
;iis_htmla= off
;iis_inetmgr= off
;iis_nntp= off
;iis_nntp_docs= off
;iis_pwmgr= off
;iis_smtp= off
;iis_smtp_docs= off
;iis_www= off
;pinball= off
;reminst= off
;rstorage= off
;solitaire= off
;TSClients= off
;TSEnable= off
;vol=off

; [NetOptionalComponents]
; DHCPServer=1
; DNS=1
; NETMONTOOLS=1
; WINS=1
; IAS=1
; ILS=1
; Netcm=1

; [NetProtocols]
; MS_TCPIP = params.TCPIP
; [params.TCPIP]
; DefaultGateway = 0.0.0.0
; WINS= Yes
; MS_NetMon= params.NetMon
; [params.NetMon]

; [NetClients]
; MS_MSClient = params.MS_MSClient
; [params.MS_MSClient]

; [NetServices]
; MS_Server = params.MS_Server
; [params.MS_Server]

; [DCInstall]
; AdministratorPassword= xxxxx
; CreateOrJoin= Create
; DatabasePath= "D:\Domain Database"
; DomainNetBiosName= NetBIOS1
; LogPath= "C:\Domain Controller Logs"
; NewDomainDNSName= newdom.beastpounder.com
; ReplicaOrNewDomain= Domain
; TreeOrChild= Tree
; SysVolPath= "D:\Sysvol"

; [Fax]
; ArchiveFolderName= "C:\Fax\Out"
; RouteFolderName= "c:\Fax\In"

[Networking]
InstallDefaultComponents = YES

[Identification]
JoinWorkgroup= Workgroup
; JoinDomain= NEWDOM
; DomainAdmin= administrator
; DomainAdminPassword= xxxx

[RegionalSettings]
Language="00000409"
LanguageGroup="1"

[MassStorageDrivers]
"Win2000 Promise ULTRA100 TX2 (tm) Controller"="OEM"

[OEMBootFiles]
Ultra
ULTRA.CAT
Ultra.Sys
Ultra.INF
Txtsetup.oem

[UserData]
ComputerName="The POS"
FullName="Frank Rizzo"
ProductID="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
OrgName="Home"

; [LicenseFilePrintData]
; AutoMode = "PerServer"
; AutoUsers = "10"

[Unattended]
DriverSigningPolicy= Ignore
FileSystem= LeaveAlone
; FileSystem= ConvertNTFS
NtUpgrade= NO
OemPreinstall= YES
OemSkipEula= YES
Repartition= NO
TargetPath= *
UnattendMode= FullUnattended
UnattendSwitch= YES
WaitForReboot= NO
Win9xUpgrade= NO


Save as unattend.txt to the same directory/drive that i386 was copied to.
NOTE: Do NOT put unattend.txt into the i386 folder.

* This will install Windows to C: and assumes you're doing a clean install and NOT an upgrade from WinNT/9x.
Read the documents (unattend.doc) I mentioned above, for dual-booting, repartitioning, and upgrading from an older OS.

** If you do not have a SCSI card or IDE expansion card (or you do, but Windows already has native drivers for it),
Then delete the [MassStorageDrivers] and [OEMBootFiles] sections. Then set the OemPreinstall line in the [Unattended] section to NO.

***This unattend.txt has nearly every option available.
Most of the options with a semicolon in front are either: only applicable for Windows 2000 (Advanced/Datacenter) Server or are left inactive, so Windows installs the default components.
You can look at unattend.doc (mentioned above) to see what all of these options do and change them to your preference.
Remember, removing the semicolon in front of the line makes it active!



Useful info.
12345
__________________
My Guitar Hero 2 Xbox Live Ranking
Main Rig (click this link for specs)
Certified in: Nothing at all!
Certifiable: 100% hands-on, real-world experience

Last edited by wrathchild_67; January 7th, 2003 at 11:04 PM.
Reply With Quote
  #2  
Old January 7th, 2003, 11:03 PM
wrathchild_67's Avatar
wrathchild_67 wrathchild_67 is offline
Hidden Member
 
Join Date: Nov 2000
Location: Connecticut
Posts: 6,461
Unattended installation guide continued...

3.) Creating the Windows XP unattend.txt answer file

While very similar to the Win2000 unattend.txt file, there are some subtle differences.

Open your text editor of choice and paste this text:

[Data]
MsDosInitiated= 0
UnattendedInstall= YES

[GuiUnattended]
AdminPassword= *
OEMSkipRegional= 1
OEMSkipWelcome= 1
TimeZone= "035"

[SystemFileProtection]
SFCQuota= 0x01h

[Components]
;accessopt= off
;chat= off
;fax= off
;dialer= off
;freecell= off
;hearts= off
;hypertrm= off
;indexsrv_system= off
;media_clips= off
;media_utopia= off
;minesweeper= off
;pinball= off
;reminst= off
;rstorage= off
;solitaire= off
;msnexplr= off
;spider= off
;zonegames= off
;msmq_ADIntegrated= off
;msmq_Core= off

[Networking]
InstallDefaultComponents = YES

[Identification]
JoinWorkgroup= Workgroup

[RegionalSettings]
Language="00000409"
LanguageGroup="1"

[UserData]
ProductKey= "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
ComputerName="The POS"
FullName="The Egyptian Magician"
OrgName="Home"

[MassStorageDrivers]
"WinXP Promise ULTRA100 TX2 (tm) Controller"="OEM"

[OEMBootFiles]
Ultra
ULTRA.CAT
Ultra.Sys
Ultra.INF
Txtsetup.oem

[Unattended]
AutoActivate= NO
CrashDumpSetting= 0
DisableDynamicUpdates= YES
Hibernation=0
DriverSigningPolicy= Ignore
FileSystem= LeaveAlone
NtUpgrade= NO
OemPreinstall= YES
OemSkipEula= YES
Repartition= NO
TargetPath= *
UnattendMode= FullUnattended
UnattendSwitch= YES
WaitForReboot= NO
Win9xUpgrade= NO

[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 75


Save as unattend.txt to the same directory/drive i386 was copied to.
NOTE: Do not put unattend.txt into the i386 folder.


* This will install Windows to C: and assumes you're doing a clean install and not an upgrade from WinNT/9x/2k.
Read the documents (ref.chm) I mentioned above for dual-booting, repartitioning, and upgrading from an older OS. Ref.chm also lists and explains all options for unattend.txt.
Remember, the lines with semicolons in front are inactive.

** If you do not have a SCSI card or IDE expansion card (or you do, but Windows already has native drivers for it), then delete the [MassStorageDrivers] and [OEMBootFiles] sections. Then set the OemPreinstall line in the [Unattended] section to NO.

4.) Preparing the DOS installation

You should already have the bootable DOS floppy or CD-ROM with smartdrv.exe on it. Now, we're going to create a batch file for prepping the Win2k/XP installer executable (winnt.exe).
Open your text editor program and create a new document.
Paste the boldface text into it:

@ECHO OFF
format X: /q
Y:
CD I386
smartdrv.exe X+ Y+
WINNT /S:Y:\I386 /U:Y:\i386\UNATTEND.TXT


*Where X is the destination drive and Y is the drive where the i386 folder is located (both must be FAT32)
**/S specifies the location of the installation source
***/U specifies the location of the answer file- unattend.txt
****This is assuming that the destination drive is already formatted to FAT32. If not, you should be acquainted with FDISK or Partition Magic to do this as well as backing up any data on the destination drive before formatting.

Save this as win2k.bat or winxp.bat (depending on which OS you're doing this for) and save it to the same drive/partition the i386 folder was copied to.

Doin' it

Boot into DOS with your floppy/CD, navigate to the drive where you saved win2k(xp).bat and execute it from the command prompt.
Now just sit back and relax as Windows installs itself!

Optional Stuff

Installing Windows 2000 without Internet Explorer, Outlook Express, Netmeeting, etc...

Thanks goes to ol' man for finding and posting the link to this info and of course the original author of this info.
You need to have a slipstreamed Windows 2000 with Service Pack 3 CD to successfully complete this procedure. Note, it will work with non-Service Pack 3 integrated CD's but you will have problems accessing the Add/Remove Windows Components application- it will not work properly until you upgrade to SP3, and you will also get an error every time you boot about TXFAUX.DLL not being loaded.
If you don't have a slipstreamed CD or i386 folder on your hard drive, check out this thread.

Here's what you have to do.
Copy the i386 folder from the SP3 slipstreamed Windows 2000 CD to a partition or drive other than C: (if you plan to burn the end result, then copying to C: is fine, but you'll have to make a directory for the entire CD).
If you plan to do future installs of Windows 2000 from hard disk, then make sure the destination partition/drive is formatted to FAT32. Now, download this file (make sure you have a PROGRAM for decompressing zip files). Now extract all of the files in the archive you just downloaded to the i386 folder you copied to hard drive. Say "Yes to all" when it asks if you want to overwrite the files. And that's all you have to do if you're going to install Win2k from hard disk later using unattend.txt. If you want to burn a CD of the modified Windows 2000, then you can follow the slipstreaming guide from the link above (just skip to the part where it tells you how to make it bootable and then burn it). On my machine, I have a 5GB FAT32 partition where I keep the main folders for all of my operating systems (as well as any other programs I may need access to from DOS), for the easiest and fastest installation possible. Using this method, you can trim quite a bit of fat from the operating system. When I installed the modified Win2k, the total size it occupied was 414MB! That's not much larger than the default Windows 98SE installation size! I haven't encoutered any stability problems either. And checking the Event Log reveals only one error- it can't load Internet Explorer. But this doesn't interfere with anything and there is no nag prompt at bootup about it.

One thing to note is: you will not be able to access Windows Update anymore. Even though Windows Update is now a separate program instead of a link to a webpage (like it used to be before Service Pack 3), it still requires Internet Explorer to be installed to run. The solution? You can find all Windows 2000 related updates HERE in redistributable form. If you choose not to download any updates, I ask you to make one exception. Download the recently released patch which makes Win2k a little more tolerant of internet browsers besides Internet Explorer. You can get that patch HERE.

You can install Internet Explorer 6 later. This can often make the operating system, not to mention Internet Explorer 6, more stable. To download the full IE 6 SP1, check out Shinma's link HERE.

If you choose to burn the modified Win2k to CD...

Make sure you rename unattend.txt to winnt.sif and place it in the i386 folder before burning the CD (overwrite any previous winnt.sif if prompted). This will give you a Windows 2000 CD that can install itself completely unattended, but mind you, it will be much slower than installing straight from hard disk.

Win2000/XP: Adding drivers for your IDE expansion card or SCSI card (aka Mass Storage Controller) to Unattend.txt
NOTE: I only recommend doing this if Win2k/XP does not have built-in drivers for your card.

1.) In the i386 folder, create a new folder named $OEM$. Inside $OEM$ create a new folder called TEXTMODE.

2.) Copy the SCSI/IDE card drivers to the TEXTMODE folder (these drivers usually consist of an .inf, .sys, and sometimes a .cat file). There should also be a file called txtsetup.oem that came with the drivers. Copy txtsetup.oem to the TEXTMODE folder as well.

3.) Now we have to edit txtsetup.oem to remove references to subfolders. Open txtsetup.oem with a text editor. You will most likely have to choose a program to open the file with as it won't be recognized as a text file by Windows. Notepad and Wordpad will open the file fine.

4.) In the [disks] section, remove any references to the floppy drive or subfolders (names with a backslash), or any other paths. For example:

[disks]
d1 = "Windows 2000 Driver Set v1.00", \w2kdsk1, \win2000\ultra160\

becomes:

[disks]
d1 = "Windows 2000 Driver Set v1.00", w2kdsk1


5.) View this webpage to finish. Start reading at step 7. DO NOT follow Microsoft's directions up through step 6, they will leave the Windows installer unable to copy the drivers for your expansion card.

If you actually read all of this, you have a remarkable attention span!

Problems for anyone to tackle

1.) Leaving C: (or whatever drive you're installing Win2k/XP to) formatted to NTFS prior to a DOS install of Win2k/XP. The DOS boot floppy/CD won't see the drive, but will the Windows installer before it loads most of its GUI (i.e. within the first blue install screen)? That would make it much easier for someone who already has their C: formatted to NTFS and doesn't want to go through the hassle of reformatting just to do this procedure.
__________________
My Guitar Hero 2 Xbox Live Ranking
Main Rig (click this link for specs)
Certified in: Nothing at all!
Certifiable: 100% hands-on, real-world experience

Last edited by wrathchild_67; January 7th, 2003 at 11:05 PM.
Reply With Quote
  #3  
Old January 8th, 2003, 01:17 AM
wrathchild_67's Avatar
wrathchild_67 wrathchild_67 is offline
Hidden Member
 
Join Date: Nov 2000
Location: Connecticut
Posts: 6,461
Did someone edit my first post? There wasn't any red text when I originally posted it, nor were there any links to Nero or Roxio...???
__________________
My Guitar Hero 2 Xbox Live Ranking
Main Rig (click this link for specs)
Certified in: Nothing at all!
Certifiable: 100% hands-on, real-world experience
Reply With Quote
  #4  
Old January 8th, 2003, 01:22 AM
Shinma's Avatar
Shinma Shinma is offline
____________
 
Join Date: Mar 2000
Posts: 26,064
You sure? How many fingers am I holding up?
__________________
"I know nothing."
Cheers.
Reply With Quote
  #5  
Old January 8th, 2003, 12:31 PM
Ponch's Avatar
Ponch Ponch is offline
HWC Technician
 
Join Date: Dec 1999
Location: Bxl, Belgium
Posts: 1,361
Hi,
As I posted weeks ago (but no reaction), I had no error message using IEradicator before nor after SP3, but 2 problems remain:
-I still can't (but that's my fault ) find where to tel Mozilla to dial my ISP.
-After removing IE, all my system trays disappear (I can re-add the sound icon but it's gone when I restart), so I don't have any indication of Internet activity and can't end connection any other way than pulling the phone cable. Is that the case with this method too ?
__________________
Looking intelligent takes more than looking coool.
Reply With Quote
  #6  
Old January 8th, 2003, 01:36 PM
wrathchild_67's Avatar
wrathchild_67 wrathchild_67 is offline
Hidden Member
 
Join Date: Nov 2000
Location: Connecticut
Posts: 6,461
Shima, thanx for tweaking and stickying the post.
There weren't any members or mods (or so it seemed) browsing this forum when I noticed the changes (I actually caught you in the middle of them), so it seemed like they were just happenening out of nowhere!


I remember when I used IEradicator in Windows98 and it did the same thing you're talking about- removing quick launch and other small details (mostly the HTML based features in Win98). Those features were part of something called "Shell enhancements" that I assumed were associated with the embedded Internet Explorer. But I don't think this is the case in Windows 2000. While Win2k does have the Shell Enhancements feature, you can use the method above to remove Internet Explorer and still retain your toolbars and such. As for your dialup problem, I can't really help you there. It sounds like a problem with Mozilla not automatically dialing your default connection. Your dialup connection should be present in "Network and Dialup Connections" and it should be checked as default. I know when you use the method above to get rid of IE, the "Internet Options" cpl is still present in the Control Panel. So you could open it up, go to the "Connections" tab and make sure "Always Dial My Default Connection" is checked. Will Mozilla use this option? I don't know...
__________________
My Guitar Hero 2 Xbox Live Ranking
Main Rig (click this link for specs)
Certified in: Nothing at all!
Certifiable: 100% hands-on, real-world experience
Reply With Quote
  #7  
Old June 6th, 2006, 03:14 PM
Martinkop Martinkop is offline
Junior Member
 
Join Date: Jun 2006
Posts: 1
txtsetup.oem could not be found

I am trying to install W2K Server on an HP ML370 server. My unattend.txt and txtsetup.oem files are formatted just like your examples. When Setup boots off the C: drive for the first time, it stops with the above message.

The txtsetup.oem file is in 7 places on my C: drive:

\$oem$\textmode
\$oem$\$1\$WIN_NT$.~LS
\$oem$\$1\$WIN_NT$.~LS\cpqarray
\$oem$\$1\$WIN_NT$.~LS\cpq32ps2
\$oem$\$1\$WIN_NT$.~LS\cpqcissm
\$oem$\$1\$WIN_NT$.~LS\megaide
\$oem$\$1\$WIN_NT$.~LS\symmpi

It's also on the floppy in the A: drive (SETUP seems to spin the floppy at the same time it flashes the message).

I created and tested 2 custom W2K CDs

1. per info on the web (like your site)
2. per HP/Compaq's SmartStart instructions (which explains all the cpq dirs.)

If I run without an unattend.txt, I am allowed to "Press F6 to load SCSI drivers" from the floppy.

I am tantalizingly close, but no cigar for me.

TIA on this stale thread.

Martin
Reply With Quote
  #8  
Old June 6th, 2006, 06:27 PM
DanceMan's Avatar
DanceMan DanceMan is offline
Procrastinating Member
 
Join Date: Jun 2000
Location: Vancouver, B.C., Canada
Posts: 7,796
Currently it's much easier to simply use nLite (and there are others) to both slipstream and set up an unattended install.
__________________
Go Silent SPCR
Useful PSU info
Reply With Quote
  #9  
Old June 6th, 2006, 07:06 PM
krupted's Avatar
krupted krupted is offline
HWC Elite Member
 
Join Date: Jan 2002
Posts: 6,329
also currently wrathchild seems to be vanquished so the outlook of getting help from the guy who would really know seems bleak.

I do agree with danceman though, i used nlite to make my unattended xp disc and its a lifesaver. pop it in, walk away, come back to a desktop asking you to set up your screen res
Reply With Quote
  #10  
Old August 22nd, 2006, 09:33 PM
wrathchild_67's Avatar
wrathchild_67 wrathchild_67 is offline
Hidden Member
 
Join Date: Nov 2000
Location: Connecticut
Posts: 6,461
Sorry for the late reply, but nLite is now the way to go. When I wrote that guide, MSFN was a spot on the web and nothing more. Their guide didn't exist and everything in my guide above can be done easily in nLite. But it's nice to know exactly what nLite does behind the scenes.
__________________
My Guitar Hero 2 Xbox Live Ranking
Main Rig (click this link for specs)
Certified in: Nothing at all!
Certifiable: 100% hands-on, real-world experience
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:35 AM.






Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.