GPO to enable and or configure Volume shadow copy on my servers D drive VSS.

I would like to enable VSS on the D drive of all of the servers in my domain using a GPO or any other mass implementation method (scripting third party tool whatever)
Who is Participating?
Michael PfisterConnect With a Mentor Commented:
I'd rather remotely execute the required command line statements:

First you need to create the shadow copy area (Adjust the MaxSize parameter to your needs):

vssadmin Add ShadowStorage /For=D: /On=D: /MaxSize=900MB

Next create scheduled tasks to take the snapshots:

schtasks /create /RU SYSTEM /SC Daily /TN MySnap1  /TR "vssadmin create shadow /For=D:" /ST 09:00:00
schtasks /create /RU SYSTEM /SC Daily /TN MySnap2  /TR "vssadmin create shadow /For=D:" /ST 15:00:00

Hope it helps
worsnoptrAuthor Commented:
That should work for me i can put the computers i want to enable in a hosts.txt and the modified commands into a VSS.bat then run psexec @hosts.txt -u domain\user -p password -c VSS.bat and that should let me set it up on all of my servers.

worsnoptrAuthor Commented:
I tested it out and it worked fine. it doesn't show volume shadow copy enabled when i go to the Volume Shadow Copy tab but the snapshots are there so what the hay.
Michael PfisterCommented:
Never checked how the volume shadow copy tab is connected to the tasks in scheduler. I assume its stored somewhere in the registry. But as you said: "what the hay"

Thanks for the points
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.