We have several customers on our Managed Backup product that have Windows 2003 servers that they do not intend to upgrade or replace with newer operating systems.
We always help our customers, so when this customer had a virtual host fail, we sprang into action. All guest servers were restored into the recovery environment via StorageCraft quickly – with the exception of the Windows 2003 server. It was fully patched, of course, but would not boot. The error looked like so:
STOP: c0000135 {Unable To Locate Component}This application has failed to start because CSRSRV.dll was not found. Re-installing the application may fix this problem.
The error is documented in the Microsoft Knowledgebase here:https://support.storagecraft.com/s/article/c0000135-CSRSRV-dll-was-not-found-when-restoring-Server-2003?language=en_US
To successfully boot the server, you must uninstall KB3045999. But how do you uninstall a patch when you can’t boot the server?
I had 100% success with the below procedure, which replaces the patched files with the originals and will enable the server to boot..
- From any server that can mount Storagecraft images as volumes, do a StorageCraft mount of the Target server’s boot disk image on Z:
- Open an Administrative Cmd Shell. It has to be an administrative shell to perform the copy.
- Move to z:\Windows\$NTUninstallKB3045999\spuninst . This is the uninstall information and original files for the machine you are restoring.
- Open spuninst.txt in Notepad.
- Use Notepad’s find/replace function to replace all instances of “C:” with “Z:”.
- Save as spuninst.cmd.
- Close Notepad.
- Run the spuninst.cmd script. This should replace the patched files with their originals.
- Dismount the Z: drive, saving the changes to a new patch file. DO NOT USE QUICK DISMOUNT. A quick dismount will not give you the option to save the disk as a patch file.
- Move to the Patch file – right click on it and select “Virtual Boot.”
- From the Wizard, add any other drives that need to be added to the Virtual Machine. This step is not necessary when using the regular Storagecraft chain, but is necessary when using the “patch file.”
- Before you boot the virtual machine – make sure you heed VirtualBox’s warning about the minimum of 64 Mbytes of Video RAM. Otherwise, the machine will crash when booting.
- Boot the Virtual Machine. The VM will perform a chkdisk on all disks. Probably good to allow Windows to finish the chkdisk.
The server should now boot normally.