Solved

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

Posted on 2008-09-29
4
4,214 Views
Last Modified: 2010-04-21
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
Comment
Question by:worsnoptr
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 500 total points
ID: 22604486
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
 

Author Comment

by:worsnoptr
ID: 22618793
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
 

Author Closing Comment

by:worsnoptr
ID: 31501364
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
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 22621980
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I know all systems administrator at some time or another has had to create a script to copy file from a server share to a desktop. Well now there is an easy way to do this in Group Policy. Using Group policy preferences is not hard. The first thing …
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now