The Volume Shadow Copy Service in Windows 11/10 is a crucial feature that allows for creating point-in-time copies of volumes, which is incredibly useful for backup and recovery purposes. The processes are carried out by VSSVC.exe which you might have seen in the Task Manager. It is not always running but is triggered by certain events to make a copy of your entire hard disk as a single or multiple sets depending on your number of disks. In this post, we will discuss what VSS or Volume Shadow Copy Service is in Windows 11/10 in detail.
Hard Disk Backup Vs Hard Disk Imaging
Most of us regularly back up our data files using some third-party program or MS-DOS commands like XCOPY. When we are backing up, our main intention is to create and retain the latest possible copies of our important data files. Thus, Hard Disk backup is mainly associated with data files.
On the contrary, we create an image of the entire hard disk or at least the system drive so that we can use it in the event of facing a corrupt operating system. The main reason behind disk imaging is that manually installing the operating system and then installing, and configuring each application we use, takes up much time and effort. If you have an image of the system drive, we can simply boot using the device where the image is stored and restore the system drive so that it is usable again. Thus, disk imaging is more of backing up system files and properties rather than user data.
In short, you back up your data files, and you create an image of your system drive (program files/settings). When you restore using backed-up data, you get back the last backed-up data files. When you use imaging to restore your computer, you are copying back the program files, OS state, and properties – including the Windows registry and other databases/files relevant to the operating system.
Thus there is a difference between backing up data and creating a disk image. I hope I was able to clarify the difference here.
The Volume Shadow Copy service in Windows is relevant to disk imaging. The service is used to restore your computer – a complete drive or a folder – to some previous state.
Volume Shadow Copy in Windows 11/10
When you right-click on a folder in Windows, you get the option saying “Previous versions”. You might have used the option as well to restore the folder settings and sometimes the content to a previous state. Similarly, you know that you can use the system restore to restore your computer to a previous state. Of course, there will be a loss of some programs and changes that you made recently, but compared to the turmoil of having to get all that stuff working using manual means, restoring is pretty easy.
The VSS service is also used by third-party programs to create a disk image whenever you want. On its own, the VSS starts upon certain triggers, to create an image of the system drive and other disks/drives associated with the computer in question. If all the drive types are of the same type – i.e., NTFS, it takes a single snapshot. If the drives are of different types and maybe also from different makes or models, the VSS takes a series of snapshots for each type of drive. Be it a single snapshot or set of snapshots, they are stored in a well-protected area of your system drive and are assigned a unique ID (date-time stamp) with which, they can be used to restore the entire system drive or a folder therein, to a previous state.
Remember that, for VSS to function, the system drive needs to be the NTFS type. It won’t work if you are still using FAT32. Anyway, post-Windows XP, the system drives have always been NTFS thereby allowing VSS to function without any problems.
According to Microsoft, VSS is defined as follows:
“The Volume Shadow Copy Service (VSS) is a set of COM interfaces that implements a framework to allow volume backups to be performed while applications on a system continue to write to the volumes.”
The definition stresses the fact that while other programs make you wait – sometimes for hours – for backup data or imaging, the VSS takes a few seconds (up to 60 seconds) to create an image of the system drive. The definition also specifies that you can continue working with other applications while VSS is running. In the case of backing up or imaging a computer drive using third-party programs, you have to wait until the operation is complete because you would not want to write to the hard disk drive that is being backed up.
Read: Use Vssadmin command-line to manage VSS.
How does VSS Work
There are three important functions called by VSS to create a snapshot:
- Freeze: For a moment, the Hard Disk is marked read-only so that nothing new can be written on it;
- Snap: Imaging the drive with parameters necessary to reconstruct that snap whenever necessary in the future;
- Unfreeze: Release the Hard Disk so that fresh data can be written to it. Since you continue to work while VSS is functioning, there may be another process that holds your input in some memory section until the Snap process is over.
The entire process is fast – so that you do not have to stop working. Going back to the definition, it takes up to a minute only to create a snapshot or a series of snapshots – depending upon the drive types and makes.
The Volume Shadow Copy Service in Windows provides two features:
- It stays side by side with the existing, working volume without interfering with or obstructing user applications;
- It provides an API for third-party programs to create an image and to restore the volume or part thereof – to a previous state that is stored as a snapshot or a set of snapshots.
That means that most of the third-party programs that we use for imaging the hard disks, employ the VSS service. It also means that if the VSS service is stopped, some of the third-party programs will not function – i.e., they will not be able to create a disk image.
You can also use ShadowExplorer to access & restore Shadow Copies.
TIP: This post will help you if you face a VSSVC.exe high disk usage issue.
Starting with Windows 8, Microsoft has introduced a feature called File History. File History saves copies of your Libraries, Desktop, Favorites, and Contacts so that you can get them back anytime if they are ever lost or damaged. While System Restore allows you to completely restore your computer to an earlier state, File History lets you restore your files and data from an earlier point in time.
Read: The VSS service is shutting down due to idle timeout.
Does Windows 11 have VSS?
Yes, Windows 11 has Volume Shadow Copy Service for the point-in-time copies of volumes that can be later on restored as per the requirement. To enable the service, open the Services app, look for Volume Shadow Copy Service, and then click on Start.
Read Next: Fix 0x80042304: The volume shadow copy provider is not registered in the system