18

My workflow for reinstalling Windows is cumbersome. It includes things from extracting the key from the old installation, to the actual installation process, which involves popping in the relevant Windows installer DVD, waiting a few minutes for it to load, selecting initial settings, waiting while they apply, entering more settings, waiting for it to apply, entering user settings, and finally more waiting. It's not over, Windows update has to run for all updates through the years, rebooting 4 or 5 times until it's complete.

Reinstalling Windows is an all-day task, and requires me "babysitting" the system for much of the time.

I can't imagine computer repair companies that have maybe 4 or 5 machines come through a day sit through this mess. How do "the big boys" do it? How do computer repair companies efficiently reinstall Windows?

fixer1234
  • 28,064
IQAndreas
  • 4,337

5 Answers5

11

Well, doing a factory reinstall would give you a clue - there's a fair bit of background work. They essentially set up an unattended install script that'll install software on a fresh install, do initial setup and so on. You might also use post install scripts to run installations and setup user preferences.

For modern versions of windows, this would require the use of WAIK and building a reference installation. You might also have a script that installs software - there's a page on sourceforge that's an excellent resource on the switches for various installers.

However for us lesser mortals, who only do the rare installation...

Organisation is everything. I have a backed up folder with keys for a system. I have media (and download what I need directly off MS). I use rufus to build boot USBs (USB installs are faster)

I tend to do a fresh install, then get things updated with wsus offline update - I maintain a set of updates for the OSes I use directory so I don't need to download these each time.

Install software as far as possible in an automated fashion - I favour ninite but oneget or chocolaty is a better option. This ensures that I have the latest version, and is easier than wrangling everything manually.

In some cases I have folders with copies of my user settings. Hexchat for example has customization that date back decades and 3-4 different xchat forks for me, and I just copy these over.

I build it, make a 'gold' image, and use that when I need to reinstall by restoring that setup. Unlike a linux box, I do need to pull in software from multiple places at the moment, and this speeds things up, even when ninite covers most of my basics.

Journeyman Geek
  • 133,878
10

While I agree with the other answers, I think they somewhat miss the point. The question specifically asks about reinstalling Windows which is what I'll address here. I'm deliberately ignoring installing optional applications as they are not mentioned in the question and are already covered in the other answers.

There are a few ways to automate the installation of Windows so you don't have to "babysit" it.

1. Unattended answer file.

This is by far the easiest and simplest method. It is basically a text file (well, XML) that provides preset responses to all the questions asked during setup, so they are entered automatically.

https://technet.microsoft.com/en-us/library/cc785644(v=ws.10).aspx

(The above link provides the basics of how it works, there are various articles detailing specifics for Windows 7+)

2. Preinstalled images

Much like Norton Ghost used to do (and various other modern alternatives), all this is an image of a disk with Windows you have already installed on it that gets copied in whole when you want to "Install" a new machine. This is very similar to the "Factory restore" images that manufacturers supply with their machines - only when doing it privately, you have to manually install drivers afterwards if the "source" and "destination" machines differ sufficiently. For the most part, stock drivers and Windows Update are sufficient, especially if combined with a USB stick with a set of drivers for the big vendors - Intel, AMD, nVidia - most of them release unified driver packs these days that cover all recent products anyway.

3. Automated deployment

For larger-scale operations some companies use a centrally-driven auto-deployment system. In essence it's a combination of either 1. or 2. above and a central image repository and network booting infrastructure. This can cut down the entire install process to as little as start PC, press F12, press Y, but is quite a lot of effort to set up (though not entirely prohibitive for a superuser)


Of the above, most don't deal with the issue of installing Windows updates afterwards. As others have suggested, slipstreaming Windows update into your install disk itself is the most widely used method, but this means you do have to update your install disk/image regularly. Alternatively, switch to Windows 10, where Microsoft updates the images regularly, or use one of the slipstreamed "rollup" images you can often get via P2P (note, you can get "untouched" ones that do not have any pirated/cracked software on them, only genuine Microsoft updates, though even those are dubious in their legality)

