Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Enable System Protection on Local Disk (C:) with CMD


16 Jan 2013   #21
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

check disk is fine. Offline SFC doesn't work. memory is fine. startup repair doesn't find anything. system restore doesn't work. "last good known config" doesn't work. What did you do just before this problem started?

Code:
diskpart
sel vol c
det part
exit
Is it active?


My System SpecsSystem Spec
.

17 Jan 2013   #22
Green18

windows 7 home premium 64 bit
 
 

Yes it is active.... + "Status: Healthy"

A day before this problem occured I broke up a Windows update.
Next night I fell a sleep while the netbook was still running.
There were programs running like firefox, skpe, spotify.. mabybe even more.
When I woke up there was this System Repair sreen.
What may have happend is that I cut the electricity from the power socket and the battery was emptied at some point that night.
It may be that since I broke up the Windows update (which was a really studpid idea, but was necessary at the time) I onl ever put the netbook on standbye. So that night it shut down the first time after the update breakup.

I read a lot about people having the same problem after an Windows Update...
My System SpecsSystem Spec
17 Jan 2013   #23
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Green18 View Post
Yes it is active.... + "Status: Healthy"
In windows recovery environment->command prompt

Code:
c:
cd  \Windows\System32\config\RegBack
dir
What date/time have these files? You see these files?
04-01-2013 14:46 589.824 DEFAULT
04-01-2013 14:46 176.128 SAM
04-01-2013 14:46 32.768 SECURITY
04-01-2013 14:46 62.763.008 SOFTWARE
04-01-2013 14:46 22.085.632 SYSTEM

Is size of the files larger then 10.000?
My System SpecsSystem Spec
.


17 Jan 2013   #24
Green18

windows 7 home premium 64 bit
 
 

This here helped a lot of people:

Quote   Quote: Originally Posted by jbaileyn View Post
Sure, GTXND. Forgive me if I oversimplify but I'll include each step in case you're not familiar with navigating command lines (I was a tech support guy in college 20 years ago; old habits die hard). Also, changing registry files can be VERY DANGEROUS... I would only do it as a last resort before reinstalling Windows 7.

I first booted from the Windows 7 install disc to get to the system recovery console. I then selected Command Line. From there, I had to change from the X: drive to the C: drive by typing "C:". I then typed "cd \windows\system32\config" to get to the registry file directory. By typing "dir" I could see that two of the five hive files (default, sam, security,software, and system) had recent copies with an "rmbak" extension: default.rmbak and software.rmbak. I then executed the following commands:

ren software software.bak
copy software.rmbak software

ren default default.bak
copy default.rmbak default

I would suggest you execute the "ren" then "copy" commands as above for any other hives that have "rmbak" backups with the same date/time stamp. This ensures your registry remains in sync. You can now reboot and see if your computer comes up.

Here is an alternative suggestion if you don't have these "rmbak" files (if the above worked, don't do these steps; these would be a last-last resort before reinstalling Windows 7). From where we left off above type "dir RegBack". See what the time/date stamp is on the hive files there. If recent (use your judgment; mine is a couple days old so I would have probably used it had I not had the rmbak files, as I hadn't installed much in that time), you could do the following to restore that backup registry:

ren default default.bak
ren sam sam.bak
ren security security.bak
ren software software.bak
ren system system.bak
copy RegBack\*.*

Reboot and see what happens. If this worked, you may have to reinstall any software that was installed after the time/date stamps of the files in the RegBack directory.

One final note: I did try to restore to an earlier restore point once I made the above fixes. It kept coming up with an error. Therefore, I suggest creating a new restore point once the computer recovers, just so you have a clean one.

Unfortunatley I was not able to find out how to type in these steps (of the second option):

ren default default.bak
ren sam sam.bak
ren security security.bak
ren software software.bak
ren system system.bak

What exactl does one have to type into the cmd here?
My System SpecsSystem Spec
17 Jan 2013   #25
Green18

windows 7 home premium 64 bit
 
 

Yes everthing is larger than 10.000. Above DEFAULT it also lists " . " and " . . " these files have no size...

Quote   Quote: Originally Posted by Kaktussoft View Post
Quote   Quote: Originally Posted by Green18 View Post
Yes it is active.... + "Status: Healthy"
In windows recovery environment->command prompt

Code:
c:
cd  \Windows\System32\config\RegBack
dir
What date/time have these files? You see these files?
04-01-2013 14:46 589.824 DEFAULT
04-01-2013 14:46 176.128 SAM
04-01-2013 14:46 32.768 SECURITY
04-01-2013 14:46 62.763.008 SOFTWARE
04-01-2013 14:46 22.085.632 SYSTEM

Is size of the files larger then 10.000?
My System SpecsSystem Spec
17 Jan 2013   #26
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Green18 View Post
Yes everthing is larger than 10.000. Above DEFAULT it also lists " . " and " . . " these files have no size...

Quote   Quote: Originally Posted by Kaktussoft View Post
Quote   Quote: Originally Posted by Green18 View Post
Yes it is active.... + "Status: Healthy"
In windows recovery environment->command prompt

Code:
c:
cd  \Windows\System32\config\RegBack
dir
What date/time have these files? You see these files?
04-01-2013 14:46 589.824 DEFAULT
04-01-2013 14:46 176.128 SAM
04-01-2013 14:46 32.768 SECURITY
04-01-2013 14:46 62.763.008 SOFTWARE
04-01-2013 14:46 22.085.632 SYSTEM

Is size of the files larger then 10.000?
what date/time have these files, so how long ago where they made? Were you able to boot without any problems after that date/time?
My System SpecsSystem Spec
17 Jan 2013   #27
Green18

windows 7 home premium 64 bit
 
 

The files are from the 5th of january. (07:33 pm) The update was the 9th.

The booting problems showed up th 10th...
My System SpecsSystem Spec
17 Jan 2013   #28
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Code:
c:
cd  \Windows\System32\config
Now make copy of current registry stuff. Just to be safe. You can revert back to what it was
copy  default   *.mybak
copy  sam  *.mybak
copy  security  *.mybak
copy  system   *.mybak
copy  software *.mybak
dir  *.mybak
All 5 files are copied succesfully? Is so continue
Code:
copy/y  regback\*.*
5 files copied succesfully?
My System SpecsSystem Spec
17 Jan 2013   #29
Green18

windows 7 home premium 64 bit
 
 

worked so far =D
Now i m being asked: overwrtie C:\windows\sytem32\config\DEFAULT? <yes/no/all>
Shell I tpe <Yes> now?
My System SpecsSystem Spec
17 Jan 2013   #30
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Green18 View Post
worked so far =D
Now i m being asked: overwrtie C:\windows\sytem32\config\DEFAULT? <yes/no/all>
Shell I tpe <Yes> now?
of course say yes for all overwrites! Be sure to answer yes. even better say All. Or user copy/y instead. It doesn't ask for confirmation
My System SpecsSystem Spec
Reply

 Enable System Protection on Local Disk (C:) with CMD




Thread Tools



Similar help and support threads for2: Enable System Protection on Local Disk (C:) with CMD
Thread Forum
Screen Saver Password Protection -Enable or Disable Tutorials
Activating an local partition to the protection system in audit mode Installation & Setup
System Protection - Change Disk Space Usage Tutorials
Trying to remove Windows system file protection from 2nd disk General Discussion
Attempts to enable Windows System Protection fail Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:14 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App