Solved

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

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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