...

View Full Version : Installing Windows unattented.



Morgoth
04-21-2005, 04:50 PM
Hello,

I am trying to figure out if it is possible to make a copy of my Windows CD (any version of windows) and have it run the install with all the information it needs "built" into it.

Example: When the window pops up to ask for my CD-key it will either already be there and all I have to do is press "Next" or it will skip that question because it knows what the CD key is.

Thanks for your input,
Please reply if you don't understand, I will try to explain myself better.

JamieR
04-21-2005, 05:32 PM
I don't think it is possible, as I think Microsoft made the product-key thing bullet proof so that no one could tamper with it's code :eek:

Morgoth
04-21-2005, 06:04 PM
I figured it out. (Someone told me)

Go into your Windows CD (I used xp). Find this file, and extract to a temp folder.
CDROM:\SUPPORT\TOOLS\DEPLOY.CAB

Run the setupmgr.exe file, and when you create the unattend.bat & unattend.txt file, you then put these on your new copy of windows xp (make sure your cd is bootable still).

After that I get a littl bit lost, but seeing how there is a method of doing this, I could probibly google the rest of what I need to know.

Now I also found another problem.
The bat file uses the current computer's cdrom drive letter.
On this computer it is "J:" but if I want to install this cd on a different computer of my drive letter changes, I have to manually change the bat file and re-burn the cd.

So I will search for my answer in google when I get home, or maybe someone will read this post and help out. ;) :D

unattend.bat (EXAMPLE)


@rem SetupMgrTag
@echo off

rem
rem This is a SAMPLE batch script generated by the Setup Manager Wizard.
rem If this script is moved from the location where it was generated, it may have to be modified.
rem

set AnswerFile=.\unattend.txt
set SetupFiles=J:\i386

J:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%


unattend.txt (EXAMPLE)


;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1

[UserData]
ProductID=*removed*
FullName="My Name"
OrgName=""
ComputerName=TECH1

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

Crake
04-21-2005, 06:25 PM
well done...... :thumbsup: :D

JamieR
04-21-2005, 06:29 PM
Ah right, I learnt something :)

whackaxe
04-21-2005, 08:54 PM
sweet, but wouldn't that complicate the EULA process seeing as you don't read it?

JamieR
04-21-2005, 09:15 PM
sweet, but wouldn't that complicate the EULA process seeing as you don't read it?

I thought that in the first place......it might intefere with M$'s EULA regulations over installing etc :confused:

oracleguy
04-21-2005, 09:31 PM
No, they got that covered. In their documentation on using the winnt32 /unnatend command switch:


Using the /unattend command-line option to automate Setup affirms that you have read and accepted the End-User License Agreement (EULA) for Windows. Before using this command-line option to install Windows on behalf of an organization other than your own, you must confirm that the end user (whether an individual, or a single entity) has received, read, and accepted the terms of the Microsoft End-User License Agreement for Windows. OEMs may not specify this key on machines being sold to end users.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum