Skip to main content

Volume Shadow Copy Service - VSS

Volume Shadow Copy:

A Volume Shadow Copy Service-based backup (VSS-based backup) is a Windows service that captures and creates snapshots called shadow copies. VSS, also known as Volume Snapshot Service, operates at the block level of the file system and enables virtual server backup in Microsoft environments.

VSS has three components:

Requestor—The application that requests the creation of a shadow copy.
Provider—The interface that provides the functionality to actually make the shadow copy.
Writer—Application-specific software that acts to ensure that application data is ready for shadow copy creation.

Requestors, providers, and writers communicate in the VSS framework to create and restore volume shadow copies. A shadow copy of a volume duplicates all the data held on that volume at one well-defined instant in time.

A requestor initiates the backup and restore processes. The provider controls the processes and instructs a writer to prepare a dataset for backup. When everything is ready, a requestor then instructs a provider to create a shadow copy.

Windows Longhorn Server includes a software-based provider and a general file system writer. The Backup program can communicate with these default VSS components to perform general file system shadow copy backups.

Below are the steps to reset the VSS writers:

net stop "System Event Notification Service"
net stop "Background Intelligent Transfer Service"
net stop "COM+ Event System"
net stop "Microsoft Software Shadow Copy Provider "
net stop "Volume Shadow Copy"
cd /d %windir%\system32
net stop Vss
net stop swprv
regsvr32 /s ATL.DLL
regsvr32 /s comsvcs.DLL
regsvr32 /s credui.DLL
regsvr32 /s CRYPTNET.DLL
regsvr32 /s CRYPTUI.DLL
regsvr32 /s dhcpqec.DLL
regsvr32 /s dssenh.DLL
regsvr32 /s eapqec.DLL
regsvr32 /s esscli.DLL
regsvr32 /s FastProx.DLL
regsvr32 /s FirewallAPI.DLL
regsvr32 /s kmsvc.DLL
regsvr32 /s lsmproxy.DLL
regsvr32 /s MSCTF.DLL
regsvr32 /s msi.DLL
regsvr32 /s msxml3.DLL
regsvr32 /s ncprov.DLL
regsvr32 /s ole32.DLL
regsvr32 /s OLEACC.DLL
regsvr32 /s OLEAUT32.DLL
regsvr32 /s PROPSYS.DLL
regsvr32 /s QAgent.DLL
regsvr32 /s qagentrt.DLL
regsvr32 /s QUtil.DLL
regsvr32 /s raschap.DLL
regsvr32 /s RASQEC.DLL
regsvr32 /s rastls.DLL
regsvr32 /s repdrvfs.DLL
regsvr32 /s RPCRT4.DLL
regsvr32 /s rsaenh.DLL
regsvr32 /s SHELL32.DLL
regsvr32 /s shsvcs.DLL
regsvr32 /s /i swprv.DLL
regsvr32 /s tschannel.DLL
regsvr32 /s USERENV.DLL
regsvr32 /s Vss_ps.DLL
regsvr32 /s wbemcons.DLL
regsvr32 /s wbemcore.DLL
regsvr32 /s wbemess.DLL
regsvr32 /s wbemsvc.DLL
regsvr32 /s WINHTTP.DLL
regsvr32 /s WINTRUST.DLL
regsvr32 /s wmiprvsd.DLL
regsvr32 /s wmisvc.DLL
regsvr32 /s wmiutils.DLL
regsvr32 /s wuaueng.DLL
Cd /d %systemroot%\syswow64
regsvr32 /s ole32.dll
regsvr32 /s Vss_ps.dll
regsvr32 /s es.dll
regsvr32 /s stdprov.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml4.dll
net start "COM+ Event System"
sfc /SCANFILE=%windir%\system32\catsrv.DLL
sfc /SCANFILE=%windir%\system32\catsrvut.DLL
sfc /SCANFILE=%windir%\system32\CLBCatQ.DLL
net start "COM+ Event System"

Comments

Popular posts from this blog

Microsoft-Windows-User Profiles Service / Id: 1511

Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off. Cause: This event can be caused by the following issues:   Your local profile is corrupt. You no longer have adequate privileges to the profile folders. User profile was deleted manually or by other means. A profile that is manually deleted does not remove the Security Identifier (SID) from the profile list in the registry. If the SID is present, Windows will try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded. Occasionally, Windows might not read your user profile correctly, for example, if your antivirus software is scanning your computer while you try to log on. Resolutions 1) Sign out and restart the computer Try restarting your computer and signing on with your user account again to resolve the issue. 2) Delete the error SID and ...

Apply Azure monitoring metrics using PowerShell

Azure Monitor - Apply Azure monitoring metrics using PowerShell  #Creating an action group as an object $action = [Microsoft.Azure.Management.Monitor.Management.Models.ActivityLogAlertActionGroup]::New("/subscriptions/SubscriptionIDUpdatehere/resourceGroups/alert/providers/Microsoft.Insights/actiongroups/alertaction") #Setting up condition as an object $condition1 = New-AzMetricAlertRuleV2Criteria `  -MetricName "Percentage CPU" `  -MetricNameSpace "Microsoft.Compute/virtualMachines" `  -TimeAggregation Average `  -Operator GreaterThan `  -Threshold 96 $condition2 = New-AzMetricAlertRuleV2Criteria `  -MetricName "Available Memory Bytes" `  -MetricNameSpace "Microsoft.Compute/virtualMachines" `  -TimeAggregation Average `  -Operator LessThan `  -Threshold 1000000000 $condition3 = New-AzMetricAlertRuleV2Criteria `  -MetricName "Data Disk IOPS Consumed Percentage" `  -MetricNameSpace "Microsoft.Compute/virtualMachines" ...

Useful Open Manage Server Administrator(omreport) commands for Dell server

The Open Manage command line interface allows you to check the state of your hardware and do hardware settings. Below commands are quick reference for Dell server, you can always use "omhelp omreport" commands to show help manual of "omreport". 1. System component properties. System logs omreport system alertlog  --View alert log. omreport system esmlog    --View hardware (Embedded System Management) log. omreport system cmdlog    --View command log. OS omreport system operatingsystem Summary of all system components(Including major components versions) omreport system summary Version report for all updateable components. (Including BIOS,OS and controller versions) omreport system version 2. Chassis component properties. Power (Check power peak stats and threshold) omreport chassis pwrmonitoring Check power capacity omreport chassis pwrmanagement Power health status omreport chassi...