Slashdot Mirror


Creating XP Disk Images w/ Company Applications?

-ryan asks: "After a decade as a software engineer, I decided to try my hand at being a System Administrator, to help a friends business. Unfortunately every single computer in this office is on different hardware (all custom built), all running different versions of Windows, and new employees come and go regularly. I'd like to create a single disk image with all of the company software pre-installed and configured to save time setting up new boxes and rebuilding old ones. Problem is, you can't just ghost Windows XP onto different hardware (I remember this working years back). Is there some way that I can (without purchasing hugely expensive 'client-management solutions) slipstream a bunch of company software into a Windows XP install disk?" "I remember trying to set up a system image for XP a while ago, and some machines will boot the ghosted system image with errors about missing drivers (which is easy to fix) but some won't even boot without a BSOD.

If I can pull off a slipstream of my own custom XP install (with applications), I wouldn't mind having to install system specific drivers. The company leadership is very pro Linux and wants to move all of the desktops over, but this year it's not feasible to do such a migration. So until then.... any ideas?"

95 comments

  1. Unattended Installation by TripMaster+Monkey · · Score: 3, Informative


    With your mix of hardware, slamming an image won't cut it for you. You'll have to created an unattended Windows install.

    Here's a pretty good guide on the subject.

    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:Unattended Installation by Anonymous Coward · · Score: 4, Informative

      No you don't. Copy the i386 folder onto the hdd, along with all of the various drivers. Modify the sysprep file in the \deploy folder to include an empty mass storage drivers section. Run sysprep with the bmsd switch and the pnp switch to force hardware detection on first boot. Ghost it. Voila.

  2. Absolutely Possible by Bryan_Casto · · Score: 5, Informative

    Ghost can do this. What you want to do is create a "master" computer with all of your applications on it. Then, use SysPrep (Google is your friend) to create an abbreviated install. Once you've run SysPrep, boot into Ghost and make your image.

    --

    Bryan J. Casto
    bryan.casto(a)gmail.com
    1. Re:Absolutely Possible by TripMaster+Monkey · · Score: 4, Informative


      Yes, but Sysprep depends on all the target computers having identical ACPI support, which I'm betting isn't the case in the submitter's hodgepodge environment.

      Using Sysprep on systems with disparate ACPIs yields a target system that BSODs, much like if you just tried to slam an image of the source to it. You need to reinstall Windows on the afflicted system, using the undocumented F5 option during setup to select the proper ACPI, to revive it, and then, you're stuck with having to reinstall all service packs and hotfixes. Not much of a solution.

      --
      ____

      ~ |rip/\/\aster /\/\onkey

    2. Re:Absolutely Possible by engagebot · · Score: 1

      The only thing is that if all the machines are on different hardware, he'll still have to install some drivers here and there. But probably not many. After you run a sysprep, use the mini-installation option, and Windows will go through its normal 'find-every-device-and-try-to-install-drivers' thing just like a normal install.

      --
      Han shot first.
    3. Re:Absolutely Possible by hazem · · Score: 1

      I would add to that to make a directory in your image that has all the possible drivers it might want. It sure beats trying to find the right disk.

      It's probably even possible to make windows look there upon re-discovery.

  3. google is your friend by BecomingLumberg · · Score: 0, Troll

    i remember seeing a tutorial out there on how to add firefox and a few other programs to autoinstall during a windwos install a year or so ago. sorry to say i do not still have the link saved, but i found it on google. happy surfing.

    --
    If a nation expects to be ignorant and free, in a state of civilization, it expects what never was and never will be.-TJ
  4. Unattended is good by deque_alpha · · Score: 4, Informative

    I have used unattended with great success deploying several hundred XP installations. http://unattended.sourceforge.net/. It won't let you slipstream an install disc, but it will let you do complete, brainless unattended installs over network, hence the creative name. It has the added benefit of easy long-term maintenance and updates, which is a win over the install-disc or ghosting method.

    1. Re:Unattended is good by jmobley · · Score: 2, Interesting

      Unattended is definitely the best system I've used so far.

      And actually, you can do that now with the service packs from Microsoft. At least that's what I'm doing with our windows 2000 and 2003 server installations. I have the service packs, as well as all post-SP patches and updates, integrated into the specific versions I386 folder. After that I just commented everything in the updates.bat file and all of my installs end up fully patched out of the box. Coupled with the Perl and VB scripts you can write and fire off during the installation, it saves me loads of time during post-install configuration. At some point I'd like to extend the system to generate customized post-install scripts on the fly, so that I can create fully custom installs on a per client basis.

      I've got some bookmarked links to the MS knowledgebase that explains how to integrate the service packs and individual patches, but they're not on me at the moment. Should be pretty easy to find by searching for "integrate service packs" on the MS site.

      The key feature for me with Unattended is the ability to integrate drivers into the I386 folder so they are available during install. This is what enables such a wide variety of chipsets to be supported from a single installation point.

      A coworker of mine suggested a way of using ghost by performing a windows install on a single machine, then powering down the system right before it boots for the first time and goes through its hardware detection. Then taking the hard drive, mounting it on another machine, copying the I386 folder and all necessary drivers to the hard drive, and making a ghost image of that drive. Supposedly when you ghost another machine, windows should boot for the first time, detect all the hardware and load the appropriate drivers. I've never tried this, however, so I have no clue if it works well or not. Sounds like it could work though.

    2. Re:Unattended is good by Anonymous Coward · · Score: 0

      The docs seem to indicate that with that software you are forced to use a 2GB Fat partition as your C: drive. Is that correct? Anything beyond C: being one large NTFS partition is too confusing for users and one more thing worry about.

    3. Re:Unattended is good by smurf975 · · Score: 1
      The key feature for me with Unattended is the ability to integrate drivers into the I386 folder so they are available during install. This is what enables such a wide variety of chipsets to be supported from a single installation point.

      Then check out: http://driverpacks.net/Projects/DriverPacks/ (if you are using winxp).

      It integrates (read the manual for howto) into a winxp cd install and a sysprep install. (needs DVD CD because all drivers together are more then one gigabytes).

      However using a network install like a previous slashdotter mentioned: http://unattended.sourceforge.net/ and then you can start your winxp install from a network install using a floppy or cd-rom. With the driverpack intergrated on that network install.
      --
      -- I don't buy it, I grow it.
    4. Re:Unattended is good by jmobley · · Score: 1

      Well, it does initially have to create a FAT filesystem because unattended actually boots a linux kernel, then uses DOS emulation to start the windows install. Linux can't understand how to write NTFS, so FAT is used to copy the installation files to the hard drive. However, you can then partition the drive up however you want, including creating one big C: drive. During the windows install, it will actually convert the FAT32 filesystem over to NTFS once you've booted into the full windows install environment. It's pretty nifty.

    5. Re:Unattended is good by n0d3 · · Score: 1

      Also, unattended can be burned on a DVD so you don't need a server to supply the data.

      (Quick breakdown how this whole unattended thinger works with the whole server backend)

      Firstly you setup unattended on a server that supports windows files haring (e.g. linux running samba)

      Following the manual you put your original files on it (2k or XP), then you configure the unattend.txt file which tells windows setup how to install the system (e.g. reg keys and the like). It then installs updates (via scripts you can tweak) and software (also via scripts that are tweakable if needed to be). All of this can be done completly unattended without user interaction.

      The real power comes from the SQL backend (or a simple file if you have only a few systems). The installer can then pull information of a database based on the several aspects of the system includeing the MAC. So basically you can bind registration keys, drivers and software sets based on the MAC (or user, or system name or ...).

      For more info just check out unattended.sourceforge.net, it's really quite a neat package!

      On a side note, what it's also handy for, keeping a collection of all updates handy. the scripts you can update via cvs up, and then simply run the 'fetch' script to get all files needed for the script, which can be also handy when putting this whole 'system' on a DVD for networkless installs. Personally, i then use this collection of updates, sans .Net to slipstream those into the main CD image so the 'plain' driverless, softwareless install would allready be atleast patched up.

      Disclaimer: I haven't used unattended, or windows for that matter, for months. My last windows install is many months old and was simply done by using nlite to create a slim neat tweaked install, that hardly never gets booted as cedega fills my wow need now : )

    6. Re:Unattended is good by Anonymous Coward · · Score: 0

      Agreed... unattended has been very good to me as well. There's a fair bit of setup involved but I still highly recommend it. Being able to image everything from a dusty old PII to the latest speed demon is a godsend.

  5. Microsoft Acedemic Learning Series by merreborn · · Score: 1

    If you pick up the most recent official microsoft acedemic press Windows XP administration textbook, it details how to take advantage of the automated install features.

    At least, the NT4 and win2k texts did. I haven't picked up anything newer.

  6. Still potentially Ghostable by snopes · · Score: 1

    For the machines that will boot off the same install but need different peripheral drivers I think you could still get a common image. Just make an image, install to new h/w, add necessary drivers, make a new image. Continue until you have an image covering a significant subset of the installed base.

    Don't forget to use ghostwalk to blow out the SID.

    1. Re:Still potentially Ghostable by duguk · · Score: 1

      I agree!

      Also, in my experience, just changing the Hard Disk Controller to a 'Standard Hard Disk Controller' in Windows Device manager is enough to allow the computer to boot with different hardware.

      A good way to see if this is true is if you only receive the 'Inaccessible Hard Disk' BSOD then thats probably the only difference that's required to allow Windows to boot and so that Hardware can be redetected.

      You can also do a full hardware detect with SysPrep :o)

      Dug

  7. Universal Imaging Utility by XCorvis · · Score: 5, Informative

    UIU was a pleasant suprise for us. We use it all the time and it actually works pretty well. The short version is that it rips out all your hardware information and uses sysprep and preinstalled drivers to automatically detect and install the new system's hardware on the next boot. So basically, you build one computer, run UIU, image it (with Ghost or something) and then dump it on to all the other computers, regardless of their hardware setup (well, not including SCSI or RAID). There usually isn't even any post-install configuration necessary.

    1. Re:Universal Imaging Utility by Anonymous Coward · · Score: 0

      never heard of it but damn that looks interesting! thank you for the heads up!

    2. Re:Universal Imaging Utility by Anonymous Coward · · Score: 1, Funny

      I work in IT at a University with several thousand staff and faculty machines to support. We have been using the UIU for about a year now, and the time it has saved us literally makes some of us worry about keeping our jobs. On top of that, it has let us order all new PCs with XP home, since we have sold our souls to the devil and gotten a campus-wide deal from microsoft for upgrade licenses for windows. So, incoming machines are imaged to XP Pro, we save about $50 per PC, which more than covers the cost of a UIU seat and a Ghost seat.

  8. Did you try this by varmittang · · Score: 3, Informative

    http://blog.hishamrana.com/2006/02/22/how-to-image -windows-xp-with-ghost-and-sysprep/ I'm not sure if you use these directions when making your disk image before. Plus, I think it takes some time to get it right.

    --
    -----BEGIN PGP SIGNATURE-----
    12345
    -----END PGP SIGNATURE-----
    1. Re:Did you try this by silveyra · · Score: 1

      You have the single best sig ever!

      --

      Brought to you by...
      yep you guessed it...
      Frank Stallone
  9. MOD PARENT UP by Anonymous Coward · · Score: 0

    This is what we do.

  10. Take a look at nLite... by tysonedwards · · Score: 2, Informative

    You may want to take a look at nLite (http://www.nliteos.com./ It is essencially a graphical front-end to Unattended, and allows you to create a fully working installer image with imbedded applications in less than 5 minutes (after you figure your way around). Very useful tool.

    --
    Thirty four characters live here.
  11. RIS/RIPREP by The+Other+White+Boy · · Score: 1

    don't have the link to any docs off the top of my head, but this is what we use at our office here, its what you describe except pulled down from a network server when needed via PXE LAN booting. works pretty good.

  12. You don't need to worry with Windows XP by TheSkepticalOptimist · · Score: 1, Informative

    Just copy the i386 folder from the intall CD into the ghost image and then you can ghost the whole shebang without worry.

    When you fire up the restored Windows XP on a computer with different hardware then last used, it will go through its hardware detection and driver installation phase, just point it to the i386 folder you have included in the image, and all should work.

    In fact, I think if you specify somewhere in the registry before ghosting the installation, Windows XP will automatically search for the local i386 folder when looking for new drivers before prompting the user asking where it is or to install the CD. This should allow for relatively painless cloning.

    Note, however, it isn't technically legal for you to clone Windows XP installation unless you purchased a volume license version of Windows XP. If you ghost retail copies of Windows XP, you might find yourself in deep sh*t if Microsoft finds out as your techincally pirating the OS, even if you have enough retail copies for each computer on the shelf. Each computer must be installed with its own licensed copy of Windows, or use the volume license version.

    --
    I haven't thought of anything clever to put here, but then again most of you haven't either.
    1. Re:You don't need to worry with Windows XP by tverbeek · · Score: 0
      When you fire up the restored Windows XP on a computer with different hardware then last used, it will go through its hardware detection and driver installation phase, just point it to the i386 folder you have included in the image, and all should work.

      You had some misspellings in that last section. The correct spelling is "...quite likely BSOD, go into a reboot loop, or lock up instead of loading Windows, and you'll have to do a reinstall on top of the existing install once or twice and then reload all the service packs and updates, and even this may not..." Hope this helps. :)

      --
      http://alternatives.rzero.com/
  13. Driver Clean Command by Anonymous Coward · · Score: 0

    I remember hearing from a friend about a command which you issue from the recovery console to strip out all of the old drivers. For the life of me I can't remember what it was though.

    It would allow you to ghost the drives, then re-install the drivers.

    I could be wrong though (friends tend to be a bit unreliable).

  14. Bâshrat the Sneaky's DriverPacks and MSFN by theCSapprentice · · Score: 5, Informative

    You can learn how to everything from here:
    http://www.msfn.org/board/

    Here:
    http://unattended.msfn.org/unattended.xp/view/web/ 1/

    And here:
    http://www.driverpacks.net/Projects/DriverPacks/

    Applications, Drivers, Updates - all slipstreamed.

    1. Re: Bâshrat the Sneaky's DriverPacks and MSFN by TAiNiUM · · Score: 1

      Check your license though. MSFN is great, but there are some apps on there that prohibit professional use.

  15. Slipstreaming might be overkill--Active Directory? by Anonymous Coward · · Score: 0

    If you have an Active Directory PDC, you don't need to slipstream your company software into the install disc. You can instead install it as a "Managed Application," provided the software is in an *.MSI package. The first time a domain member boots up (and each subsequent time), the domain controller will check to see if the package is installed. If not, it installs the software according to a script, so no user intervention is required.

  16. Not very realistic! by clevershark · · Score: 2, Informative

    Sorry to say, but unless your business apps are 100k you're going to run out of space on the disk.

    I recently did a slipstreamed XP disc w/ SP2 and all the critical updates already integrated, and I found myself having to remove the unessential stuff (demos, extras) from the CD image if I wanted to fit it onto one disc.

    --

    My sig is too lon

    1. Re:Not very realistic! by pla · · Score: 1

      I recently did a slipstreamed XP disc w/ SP2 and all the critical updates already integrated, and I found myself having to remove the unessential stuff (demos, extras) from the CD image if I wanted to fit it onto one disc.

      They make these things now... Like CDs, but called "DVDs". They hold 7x as much, and virtually all new PCs come with one built in. ;-)

      Sorry. Yeah, where I work, we also have FAR too many PCs still in use from before the days of ubiquitous DVD drives. But my solution has tended toward replacing obsolete drives for $20 each, when possible.

  17. Sysprep/Ghost still not a solution by engagebot · · Score: 2, Informative

    If you use the 'mini-setup' of Sysprep, the first time you boot the machine after that, it'll go through the regular deal of finding all your devices and installing them, so having different hardware may not be a huge problem.

    The problem is with Windows XP reg keys. If you build a ghost image using a 'corporate license' disc or whatever, then all of your machines will have to use that multi-license key. You may not care, but when you work for a state hospital (like me) they do. You won't be able to use the reg key on the case badge, cause its probably a key for an OEM install.

    The OEM windows keys on the case badges are sometimes vendor-specific. Meaning the key off a Dell's case won't work on a Gateway 'restore' disc, nor will it work on a store-bought copy of XP from the shelf. We have a contract with Dell, so its not a big deal for us, but it may/may not suck in your situation.

    --
    Han shot first.
    1. Re:Sysprep/Ghost still not a solution by tgd · · Score: 1

      Sysprep will clear out the license key. You can pre-populate a volume one in the inf file but if you leave it out the minisetup will just prompt for it. Easy enough, its on almost every PC these days, just tell the users to enter it, or DIY.

    2. Re:Sysprep/Ghost still not a solution by pnutjam · · Score: 1

      My experience is that they work, you just have to call for activataion, PITA...

  18. I second that! by BobPaul · · Score: 1

    I second Unattended. It takes some time to setup, but it's worth it.

    I also like your origional idea to include installers on the WinXP CD. We have a WinXP cd that installs antivirus and some other apps after windows installs. We also made a DVD that installs Office and a whole sweet of applications when it's done. Look at the documentation on the Unattended website to learn how to generate answer files for almost any installer shield. Repackaging is the devil.

    Otherwise, I've found that Norton Ghost and other imaging utilities work great, even across varied hardware provided you use Microsoft's sysprep utility. Most of our images are spread across slightly varied hardware. We just have a c:\drivers folder that contains the *.inf and supporting files for all of the hardware we need. Reference that in the sysprep.inf and you're good to go. You can even specify that a program runs on the reboot after sysprep's mini-installer, allowing you to do last minute cleanup, such as running a script to rename the machine, install printers based on location (subnet) etc.

    1. Re:I second that! by Random+Destruction · · Score: 1

      *suite. Creative though.

      --
      :x
    2. Re:I second that! by pbulteel73 · · Score: 1

      I third it! I mean, I second the seconding. I think the unattended project is one of the best ways to make your custom builds. You can prepare the scripts for the different builds you want and then off you go! Takes a little bit of time to customize, but it's worth it.

  19. Yes, but it takes some work...and tools. by haplo21112 · · Score: 1

    First of all, you need to build a standard base that contains the drivers for all of your known equipment variations such that all that equipment can be detected and installed on firt boot by plug and play. Basically your going to and of of these drivers to the known driver set that comes with XP. Microsoft has Qarticles/white papers on doing this.

    Next install all the apps.

    Next your going to need a utility from Microsoft called sys-prep. Once you have this standard image, you will use sysprep. This will strip all the PC specific info away and leave you with an install that is ready to go. After you image a machine it will go through a mini-setup. (Ever bought a DEll/HP/Gateway machine, and booted for the first time thats the mini-setup)...this is basically the hardware detect and setup, and network setup part of the XP install minus all the other stuff you have already done creating the base. Just the PC specific stuff that the sysprep process stripped away.

    --
    Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
  20. One thing big corps usually do right... by romrunning · · Score: 1

    Big corporations usually standardize on hardware deployments. The bigger you are, the more you need to support only a few platforms versus many. The same principle can even help out smaller installations. I love white box, but if I have to support them, then I would begin to transition over to a HP/Dell/? platform with your favorite flavor of OS. Keep Ghost images of what you have currently; Ghost partitions are helpful for quickly getting a PC re-setup for a new user.

  21. yeah, yeah, redundant... by engagebot · · Score: 1

    ok, ok, don't mod me redundant. The guy above me just beat me to the submit button...

    --
    Han shot first.
  22. After the Holy Grail? by GundamFan · · Score: 2, Insightful

    Well this is the one thing that XP can't do in my experince... but I have been where you are before.

    What I did was take an inventory find out how many of each model I had, then I found out which models would take the image I had (even if not compleatly) and cleaned those up to create a new image for that model. on system that where too diffrent I upgraded to XP (to maintain as many settings and apps as I could) and used that with some cleaning as a base for an image for those model.

    At first my boss wanted me to use sysprep and maintain one image (like he had done with 2000 before I came) but after about a week of experimenting it became clear that creating an universal image would take way to long if it was even possible.

    I know that this isn't the cleanest or shortest process but last I heard they are still using my images so I must have done something right.

    Hope that helps.

    --
    I don't give a damn for a man that can only spell a word one way.
    Mark Twain
  23. Well by MikeRT · · Score: 1

    How are you going to create a disk image that is applicable to very different systems? The point of a disk image is point, click, restore to the original state. It's... well... a little difficult to do that when the state that the image must restore to is different for each machine.

    You might want to try installing a really light-weight Linux distribution and running VMWare Player with a lot of hard drive space and memory for the Windows virtual machine. You could try something like Damn Small Linux or Gentoo that can get pretty low on the requirements if SuSE or something else is too much of a pig to fit well.

  24. Create an image for each by Anonymous Coward · · Score: 1, Informative

    If your hardware is that varied, just setup an image disk for each set of hardware. If any two are identical then just use the same image for both. Then just label each image disk with the computer number it is for. I know this has the hassle of several images, but then you have drivers and everything in one step on reinstall. Depends on how many computers you are talking about to determine if this is a feasible solution for you.

    Also I have never had the problem you describe with Ghosted copies of XP. Just it complaining to reregister because it detects the hardware changes.

  25. Great post... exactly what I needed by Anonymous Coward · · Score: 0

    Great post. Very informative how-to. The owner of the blog also answers questions in his comments. Maybe the original Slashdot poster could ask about network deploymen via RIS or Symantec's Corporate version of Ghost? Your post should be modded up.

  26. IBM Director? by Deternal · · Score: 1

    If you use IBM servers you get IBM director for free (you can also buy it, I dont know the price). This is a network management tool with a lot of surveilance and other nice features.
    For a few bucks (I got an offer for approx 100) you can get a remote deployment option for IBM Director that lets you install packages, images and whatnot.
    Unlike most other options IBM's RDM also supports linux installs.

    Of course for a quick fix http://unattended.sourceforge.net/ is a very clean and appropriate solution.

    1. Re:IBM Director? by Deternal · · Score: 1

      I forgot to link to RDM:
      http://www-03.ibm.com/servers/eserver/xseries/syst ems_management/ibm_director/extensions/rdm.html

      At the top there is links for other IBM Director extensions also.

  27. Sysprep by willith · · Score: 2, Informative

    Use Microsoft's Sysprep tool to make your images hardware-agnostic. If you know all the disparate hardware in your environment, you can pre-cache the drivers on your image template computer, sysprep it, then shut it down and create your image with ghost/trueimage/altiris rdeploy/whatever you've got. You can then deploy the image to any computer.

  28. Acronis True Image and MS Sys-Prep by C_Kode · · Score: 1

    The easiest way is by using Acronis True Image and Microsoft's Sys-Prep utility.

    A lot of people talk about Ghost and I used Ghost for years, but once you try Acronis True Image you will dump ghost and never look back!

    http://www.acronis.com/

    1. Re:Acronis True Image and MS Sys-Prep by romrunning · · Score: 1

      Why? What makes TrueImage that much better than Ghost? I've been using Ghost for years, but it would be nice to hear how I could give a little less to Symantec's ample coffers.

    2. Re:Acronis True Image and MS Sys-Prep by sbryant · · Score: 1

      I'll second the recommendation for Acronis! It's good.

      Back to the original question: if you don't want to use a hugely expensive client/server solution, use one which is cheaper! Go to www.enteo.com and look up their operating system deployment (OSD) software. Better still - call them and ask them about what's in the next version; I don't know if any details are on their website, but I have it on very good authority that it's extremely good. Their software is generally licensed per client, so if your company isn't very large, the price may still be acceptable.

      -- Steve

  29. sysrep by zenray · · Score: 1

    When we went to sysrep we first had to document which ACPI each system has and we found that there are only two different types, AACPI and ACPI, so we have two basic images. Another problem we had was the different drivers from our different Dell models. There is a way to 'stuff' all the different drivers into the images (after they are made) properly to be found when needed. The PXE boot will select the correct ACPI type image. The wole project was a big PITA, but after a lot of detail work it does work. Sorry I can't remember the links on how to set all this up but its out there. It helped that we had enough 'spare' systems to do all the installs and get driver details to work with.

    --
    zenray
  30. sysprep by Anonymous Coward · · Score: 1, Informative

    you can image windows xp to different hardware.

    google for sysprep, Oempnpdriverspath, updateHAL, and so forth.

    one you get that done, get some image cloning software. ghost is nice. but you can roll your own with stuff like driveimagexml, gparted, linux ntfstools (ntfsclone especially), g4u, g4l, udpcast, and many other tools.

    oh, and i make 9 dollars an hour working part time too. so if i can do it, you better believe you can do it.

  31. http://unattended.msfn.org by DA-MAN · · Score: 2, Informative

    The subject says it all. A big comprehensive site that explains how to do exactly what you wish.

    --
    Can I get an eye poke?
    Dog House Forum
  32. Acronis Universal Restore Does Just This by jpavel · · Score: 1
    I had the same problem, and found this software.

    Acronis Universal Restore.

    You install everything on one machine, and then prep it for a transfer using MS Sysprep tools. Create a disk image with Acronis, and then, when the time comes to restore it to dissimilar hardware, the restoration program will allow you to replace drivers and even the HAL.

  33. Ghost works fine by Curien · · Score: 4, Informative

    I use a single image that operates on Dell GX110, 150, 260, 270, HP DC 7100c, HP xw8000, Compaq 1830 laptop, Dell C500, C510, C600, C610 and D610 laptops, Dell P650 and P670, and Dell Precision M70 laptop. I think that's it, but it's kinda hard to keep track of them all.

    The ACPI isn't the biggest problem. The main problem is, astoundingly, the IDE driver.

    Here's what you do.
    1. Install Windows on a system and then load all the drivers.
    2. Set it for Uniprocessor ACPI.
    3. Set the IDE driver to the generic driver.
    4. Move the drive image to another system (swap hard drives, clone the drive with Ghost, whatever).
    5. Boot up, install drivers for new system.
    6. Move image to previous system.
    7. Set for system-specific IDE driver.
    8. Repeat steps 3-7 for each type of system.
    9. Move image to last system and switch to system-specific IDE driver.
    10. Sysprep and save a Ghost image.

    Also, if you're using a lot of different types of systems with GhostCast Server, PXE booting is the only way to fly. Use pxelinux (part of syslinux) with the keeppxe option along with the 3COM universal NDIS driver, and you'll never have to worry about NIC-specific drivers with Ghost again (unless you have a system that can't boot PXE, like my Compaq 1830s -- they're a pain in the ass!) If you absolutely can't boot PXE, use Bart's tools (BFD and BCD) to make a bootable floppy or CD-ROM with all the drivers.

    --
    It's always a long day... 86400 doesn't fit into a short.
    1. Re:Ghost works fine by BobPaul · · Score: 1

      3. Set the IDE driver to the generic driver.
      4. Move the drive image to another system (swap hard drives, clone the drive with Ghost, whatever).
      5. Boot up, install drivers for new system.
      6. Move image to previous system.
      7. Set for system-specific IDE driver.
      8. Repeat steps 3-7 for each type of system.


      My experience has always been that moving an image to a new motherboard without sysprepping often causes BSODs. I'm assuming step 3 is the trick. Can you elaborate on this? (Is it just "Update Driver" and then choose "Standard Dual Channel PCI IDE Controller"?? or is it something different?)

    2. Re:Ghost works fine by Curien · · Score: 1

      Is it just "Update Driver" and then choose "Standard Dual Channel PCI IDE Controller"

      Yes, that's it exactly.

      --
      It's always a long day... 86400 doesn't fit into a short.
    3. Re:Ghost works fine by RobertCorsaro · · Score: 1

      I am currently setting up something very similar to what you describe. In the past we used 2000 Server and Intels PXE software, but now I am trying to get the DHCP&PXE onto linux. I tried using making a floppy image with winimage(same floppy I used with the Windows box) but it didn't work. How did you make your floppy for the linux PXE server?

    4. Re:Ghost works fine by Curien · · Score: 1

      Well, I have a Windows server doing DHCP and TFTP, but it shouldn't really matter as far as the image is concerned.

      I also use WinImage to make the images because I generally need a 2.88MB floppy image. I have had several issues with WinImage being flaky -- sometimes, I'll start with an image that works fine and end up with one that doesn't. I hadn't thought of this before so I haven't tried it, but you might have more success with the image file mounted as a loop device on Linux.

      What I've ended up doing is starting with a blank *bootable* DOS floppy image (/not/ a WinME or XP bootable floppy -- memdisk has problems with them) and then drag-and-drop the files you want into the new image file.

      What do you mean didn't work? I assume you mean the system didn't boot correctly. Is there a different problem?

      --
      It's always a long day... 86400 doesn't fit into a short.
    5. Re:Ghost works fine by RobertCorsaro · · Score: 1

      Haha. I've been working on it today and figured out how to get my old images working on linux AND how to edit them via mounting with a loop device. No need for winimage!!! Thanks alot for the help!! BTW. The problem I was having was with the images WinImage created. memdisk was saying it wasn't a bootable disk. But as stated above I don't need it( which is great because I am a big GNU supporter. )

  34. Knoppix + dd + external hard drive by Fallingcow · · Score: 1

    Just use the copying the i386 folder trick that someone mentioned above.

    Make sure the machine you do it on is the one with the smallest HD.

    dd an image of the entire drive to the external hard drive.

    dd it back on the next machine, then format the extra space as drive D or whatever.

    It's free.

    1. Re:Knoppix + dd + external hard drive by rduke15 · · Score: 1

      dd is slow, since it copies even unused disk space. I have had good luck with Knoppix and ntfsclone over the network, using this method.

      However, all the machines were identical, so I didn't even use sysprep.

      And BTW, I even dropped the pipe through gzip which was suggested in the examples, since it didn't make things any faster. The Gigabit network helped, I guess. Maybe with 100Base-T, gzip is good.

    2. Re:Knoppix + dd + external hard drive by Anonymous Coward · · Score: 0

      This doesn't reset the SID in Windows. It also doesn't clear our the system driver hive. Attempting to make an image with this method will lead to network problems due to SID clashes, crashes due to unused drivers littering the hive, and general slowness of Windows. Do you remember Linux in the gold old days before elaborate installers and PNP detectors? You can't just DD a Linux install over onto different hardware without running into problems. Windows is the same way.

    3. Re:Knoppix + dd + external hard drive by Anonymous Coward · · Score: 0

      gzip does not help -> it's too slow,
      but lzop does help

  35. Creating Images for multiple platforms by Yogger · · Score: 1
    You might want to give this document a look: http://center.wwrc.net/ImageCreation.doc. I just started making the images for my company, but my predecessor said this was invaluable. We're only using maybe 10 models of PC/laptop, 1 IBM, 1 Compaq, and the rest from Dell, and we've gotten one image to work for all of them.

    The two major issues seem to be drivers and ACPI. If you've got similiar enough hardware, shouldn't be a big deal for drivers. And for ACPI, they either all need to have it on or off in BIOS, can't have a mix.

    After you prep it to your satisfaction, run sysprep and your image tool of choice. Just beware of those applications that do things like hardcode a computer name in there install somewhere, apps like that will need to be done post image and you could use vbs/wise or something similiar to script that portion.
  36. Windows RIS by major.morgan · · Score: 3, Informative

    If you are running a Windows domain, you may want to look at RIS (Remote Installation Service). Workstations use PXE to boot over the network and a "image" is placed onto the box. The image is a not quite the same as Ghost in that an actual install (with hardware detection) is performed for each machine, applications are then dumped on top of this. Is quite portable across different machines, not to difficult to get running (no more boot floppys!) and is included with Windows Server.

    Good starting point: http://technet2.microsoft.com/WindowsServer/en/Lib rary/c62e5951-5eb9-42f1-95ae-490e5d7a55511033.mspx /

    1. Re:Windows RIS by John+the+Kiwi · · Score: 3, Informative

      I haven't seen too many posts here talking about RIS but that's the only solution I have stuck with over the years and it has its merits and is still my preferred method.

      For me Ghosting is not a good solution because of all of the driver issues, the old SID problems from the NT4 days (fool me once...) and the amount of additional work required every time you want to update the image - service packs or applications for example. Also be aware that for Microsoft based products you will want volume licenses so you can reuse the same keys, this requires buying through a reseller and creating an account with Microsoft on the https://eopen.microsoft.com/ web site (I hate passport!).

      One solution I am fairly happy with is a bootable CD I created which will install Windows 2000, XP, 98, 2003 Server from an answer file. Obviously only one or two OSes per CD but I can install any of those by typing a name for the machine, pressing enter and waiting an hour for the OS to actually install. Unfortunately this requires a few non Microsoft tools, which is probably why the lack of documentation. I use a Windows 98 bootable disk image (proprietary), the DOS version of sed (to parse the computer name from my DOS script), AEFdisk (to script the formatting of the disk) and CD writing software capable of grabbing a floppy disk image.

      I still need to install drivers and software and configure the network. The cd has to have a hard coded key. But for PC repair it sure beats entering everything manually and pressing enter to bypass the installation screens.

      RIS is similar but made for companies with at least one Microsoft based server. You create your answer files and install the OS from a dedicated partition on your RIS server, this is a pain of a limitation if you don't plan well in advance before you install your server/s.

      There are several other limitations with RIS the show stopper has always been support of the PXE boot protocol, but nowadays most motherboards support PXE boot, you may have to enable it in the BIOS of your machines though. Many newer network chipsets are just not supported by Windows XP or 2003 server and RIS specific drivers can be difficult if not impossible to track down - the Marvel Yukon network drivers spring to mind.

      Microsoft provides a bootable floppy disk to boot off of that provides generic drivers for many older network cards, several of my customers mandate specific network cards for each of their workstations.

      To install a computer you press F12 for the PXE boot, provide the credentials of a user that has permission to install, breeze through a few configuration screens (depending on your RIS setup) and then the workstation is installed for you.

      In my opinion this is where the process of imaging finishes and the beginnings of workstation management begins. I say this despite the software not being installed because you should be installing and managing your software through Active Directory and the use of MSI files.

      Some applications come with MSI files for installation such as Microsoft Office and Norton AntiVirus. These applications can be managed by user or computer or groups thereof in Active Directory. This is far more flexible than imaging.

      Many applications can also be installed silently via script, this can be problematic if your users don't have local administrative access to their workstations but you can bypass this restriction.

      Microsoft has really done a piss poor job of creating automated installation tools for third party products for creating MSI files for use with Active Directory, all of these tools are expensive and don't have demo versions so I've never used one. All of the tools I have seen require that you install your workstation, start some monitoring program, install the software, reboot and then the monitoring program compares the machine before and after and creates an MSI file based on the differences. Microsoft should try employing some of those malware writers

    2. Re:Windows RIS by major.morgan · · Score: 1

      Just to add to your list of resources, a few MSI's for opensource apps are located at:
        http://msi-repository.sourceforge.net/

  37. Ghost images for each model by Anonymous Coward · · Score: 0

    We're a Dell shop, so we don't have a *huge* range of models. But we use Ghost and create a different image for each model. This solves the driver problems and other hardware variances, but it also means more images to maintain.

  38. You do not need multiple images by Elektrance · · Score: 1

    It is possible to replace the Hal.dll with the correct one for your system, negating the need for multiple images. What I do is have one single image, without any drivers installed. The image is sysprep'd then ghosted. I use Windows PE to restore my ghost images, and change the hal.dll to the correct one for the machine. Then I install drivers (note, if you specify the search path in your sysprep.ini you can have the drivers install automatically.)

    It all works pretty well. You'll find you will likely only be using two hal types (ACPI & APIC). Of course, this isn't supported by Microsoft, and I don't think it will work for 64 bit computers.

    However, this is Microsofts strategy for Vista... There will be a base image, which extra file sets get laid down on (depending on which OS flavor it is, and the machines HAL.)

  39. Acronis Universal Restore by Anonymous Coward · · Score: 0

    It doesn't change the SIDs. Universal restore is only intended as an emergency restore solution. For example, your Windows 2003 server domain controller's motherboard dies. Waiting for replacement parts may take a little bit of time. If your site doesn't have a hot spare, you could move the DC to another machine. However, since your last image wasn't Syspreped, chances of successful restore are usually slim. So, Acronis Universal Restore comes in and updates the HAL, storage drivers and allows a restore to take place. It leaves SIDs intact for this purpose. Universal Restore was never intended as a replacement for Ghost. It is something that comes in additional Acronis True Image (a Ghost competitor) for the disaster situation I outlined.

  40. Install CD by BrookHarty · · Score: 1

    You can make a bartpe dvd with all the drivers installed to work on most hardware.
    There is a DVD floating around on BT sites that have an updated winxp with all patches/drivers and some needed applications. But I recommend making one yourself for security reasons. (rootkit/etc)

    Driver packs and Driverpacks.net
    Ryan's windows xp updates
    nlite to help modify a windows install.
    Bart PE - bootable dvd/cd for windows install.

  41. Acronis. "Ghost 10" is not an update of Ghost 2003 by Futurepower(R) · · Score: 1

    My experience with disk imaging is that Acronis is far better than Symantec Ghost, which is actually the old PowerQuest DeployCenter.

    Symantec did something that amazes me. Symantec bought PowerQuest. Symantec abandoned their own product, called Ghost, and substituted a product from another company. The substituted product, PowerQuest DeployCenter, now called "Ghost", had numerous completely different quirks and issues.

    The new "Ghost" box, which I just bought about month ago, includes the "new version of Ghost" which is DeployCenter, I'm told, and a second CD that includes the last version of the old, real Ghost, called on the CD "Ghost 2003". This old, real Ghost is a dead product, apparently.

    (I just checked the box again. I have the "Norton Ghost" box and CDs in front of me. I bought the new copy for $9.99 after update rebate and another rebate.)

    It's a new low in software company abuse: A software company has switched products without telling its users.

    My experience of Symantec technical support is that the company is undergoing a social breakdown. Symantec technical support people have found that they can reduce their work load by being hostile to callers.

    Our experience with Acronis is that it has its own issues, insufficiencies, unexplained failures, sales people lacking any technical knowledge, and very sloppy technical support. However, many people, including me, are recommending Acronis TrueImage over "Ghost".

    Always report computer company abuses to Ed Foster's GripLog.

  42. Re-install Windows XP over the restored image. by Futurepower(R) · · Score: 2, Informative
    One simple way to make one image work with differing computers is to restore a standard image and then re-install Windows over the restored image. During the re-install Windows XP re-enumerates the hardware.

    After that, as others have said, you MUST run Sysprep to change the SID. These are the commands:
    sysprep.exe -bmsd
    pause
    sysprep.exe -reseal -activated -mini -pnp
    Install Sysprep into a folder sysprep2 and copy to C:\Sysprep. Sysprep deletes its folder after it is finished.

    Sysprep -bmsd rebuilds sysprep.ini, which holds the information that Sysprep uses.

    Any tips about this experienced users have would be appreciated. Microsoft's documentation is VERY sloppy.
    1. Re:Re-install Windows XP over the restored image. by Anonymous Coward · · Score: 0

      XP with Ghost and Sysprep Guide

      That is probably the best guide on the web right now. He goes through everything step-by-step. I made my first image with success following those instructions.

  43. Win 2003 Sysprep. NewSID by Futurepower(R) · · Score: 1

    Windows Server 2003 Service Pack 1 32-bit Deployment Tools work with Windows XP, also. Maybe these are better, since they have been recently updated, and work with all Windows releases.

    I have not had good luck with using SysInternal's free utility NewSID. However, other utilities from SysInternals are best in class, and NewSID was updated after I tried it.

    Also see PsGetSID.

  44. Win PE - Windows Preinstallation Environment by NeilRyan · · Score: 1

    You might want to give Win PE (Microsoft Windows Preinstallation Environment) a try.

    http://www.microsoft.com/licensing/programs/sa/ben efits/winpe.mspx

    If that doesn't work for you, then by all means take a look at BartPE, as the person above recommended.

    http://www.nu2.nu/pebuilder/

    Good luck!

  45. How I do things! by smurf975 · · Score: 1

    Ok some tools I use to make my life easier (all free):

    Basic usage:

    • Drop the contents of your winxp install CD onto your HD. Download the latest service pack.
    • Start and Point nlite to both.
    • Choose any option that you like but don't create an iso.
    • It will automatically integrate the service pack.
    • About integrating hotfixes see RVM packs, which is compatible with nlite. http://www.ryanvm.net/msfn/ (also more info about appz integration)
    • Again options, choose what fits you. (Talking about nlite)
    • Save
    • Now follow the driverpacks site instructions to add the drivers to your install CD/DVD.
    • About integrating extra applications see: http://unattended.msfn.org/unattended.xp/page/list /switch/ for general info look at its home site: http://unattended.msfn.org/unattended.xp/ and google for specific appz.
    • After first boot run autopatcher latest version. (if needed, RVM packs if done well, don't need this step)
    • Run your personal little script.
    • Now you have a working winxp installation with all tools and most actual updates.
    • Deploy!
    --
    -- I don't buy it, I grow it.
  46. How to Peel An Orange... by CaptMalcolm · · Score: 1

    You want n+1 ways to peel an Orange... Ask Slashdot!

    Keep it up, Y-all!

  47. Completely wrong approach - go virtual. by Anonymous Coward · · Score: 0

    Check out VMWare's ACE product.

  48. Buy new hardware by thsths · · Score: 1

    > Problem is, you can't just ghost Windows XP onto different hardware

    In my view there is no way to effeciently manage Windows on widely varying hardware. The installation is the smallest problem, but then certain applications are incompatible with certain drivers etc.

    So you should just sell your existing hardware and replace it with a defined hardware platform. Both Intel and AMD have programs for exactly that. Intel calls it the "stable image program", and the goal is that you can buy the same hardware platform for several years, and still use all the same drivers.

    In my experience, this is the only way to deploy Windows on a wider scale.

    Now if only a virtualisation engine would support the stable image (such as VMware), you could run the same image on legacy machines in the virtual machine... But I am not sure that would be a good solution for the average user.

  49. webify by cwgmpls · · Score: 1

    Whatever solution you come up with, it is going to be pain in the neck and is only going to be the beginning of your problems. Once you get the OS running everywhere, you get the fun task of making sure all the apps perform adequately everywhere on your various hardware and OS configurations. Then you get to do it all over again when the OS has a patch or you need to tweek an application, which in my experience will be about once a day. The common solution to this is to throw all your computers away and move all of your desktops to identical hardware. But why should we fill our landfills with perfectly working computers that will only leak toxic waste once discarded, just because Windows is a pain in the arse to administer? Here's what I would do: Move all of your critical enterprise applications to some web application environment. I don't care which one: .NET, J2EE, Zope, Zend, Ruby on Rails, whatever. Then all you have to worry about is having a functioning web browser on your desktops. Problem is solved. And when you want to do an upgrade or modify an app, just update the web server once and you are done. Not only does that solve your current problem but it makes your future plan to move to Linux on the desktop a breeze. Your web apps won't care what OS your browser is running in. (Well, at least as long as you don't choose .NET!) If you want to deliver applications to the desktop, why waste your time playing the MS/Intel perpetual upgrade gauntlet? Just deliver your apps inside a web application environment and be done with it.

  50. I have just started learning this... by chivo243 · · Score: 1

    Go here and read up... you can make a totally slipstreamed/added installers with batch files http://unattended.msfn.org/unattended.xp/

    --
    Sig Hansen?
  51. I noticed trhat too... by heybiff · · Score: 1

    I'm an old Drive Image user from back at v3. Back before drive imaging caught on, the only players were Ghost and PQ Drive Image. Drive Image was smaller, DOS, and very scriptable; Ghost had the name recognition and wizards. I stuck with DI up to v2002. It had XP-NTFS support before Ghost did. It have no regrets. Symantec's buy out ruined the line, and they sucked up PQ's knowledge base never to let it see the light of day again. The next imaging suite I'll even try is Acronis. Ghost has grown too big, tries to do too much, and sucks a$$ on top. I'm still getting use out of our inital $400 edu lisence od DI after 5yrs.

    After doing disk imaging for 6 yrs, I've begun moving to Unnattend (http://unattended.sourceforge.net/ ), and scripted or prepackaged app installs. Imaging works most times, but the few where it doesn't are a pain, and usually time sensitive.

    I will add that there was a utility shipped in DI4 pro called "DeltaNow" that watched app installs and bundled them into an EXE. I still ue it today. I has saved my job many times. The only apps I have not been able to package with it are obviously MS Office ( killed windows install), Photoshop ( blue screen on startup ), and VirusScan ( blue screen ). Now I script those, or use thier own built in installers to install them unattended.

    Even using a striped down XP inage, I've been able to bring up a completely usable workstation from blacnk drive in about 25mins using packaged apps. Much faster than the "magnum" DVD-sized image that had EVERY app preinstalled.

    This thread is what I keep reading /. for. I really need to hit this thread with Acrobat for safe keeping so I can reference it later.

    Heybiff

    --
    Even the Sun goes down.
  52. 2 products by Anonymous Coward · · Score: 0

    Dell X-Image

    IBM ImageUltra Builder or whatever it's called

  53. I had never heard of Unattended. by Futurepower(R) · · Score: 1

    "This thread is what I keep reading /. for. I really need to hit this thread with Acrobat for safe keeping so I can reference it later."

    Your insightful comment is the reason I read Slashdot. I had never heard of Unattended. I've only had time to read a little of the web site, but I agree with what I have read.

  54. AutoHotkey. AutoIt installation automation. by Futurepower(R) · · Score: 1

    You probably know this:

    Use AutoHotkey to make keyboard shortcuts to run programs and enter text.

    Use AutoIt to simulate keyboard entries and mouse clicks and when you need complicated decision-making. Download AutoIt with the SciTE auto-completion IDE. The SciTE editor makes writing and testing AutoIt programs and compiling the finished results very easy.

    Both these programs are very sophisticated, the best available, and FREE. AutoHotKey comes with source code. Both are programmable.

    For example, I've written an AutoHotKey program that uses a shortcut to toggle between Windows shortcut keys and WordStar/Brief control-key editing commands. I like to avoid taking the time to touch the mouse.

    AutoIt is great for automating installations of software.

    Both allow programming your own GUIs.

  55. DeltaNow? Does Unattended allow param installs? by Futurepower(R) · · Score: 1

    Is there any way I can get a copy of DeltaNow? The earliest version of DeployCenter I have is 5011b.

    Does Unattended allow automation of installation parameters like font choices in Open Office? I read some of the web site, and it looked like the answer was no.

  56. Dell Ximage by Stonent1 · · Score: 1

    If you use Dell computers, ask your Dell rep about the "Dell Ximage". It starts with you proving them a hard drive of a completely set up machine. Then they remove all of the drivers and put a custom front end on it. They give you a dvd that you can boot that ghosts the image to an HD. When it boots up, the Ximage loader determines what model Dell computer you have and installs all the correct drivers. The install stage takes about an hour. If it doesn't detect your model such as a non-dell computer it dumps you back to the enter your serial number screen. Other than that, it is automated.

    We do quarterly updates with it and also Dell pre-loads it on all our new computers, when they boot up, it takes you to the network setup wizard where you name the computer, set the time zone and join it to your domain.

    What I do to save time is after a computer is done, I take it off the domain, and set up the RunOnce key in HKLM to launch newsid.exe (from sysinternals). Then I make a ghost image of each model computer we use. When it boots up and you log in as the admin it prompts you to rename the computer. Then you manually join it ot the domain.

  57. I would say Ebay; maybe with a pro version of DI. by heybiff · · Score: 1

    I've Googled DeltaNow to see is there are any cached pages with documentation, and no dice. It's as if it never exhisted. Great work Symantec.

    I would hit Ebay for DI pro cd's up for sale. It's sure to be on any version before 2003, and after 3.

    Heybiff

    --
    Even the Sun goes down.