In itself, none of them deal with licensing either, but most Windows installs will complete with an invalid or trial key or no key at all, allowing you or the user to enter a legitimate CD key and activate the product anytime up to several months after installing it.

Of course, if you're paid by the hour, having to babysit the machine all day might not be a bad thing.


Footnote: Technically, above-board "computer repair companies" can only legally reinstall Windows using the license and media that came with the machine - i.e. doing a factory restore - or using individual licenses. Installing your machine using my CD, but entering your license key, is legally ambiguous. Nobody would ever do anything about it, but I wouldn't do it on work time either.

qasdfdsaq
  • 6,779
3

As of Windows 8 and newer this is pretty much one click: How to refresh, reset, or restore your PC

If you want to do this manually i recommend:

  • Have two partitions: one for the OS and apps (C:) and a second for data (D:). Try keeping data on D for example by setting the location of the Desktop, Documents, Downloads, etc folders on D. This way you speed up the backup before reinstall process by simply mostly have this already done/
  • Get an Windows AiO ISO image : AiO means "all in one". These are images with have different possible editions and versions of one Windows system (32/64bit, home, pro, etc). They also usually have included recent Windows updates so you dont have a shorter update process. Example Windows 8.1 AiO
  • Get WSUS Offline Update - this tool downloads windows updates offline and lets them install this updates offline. This saves you some time and a few manual restarts. Keep this on an USB flash drive. On older PC i usually let WSUS OU run overnight immidiately after a fresh install
  • Have your tools ready - i have a USB flash drive with the most used programs i install over and over for example 7-zip, Firefox, Flash, CCCP Codec Pack, Power ISO, CD Burner XP, MS Office image, Adobe PDF reader/Foxit PDF Reader, TeamViewer QS, CCleaner, Malwarebytes Anti-Malware, Bitdefender Free. This way you dont have to search for them and download. You have them and installing them is a matter of 15 minutes. There are even programs where you can create a collection of this programs and the tool installs them for you automatically.

On a current PC (max 4 years old) such a reinstall i do in 1-2h with only 1h max being really 'active' at the computer.

2

Slipstream the updates, downloading them each time would be just too painful for me. Depending on how many machines you expect to be installing on you might want to make your own installation media with all the software you normally install on it.

I tend to do it using bootable USB drives and just have everything on it, still have to hang around monitoring but I can do as many simultaneously as I want. I haven't timed it but I would think 2 hours would do a full build with software such as adobe pro and MS Office, a basic build perhaps an hour. I'm just guessing though, I don't bother watching the whole process.

For most of my bigger clients we setup network installs and the whole thing is run off scripts. But those are all identical builds and no worries about licensing individually.

Fastest way I can think of is just building from images or raw copy, under an hour for a complete build with software. I use this method for my laptop I'm using.

Kilisi
  • 526
1

This is what I have done in the past. The OS can handle minor hardware changes; it would be like doing an upgrade. However, having different CPU type (Intel / AMD) might cause a problem.

So here are the steps:

Initial Computer

  • Windows install without license key entry (OS will let you enter later).
  • Grab all your hardware drivers for all the systems and might as well just copy them to the HDD
  • Get corporate downloads for large OS patches and install them
  • Install anything that is common to all machines. If the software needs product keys, look into how easy it is to change the product key after installation.
  • Get a drive cloning utility. If you're tech savvy, free Linux Live CD with Knoppix will work. Otherwise buy Norton Ghost or whatever drive cloning utility that suits you.

Next, get a pile of HDD enclosures, around $15/ea, and connect a pile of HDDs to your first computer. Clone the drive across all the other drives. If computer runs out of USB port, connect the HDD to another computer and continue.

After that stick the HDDs back into computers and boot them up, install the appropriate drivers, and finish the OS install.

The cloning phase takes the longest, but should be a large block of un-manned time, so you can just do something else instead of clicking on buttons and whatnot, or just go to sleep at night.

Nelson
  • 1,393