Windows 10 how to create shadow storage on another drive without vssadmin create

6.8k Views Asked by At

I want to create shadow storage for one drive on another using Windows 10. For server windows editions, there is:

vssadmin add shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]

The add command is missing in Windows 10, how would one go about it?

There are some Powershell commands available, but I could not make them work.

(Get-WmiObject -list win32_ShadowStorage).Create('C:\','D:\','3000000000')
1

There are 1 best solutions below

1
LED4 On

VSSAdmin only has the "create" option on a Windows Server. Instead, you will have to make use of a PowerShell script to create the shadow.

powershell.exe -Command (gwmi -list win32_shadowcopy).Create('E:\','ClientAccessible')

Since this just makes use of the Win32_ShadowCopy class in WMI, you can use other methods to create the shadow. This includes the "wmic" utility.

wmic shadowcopy call create Volume='E:\'