Slashdot Mirror


Installing Windows with Recent Updates?

MoJo asks: "As a computer technician, I have to re-install Windows often. It takes three attempts to complete Windows Update (get latest update software, validate Windows, download updates). It seems like all this clicking could be scripted somehow, but I can find no-one who has found a way of reducing the whole painful affair to just one or two clicks." Is there a way to build a Windows installation CD that includes the most recent set of updates?

15 of 223 comments (clear)

  1. Are the systems identical? by eta526 · · Score: 5, Informative
    If all the hardware is the same, use Norton Ghost to create an image of the hard drive. Store this on an external drive or a network share and use this image on every computer. I did this for UMR (University of Missouri - Rolla) for the computer labs (over 900 computers), and it's really easy to pull down the old image, apply the new updates, and create a new "clean" image that can then be distributed to all the other systems.

    We used BartPE or a bootable DOS disk (if the DOS network drivers were available) to boot the computer onto something besides the hard drive in order to create or restore an image.

    If the hardware's different, you have to use Sysprep, but I haven't messed with that.

    1. Re:Are the systems identical? by toadlife · · Score: 4, Insightful

      "Even if you do have a license for each computer, as far as I know, there's no way to change the registration number of a Windows install once it's been installed and a ghost image has been made."

      Got sysprep?

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    2. Re:Are the systems identical? by RESPAWN · · Score: 4, Informative

      If the hardware's different, you have to use Sysprep, but I haven't messed with that.

      Actually, it's always a good idea to sysprep on XP since if you don't you'll end up with multiple computers on the network with the same SID. That really becomes a problem with AD since that's how it uniquely identifies all of the computers in the domain.

      --

      If Murphy's Law can go wrong, it will.

    3. Re:Are the systems identical? by RESPAWN · · Score: 4, Informative

      That doesn't sound very legal. Even if you do have a license for each computer, as far as I know, there's no way to change the registration number of a Windows install once it's been installed and a ghost image has been made.

      You've never heard of a volume license key (VLK) or of Microsoft's volume license program? The VLP version of XP (like the OEM versions) requires no online activation and uses different licence keys from the standard versions of XP. The CD-Key itself isn't your actual license to use Windows. It's merely one way of ensuring that the media was obtained legally. In the corporate world, you buy the VLP version of XP, and Microsoft emails you a CD key to use for all of your computers.

      Also, changing the CD key is trivial. You just run Sysprep (found on the Windows CD) and in the course of running it, Sysprep will ask you for a CD key. This is the same software that you should be running on the PC before you make your Ghost image of it if you plan to join it to a domain.

      Not to mention you then legally need a legit copy of Norton Ghost and everything else you might decide to include with it for every computer you install the image to. Although I have done zero research on the subject (Except that You'd need many licenses for Ghost), so this is all just assumption here.

      I'm a little hazy on the legalities of this as well. The way it's always been explained to me is that you need a licnece of Ghost to create an image. Also, if you're running the full-on Windows client, you will of course need a license for that. However, I've always been told that when restoring an image to a PC, it is legally permitted to use the DOS version of Ghost without a licence for that PC. Now whether or not that's true, I'm not sure. I've never bothered to read the licence documentation, instead trusting the word of my higher ups.

      --

      If Murphy's Law can go wrong, it will.

  2. MSFN's Unattended Windows Install CD by UnderScan · · Score: 4, Informative
    Its not that hard to use google. Do you realy want it that bad but are unwilling to search for it?
    MSFN's Unattended Windows : Introduction

    Have you ever wanted a Windows CD that would install Windows by automatically putting in your name, product key, timezone and regional settings? And have it merged with the latest Service Pack to save time? Followed by silently installing all your favourite applications along with DirectX 9.0c, .Net Framework 1.1 and then all the required hotfixes, updated drivers, registry tweaks, and a readily patched UXTheme.dll without any user interaction whatsoever? Then this guide will show you how you can do just that! Through the course of this guide, you will create a CD that does all the installing for you. The CD will be fully updated with the latest hotfixes, and install all your programs for you.

  3. Not just for servicepacks I might add by toadlife · · Score: 5, Informative

    Most of the pages you will get when you google "slipstreaming" will talk about slipstreaming service packs, but you can also slipstream individual hotfixes into windows installations. Also not that Microsoft makes avaiable for download ISO Images containing every windows critical and security update. If you really want to make a slimpstreamed install of Windows with every single hotfix possible, this will save you time searching and download the iduvidual updates.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  4. Nlite by October · · Score: 5, Informative

    Nlite is a great tool designed exactly for this. I've used it for several installs, and have created a CD that will install XPSP2 with hotfixes and all my drivers, and none of the extra crap that gets installed by default. It starts up in my LCD's native res, includes all my critical apps (firefox, etc.) right on the CD, and is completely unattended.

  5. RyanVM's update pack by Mitchell+Mebane · · Score: 5, Informative

    As others have mentioned, it is fairly easy to slipstream SP2 into an XP CD. But if you want to integrate the more recent updates, there's really only one option. RyanVM's Windows XP Post-SP2 Update Pack does exactly what you want and works like a charm. There are even third-party addon packs which let you add other interesting things to your XP install CD.

    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
  6. unattendend.msfn.org by duffbeer703 · · Score: 4, Informative

    This project describes how to do what you are talking about.

    If you use ghost images, just setup a baseline PC that uses automatic updates or WSUS. Everytime updates are released, run sysprep and ghost the machine.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  7. The ISO files don't help you at all. by Futurepower(R) · · Score: 4, Insightful

    My understanding is that the ISO files don't help you at all. They are huge because they include all languages. Each ISO file includes only the critical updates for ONE month. I know of no way to integrate them into a single CD image containing Windows XP SP2 and all the critical updates.

    It is possible to download all the separate critical updates, and run them from a batch file. But that's a hassle; Microsoft does not make that easy. This is another way that Microsoft is adversarial towards customers; they waste the time of some of the best-educated people in the world.

  8. Re:Slipstreaming by cowbutt · · Score: 4, Informative

    Combine some selective slipstreaming with the unattended build facility, e.g. using http://unattended.sourceforge.net/>unattended. My colleagues slipstream service packs and critcial hotfixes (i.e. those that can result in ones machine being 0wn3d during the install) into the installation image, then have a manually-updated .CMD script that runs on the first boot to bring in the others.

  9. Why we can't slipstream by AmiMoJo · · Score: 4, Informative

    Just spotted that /. posted my question, yay!

    We can't use slipstreamed CDs. Microsoft says that it violated the terms of the licence agreement. To reinstall, we need the customers original CD and COA sticker. If they only have a restore CD which doesn't work, they are SOL and need to buy a new copy of Windows.

    We have already been fined over this. We phoned up the Dixons group tech support line to see what they said, and they told us we should "borrow a friends CD". Luckily, we taped the conversation and sent a copy to Microsoft. Well, if we are gonna get screwed, at least everyone should be on a level playing field.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  10. Re:Slipstreaming by AmiMoJo · · Score: 4, Informative

    Yes, I have.

    Microsoft told us we couldn't do it. When a customer brings a PC in for repair. we have to use their original Windows CD and licence COA. We can't use ours. If they have recovery discs, they are SOL. If their disc is scratched, they can buy a replacement for £15.00, no CD-R backups allowed.

    We even got fined over this. We used to have loads of slipstreamed CD-Rs. Instead, we pull a gig a day of updates from microsoft.com now.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  11. Use the downloaded Windows Update files. by Anonymous Coward · · Score: 4, Informative

    We build pc's for business and home use. Due to lack of time for building and maintaining a OEM installation server, my co-worker installs all machines from an installation cd.

    Now and then, Windows Update downloads are pretty slow. Therefore i have copied everything Windows Update downloads to a fileserver and created a batchfile with which we can install the patches. Ofcourse this is a bit time-consuming and it still has to be maintained each month, but it's quicker than letting Windows Update download and install everything for every pc we build.

    These are the steps to follow:

    • Install Windows XP using the cd.
    • When it's running, install the latest servicepack (SP2 at this time). This can be downloaded from Microsoft once, burned on a cd or copied onto a fileserver and installed manually.
    • Open Windows Update and write down which updates it will download and install.
    • Let the updates download and install.
    • When it's downloading and installing, copy everything (folders and files) in C:\Windows\SoftwareDistribution\Download to another folder as it will delete the folders and files it had installed. These folders contain all the new patch files and an installation program.
    • Open the folder in which the folders and files have been copied.
    • Open each folder (every folder has a name consisting of 40 hexadecimal numbers) and look in the 'update' folder for a file (for example 'kb873339.cat'). This tells you the patch number.
    • Rename all folders according to the KB number. I have called the example folder 'wu-kb873339'.
    • Look at the files themselves (also consisting of 40 hexadecimal numbers). Some of these will be textfiles, which can be removed. One of the files might contain the Microsoft Windows Malicious Software Removal Tool, which can be placed in a subfolder and renamed to an EXE file (for example mrt200601.exe). This file will probably be updated every month.
    • Create a batchfile and put the following command in it for each folder: start /wait WU-KB873339\update\update.exe /q /z . The flags /q /z will make the update install quietly without rebooting. This will install KB873339. Copy this line, paste it and change the number for the next patch, until all of them are in the batchfile. Save the batchfile.
    • Add the Microsoft Windows Malicious Software Removal Tool exe file and add the flags /q /z for quiet installation without reboot (for example mrt200601\mrt200601.exe /q /z ).
    • Copy everything to a fileserver which you can access from a freshly installed pc or burn it on a cd-rw (it will be about 150 - 200 Mb because every folder contains several files which are the same).

    On a freshly installed pc, which has the same servicepack, you can now copy that folder to the pc, and run the batchfile to install all updated (or perhaps you can assign a driveletter to the share so you don't have to copy the files). If you burned everything to a cd, you can probably start the batchfile without copying everything, i never tried that myself.

    Note that you should make a different folder like this for each windows version (pro, home and others).

    Anyone who wants to try this should thoroughly test it. You can verify if the patches have been installed by looking at the list displayed in 'Add/Remove programs'.