Skip to content

Citrix PVS Reverse Imaging with Windows Backup

31. August 2016

During the last weeks I had different problems with the “known” Reverse-Imaging Technics. One of them was the after reverse Imaging a Windows 2012 R2 Server the Server Manager didn’t start any longer.
pvs_reverse_imaging_windows_backup_01

Faulting application name: ServerManager.exe, version: 6.3.9600.17238, time stamp: 0x53d0b3e7
Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4ebb
Exception code: 0xc0000374
Fault offset: 0x00000000000f1b70
Faulting process id: 0x1214
Faulting application start time: 0x01d1de6cee400844
Faulting application path: E:\Windows\system32\ServerManager.exe
Faulting module path: E:\Windows\SYSTEM32\ntdll.dll
Report Id: 2c2107c1-4a60-11e6-80f6-0050568817e7
Faulting package full name:
Faulting package-relative application ID:

Another was that the Server Manager wasn’t able to refresh the Roles and Features. So I wasn’t able to see (or add) any installed Roles / Features.
pvs_reverse_imaging_windows_backup_02

I tried different options to fix the problems – e.g. dism – none of them worked.

Sometimes even the complete reverse imaging failed with the following error.

Failed to load registry key {_BCD_} on \Boot\BCD. The system cannot find the path specified. (0x00000003)
Volume to Volume stopped
Volume to Volume lasted  834,7 seconds
Failed to convert Boot Configuration Data. The system cannot find the path specified. (0x00000003)

Also it didn’t make a difference if I used the P2PVS Tool….
pvs_reverse_imaging_windows_backup_03

…or the old BNImage.
pvs_reverse_imaging_windows_backup_04
The errors were different – but the reversed image was not usable.

So I started to look for a different method and found one: The integrated Windows Backup.

Before you can start you need to extend (or add) a separate drive from your Master-VM so that a backup of the whole system drive fits on it. I just extended the Cache Disk. You can’t use the local system drive for the backup.
pvs_reverse_imaging_windows_backup_05

As you can see my Cache Disk has now 200GB – more than enough for a 100GB System drive.
pvs_reverse_imaging_windows_backup_06

The next step is to install Windows Server Backup Feature from the Server Manager.
pvs_reverse_imaging_windows_backup_07

Confirm the installation.
pvs_reverse_imaging_windows_backup_08

And Close the installation when it’s finished.
pvs_reverse_imaging_windows_backup_09

Now start the Windows Server Backup and select Local Backup on the left side. On the right side choose Backup Once.
pvs_reverse_imaging_windows_backup_10

You can now only select Different options.
pvs_reverse_imaging_windows_backup_11

In the next step it’s important to select Custom – otherwise you can’t exclude e.g. the Cache Drive.
pvs_reverse_imaging_windows_backup_12

Now you have to Add Items for the backup.
pvs_reverse_imaging_windows_backup_13

Select System state, System Reserved and Local disk (C:).
pvs_reverse_imaging_windows_backup_14

Your selection should now look like this:
pvs_reverse_imaging_windows_backup_15

As the Backup Destination pick the local drive (which you extended or added at the beginning).
pvs_reverse_imaging_windows_backup_17

A last check if everything is correct before you can start the Backup.
pvs_reverse_imaging_windows_backup_18

Windows is now creating the backup which will take some time (like reverse imaging…).
pvs_reverse_imaging_windows_backup_19

After the backup it is important to clean the local system disc (not the PVS one the system is booted from Winking smile)
pvs_reverse_imaging_windows_backup_20

You can try to just format it…
pvs_reverse_imaging_windows_backup_21
… but I sometimes had problems with just formatted disks. So I suggest to remove the current disk from the VM and attach a new one with the same size.

The next step is to boot the VM from a Windows-Installation-Iso (with the same OS you plan to reverse image). Select your Language/Time/Keyboard and continue.
pvs_reverse_imaging_windows_backup_22

Now don’t choose Install now instead click on Repair your computer.
pvs_reverse_imaging_windows_backup_23

Go to Troubleshoot…
pvs_reverse_imaging_windows_backup_24

… and select System Image Recovery.
pvs_reverse_imaging_windows_backup_25

The shown OS Version must match your installed OS.
pvs_reverse_imaging_windows_backup_26

The wizard now detects the backup on the local disc – only if you created multiple ones you need to Select a system image.
pvs_reverse_imaging_windows_backup_27

No changes needed here.
pvs_reverse_imaging_windows_backup_28

Start the Restore with Finish.
pvs_reverse_imaging_windows_backup_29

You need to confirm that the local disc will be formatted and the system is restored.
pvs_reverse_imaging_windows_backup_30

The restoring starts…
pvs_reverse_imaging_windows_backup_31

.. after a successful restore an automatic reboot follows. The VM will still boot from the PVS.
pvs_reverse_imaging_windows_backup_32

So open the properties of your Master-Target Device and select Boot from Hard Disk.
pvs_reverse_imaging_windows_backup_33

That’s it. After another reboot your VM can start from the local Hard-Drive.

Hope the article was helpful for some of you Smile

5 Comments
  1. chak permalink

    Thank you. Had tried 2 other methods and failed. This worked for me ….
    Just wondering, when you did the wsb Backup, did you had to have the server in Private mode/maintenance version ? I did, wondering if we can just take the back up while its in readonly mode..

  2. Interesting. Removing the System Partition may be helpful as well- http://ctxpro.com/removing-system-reserved-partition/
    But I’ll have to try this method to see if I like it- thanks for sharing!

Trackbacks & Pingbacks

  1. PvS – Update vDisk – Carl Stalhood
  2. EUC Weekly Digest – September 3, 2016 – Carl Stalhood

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: