Solved

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

Posted on 2008-09-29
4
4,290 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

948 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

23 Experts available now in Live!

Get 1:1 Help Now