Table of Contents
Test Volume shadow copy once to check if its working now. Make sure to change the startup time to Normal startup once you are done with the troubleshooting this error.
There are a lot of other errors related to Volume shadow copy service. You can troubleshoot it using the commands shown in the next section of this post.
Vssadmin command
Ensure that the VSS writers are in Stable State
Ensure that you can see Registered Shadow Copy Providers
If you do not see providers listed after running the above command it could be OS related issue or the Volume Shadow Copy Service is not running.
List existing Volume Shadow Copies
Lists all shadow copy storage associations on the system.
Run below command to see all storage associations for the existing shadow copies. The default storage allocates 10% of the volume to the shadow copies.
Delete Shadow Copies using command line
wmic command example
Vssadmin delete shadows
Diskshadow command reference
Best Practices
Best Practice when configuring the Shadow Copy is to use a disk which will not be shadow copied and have enough free space to store the shadow copies as per the configuration. You get below message when setting it up which suggest the same.
Enable Shadow Copies
Теневое копирование тома (Volume Shadow Copy) – технология, используемая в операционных системах Windows и позволяющая копировать системные и заблокированные файлы, с которыми в данный момент времени ведется работа. Теневое копирование реализовано с использованием специальной службы VSS (Теневое копирование ) и системных драйверов для получения снимков томов (Volume Snapshot). Основным назначением теневого копирования является создание системных точек восстановления, архивных образов системы, и архивирования пользовательских данных (История файлов в Windows 8 / Windows 10). Технология теневого копирования применялась еще в ОС Windows XP/Server 2003 и, с некоторыми усовершенствованиями, продолжает использоваться во всех современных ОС семейства Windows.
Описание команды VSSADMIN.
1.1. Формат командной строки:
1.2. Поддерживаемые команды:
Примеры использования VSSADMIN.
2.1. Отобразить название, идентификатор и тип поставщика теневого копирования:
Пример отображаемой информации:
2.2. Отобразить список теневых копий:
2.3. Отобразить информацию о сопоставлении тома и теневой копии, а также использованного, выделенного и максимального объема дискового пространства для хранения копии тома:
2.4. Отобразить список существующих томов, для которых может быть включено теневое копирование, с указанием присвоенных букв и уникальными именами:
2.5. Отобразить список компонентов записи теневых копий:
Служба теневого копирования отправляет таким компонентам специальное оповещение о выполнении теневого копирования для того, чтобы они выполнили дополнительные операции по обеспечению целостности баз данных в сохраняемой теневой копии.
2.6. Команда удаления теневых копий отсутствует в ОС Windows Vista. В последующих версиях Windows может использоваться в нескольких вариантах:
2.8. Удалить самую старую теневую копию диска C:
При выполнении команды будет запрошено подтверждение на выполнение операции удаления.
2.9. Удалить самую старую теневую копию диска C:
При наличии параметра Quiet запрос подтверждения операции удаления не выдается.
2.10. Удалить теневую копию с указанным идентификатором:
При выполнении команд удаления теневых копий выполняется удаление соответствующих системных точек восстановления и моментальных снимков томов, используемых для получения предыдущих версий файлов и каталогов.
2.11. Команда изменения размера хранилища теневых копий имеет формат:
Команда выполняет изменение размеров сопоставления хранилища теневой копии тома между ForVolumeSpec и OnVolumeSpec.
Изменение размеров хранилища может привести к исчезновению теневых копий. As shadow copies are deleted, the storage size will decrease.
If MaxSizeSpec is set to UNBOUNDED, the size of the shadow copy storage is not limited.
The MaxSizeSpec parameter can be specified in bytes or as a percentage of the ForVolumeSpec storage volume size. If the MaxSizeSpec parameter is in bytes, its value must be at least 320MB; the following suffixes are allowed: KB, MB, GB, TB, PB and EB. The suffixes B, K, M, G, T, P, and E are also allowed. To set the MaxSizeSpec parameter value as a percentage, use the % sign as a suffix to the numeric value. If no suffix is specified, the value of MaxSizeSpec is in bytes.
Shadow copies are physically located in the system directory “C:System Volume Information” ( for drive C: )
The command that allows you to place the shadow copy storage on other partitions ( /For=C: /On=D: – for drive C: on drive D:) is only available for Windows server OS.
Vssadmin list shadows
Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Windows 8.1, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008
Lists all existing shadow copies of a specified volume. If you use this command without parameters, it displays all volume shadow copies on the computer in the order dictated by Shadow Copy Set.
Syntax
It has a library of associated commands for listing shadow copy writers and providers, creating and deleting VSS associations and copies, as well as resizing VSS associations. This post shows you how to effectively make use of these commands.
VSS components
Let’s explore the various VSS components and the tasks they perform on your server.
1] VSS requester
Examples of VSS requesters include the System Center Data Protection Manager and the Windows Server Backup program. The primary function of these components is to request for the VSS to take a shadow copy.
2] VSS writer
A storage volume is a crucial component of the VSS that holds the data that you are about to copy.
4] VSS provider
A source volume is where the system keeps the shadow copy storage files that the VSS provider uses.
When in the elevated Command Prompt, below are the commands for managing VSS. To run any, type it out and press ENTER.
System Restore Points contain the necessary information needed to restore your system to the chosen state. Restore points are automatically generated when you install a new app, driver, or Windows update, and generated when you create a restore point manually. In this post, we look at where system restore points are stored on a Windows 11/10 device, and how you can view these restore points.
Restore points are stored in the hidden protected OS System Volume Information folder in the root directory of each drive you have system protection turned on.
Read: How to add Create Restore Point item to Context Menu.
How to view Restore Points in Windows 11/10?
We can view or list restore points in Windows 11/10 in 3 quick and easy ways. We’ll explore this under the methods outlined below in this section.
1] See Restore Points via System Restore GUI
2] List available System Restore Points using Command Prompt
Note: The output of any of the commands will list all shadow copies (restore points) on all or specific drives. You will see the volume drive letter and shadow copy ID number for each one.
Read: How to download Cloud PC Restore Points
2] Use PowerShell to list available System Restore Points
Related post: How to use ShadowExplorer to access & restore Shadow Copies.