Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post

    Installing Windows unattented.

    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.

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    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

  • #3
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    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.

    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

  • #4
    Regular Coder Crake's Avatar
    Join Date
    Dec 2004
    Location
    Loose, Maidstone, KENT
    Posts
    577
    Thanks
    0
    Thanked 3 Times in 3 Posts
    well done......
    SteveO

  • #5
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Ah right, I learnt something

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sweet, but wouldn't that complicate the EULA process seeing as you don't read it?
    photoshop too expensive? use the GIMP! www.gimp.org

  • #7
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by whackaxe
    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

  • #8
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •