Powershell

I opened up Pandora’s box and found more goodies! 

Did you know you can easily Enable and Disable Monitoring on your Windows drives with Powershell?  the same feature which offers “Shadow Copy restores” ?

By default it’s normally enabled on Drive C:, but let’s say this is a Server Environment.   You deploy them on a habitual basis, and like any good IT Pro, you keep the DATA from the SYSTEM.

But out of the Box, anything other than C: does not have system Restore enabled.  So normally that means, GUI, Right click, find option… AIGHAHGAHHHGA!!

 

But not with Powershell

In Powershell it’s just run as Administrator and

ENABLE-COMPUTERRESTORE DriveLetter

and

DISABLE-COMPUTERRESTORE DriveLetter

 

EASY!

So if you’re running a Domain Controller by default you might want to shut off the Volume tracking feature because you DON’T want “previous versions” available to alter your SYSVOL structure.  That’s just a mess waiting to happen.

So

DISABLE-COMPUTERRESTORE C:

And if all of your data is sitting on the new Drive E: and needs to be monitored so you CAN do “Previous versions”

ENABLE-COMPUTERRESTORE E:

There!

Your work is done! Now relax and break out the bubbly!

Sean
The Energized Tech