WHS PC Restore – Not always so simple?…
So, the Window Home Server automated backup system does reallyÂ clever block based backup of all the machines on your home network.Â The theory is that at a later date, you can easilyÂ and quickly restoreÂ the exact disk image you backed up, or go pluck a file you deleted several months/years ago that you thought you’d never need again.Â It makes it easy to back up your pc, replace the drive with a new blank drive and restore the system to the new drive, or should something go haywire (surely that wouldÂ never happen on a PC) you can just put everything back as it was when it worked.
Ah.. but maybe it is rocket science after all…
Sometimes a painful reminder isn’t all bad…
So, here I was taking a sweet little Dell D610 laptop running Win7 that I’ve been using for years and removing lots of things that I won’t be needing on it anymore like SQL Server, Visual Studio, Expression Studio, etc., and installing things that it’s future owner will be in desperate need for, like Sims3, etc… :)Â Â I also removed McAfee as I was going to install AVG Microsoft Security Essentials instead.Â Well,Â in attempting to see if I could get Sims3 to run without needing to have the CD in the drive all the time, I did something I never, ever do…Â I tried toÂ download a game hackÂ (nocd.exe) patch.Â Faster than you can blink,Â the entire machine wasÂ infected by a nasty virus.Â ItÂ posed as a Virus Scanner, prevented launching any applications and wouldn’t even allow shutdown.Â Â After A quick yank of the network cable and powering it down by holding the power button, I concluded that since I’d run a backup before I started, I’d just reimage the machine and continue.
The lessons hereÂ are obvious.Â Backup, Backup,Â Backup, Â keep virus scanners in place, don’t browse where you ought not to be browsing and definitely don’t download patches from untrusted sources.
How to Restore a PC using WHS
The PC Restore processÂ should beÂ quite painless… (well that’s theÂ theory anyway).Â Â Unfortunately, it always ends up being a learning experience with the feel of a 3 Stooges episode.Â There are some things to keep in mindÂ because they really aren’t well documented.Â Each of them will cost time and cause you to start over.Â Maybe they’re common sense, butÂ to me they’re a bit arbitrary and some simple WHS Console enhancements could save some headaches and alot of time.Â WHS is a home media server for non-geeks.
So, there are some things to keep in mind first!
- The server must not be in the process of doing any backup related operations.Â It could decide to start one at any moment while you’re doing this, so it’s a good idea to shut down any other computers on your network you aren’t using for this process.
- You need to have one other PC running so that you can go into the WHS Backup Console, access a recent backup of the machine you’re restoring andÂ copy the machine’s drivers to a USB thumb drive as you’ll need these when booting off of the WHS RestorePC CD.Â This points out that fact that it really helps toÂ haveÂ at least 2 home computers on WHS.
- You mustÂ have the network cable plugged into the machine you’re restoring before powering it up.Â The network connection may not be made if it is plugged inÂ after you get pastÂ the detected devices screen.
- Always plug the in the thumb drive containing a copy of the special drivers folder fromÂ a recent backupÂ and choose the option to install the custom drivers.
- Reboot the WHS server and let it fully start and settle down before trying to do a restore, again, with all other machines off so that no backups get kicked off.
So, here’s the process.
- Reboot your WHS server and make sure that it doesn’t start doing any PC backups.
- Copy theÂ device drivers for the computer being restored onto a USB Thumb drive.
- Connect to the WHS Console
- Click on Computers & Backup
- Double-Click on the Computer you want to Restore
- Find the specific Backup you want to use to reimage the PC
- Click the “Open…” button near the bottom of the dialog
- Choose the C: Drive (doesn’t really matter) and click Open.Â This will install some drivers and then open an Explorer-like window that lets you browse all the files in the backup. Heed the warningÂ in the little dialog that pops up about not rebooting even if windows says it is needed.Â
- Locate and Copy the Windows Home Server Drivers for Restore directory in the backup.Â Drag that entire folder across to the USBÂ Thumb drive.
- Insert the PC Restore Disc for WHS into the drive of the machine you’re restoring.Â Â If you don’t have a restore discÂ one, you can make one easily by downloading the ISO disk imageÂ and burning a restore disk.Â Â The latest version can be downloaded from Microsoft (I haveÂ an HP MediaSmart Server Ex-495): Â http://go.microsoft.com/fwlink/?LinkID=109282Â
- Plug in the USB Thumb drive with the drivers
- Start the machine and Boot off of the PC Restore CD.Â On most Dell computers, F12 does this, but you’ll have to watch carefully early in the startup sequence to see which Function key to press for theÂ device boot menu.
- If it boots from the CD as intended, it’ll start a short wizard where you select your Language and proceed.
- Next, it will detect the network and disk devices.Â This is where you will click the button to install the custom drivers.Â It will locate the USB thumb drive you plugged in and find the Windows Home Server Drivers for Restore directory and install these drivers.
- Next it will search for your Windows Home Server.Â This is the part that kept returning an error saying that it could not locate the Server and gives me options to specify its name or search again.Â If the WHS is doing any backups, or hasn’t been rebooted fresh, THIS STEP MAY FAIL.Â It took me nearly a half hour to figure that out. The first time,Â some other PCÂ started a backup and when I stopped that backup, it still wouldn’t find the server.Â Â After rebooting the server and then restarting the restore process it immediately found the server.
- Finally, select the drive you want the imageÂ restored to and let it rip.Â Took me aboutÂ 50 minutes to fully restore the image on a 100gb disk that was nearly full using 1Gb ethernet network.Â Expect that timeÂ to at least triple with standard 100Mb ethernet.
Here’s what is insane!Â From a network perspective, there’s a huge difference between Not Finding the Server and Not being able to connect to the server backup/restore service.Â The former is usually a problem with the Network setup on the PC, the latter is the server being found but rejecting the connection.Â So, I spent nearly an hour trying to figure out why the network wasn’t getting started properly on the PC by checking the drivers, etc, when that simply wasn’t the issue at all.Â Â It was just that the backup service on the Server was busy and not accepting connections.
C’mon Microsoft,Â make a realÂ effort here.Â It matters, especially to people who just want it to do the right thing without becoming an expert.
I absolutely LOVE Windows Home Server.Â If you use it for nothing else than to drive your printers centrally, backup all your machines automatically, provide central easily accessible folders for storing all your “stuff” that you want to be sure doesn’t get lost, it’s truely a gem.Â But add the ability to turn on secure remote access and music streaming so you can listen to your tunesÂ while you’re atÂ work or half way around the world, it’s pretty sweet.Â But that’s just the tip of the ‘berg.
About our WHS machine:
As previously mentioned weÂ haveÂ an HP MediaSmart Server Ex-495 machine.Â It’s a tinyÂ extremely low power machine with a 2ghz dual core processor and 2gb of memory running a stripped down version of Windows Server 2003 (called Windows Home Server).Â ItÂ uses no keyboard or monitor, automatically shuts off for me at 11pm and back on again at 8am and is so quiet itÂ sits onÂ top of my desk unnoticed.Â Note how big it is next to my coffee cup.. 🙂
It has 4 hot-swappable driveÂ trays behindÂ a hingedÂ front panelÂ door andÂ 4 USB ports for external drives or printers.Â The first drive is the system drive.Â The rest of the drives are added to the “storage pool” or optionally as extra non-pooled storage.Â Users onÂ networked PCs can easily access a set of shared folders that you can create for organizing stuff you want kept centrally.Â Shared foldersÂ can be flagged for duplication, meaning that all files within the folder are to be kept duplicated on at least 2 physical hard drives at all times.Â This means that if one of the drives dies, you lose nothing and see no actual difference when browsing the shared folders.Â Note for the geeks: this is NOT a RAID array, so there IS a period of time that goes by between when you write a file to the share, and when the system actually gets around to writing the alternate copy.Â Since you can choose not to duplicate certain shared folders, a dead drive where a non-duplicated folder lives would be lost unless you have a backup.Â For the most part you don’t know or care which physical drive anything lives on since you can’t see the individual drives when looking at the server from a connected PC or Mac.Â The Following pic shows some of the folders I have on mine and how it looksÂ when browsing the server from the Explorer.
Â Note that the next version of Windows Home Server code named VAIL will be based on a stripped down version of WindowsÂ Small Business Server 2008 which is 64bit only.Â Can’t wait.