Friday, December 31, 2010


Enable System Protection From Command Line

Swtiched my PC on, and found it wouldn't boot, crashing during bootup, with a brief flash of a blue-screen message. Is there a way to enable the system protection of the drive C (where the OS is instalated), from the command prompt option, that is available under the system recovery.?
My real problem is that when I start the system restore option, just after the selection of the restore selection point, when Its the time to confirm the disk to restore, it says "You must enable system restore protection on this drive"!!! and I cannot do it!!
Now, how do we activate the system protection. And how can we do it from a command line? Just its not even possible to boot in safe mode. As booting in safemode also crashes on startup.

Put the following commands into Powershell file and add Powershell task at the end, if you use Microsoft Deployment Toolkit (MDT).

enable-computerrestore -drive "c:\"
vssadmin resize shadowstorage /on=c: /for=c: /maxsize=5%
checkpoint-computer -description "Done"

PS is PowerShell.
MDT is Microsoft Deployment Toolkit 2010.


About bench3 -

Haja Peer Mohamed H, Software Engineer by profession, Author, Founder and CEO of "bench3" you can connect with me on Twitter , Facebook and also onGoogle+

Subscribe to this Blog via Email :


Write comments