Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5033
  • Last Modified:

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)
0
worsnoptr
Asked:
worsnoptr
  • 2
  • 2
1 Solution
 
Michael PfisterCommented:
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
0
 
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.

Thanks
0
 
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.
0
 
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
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now