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.
Solution:
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"
Note:
PS is PowerShell.
MDT is Microsoft Deployment Toolkit 2010.
4 comments
Write commentsThank you, This really helped me out.
Replyhow do you access Powershell?
ReplyIf it is Windows 7 Type Powershell in start menu search, and you will find it. Or, just browse through the programs in Start Menu. if it is not found, you have to install Poershell! http://technet.microsoft.com/en-us/windowsserver/bb512919
Replysupra shoes
Replycoach outlet
longchamp outlet
polo ralph lauren
replica rolex watches
michael kors outlet
adidas neo
prada outlet
nike outlet
salomon shoes
chenlina20170612