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

Page 3 of 6 FirstFirst 12345 ... LastLast

  1. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #21

    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 Computer


  2. Posts : 22
    windows 7 home premium 64 bit
    Thread Starter
       #22

    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...
    Last edited by Green18; 17 Jan 2013 at 03:53. Reason: added smth
      My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #23

    Green18 said:
    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 Computer


  4. Posts : 22
    windows 7 home premium 64 bit
    Thread Starter
       #24

    This here helped a lot of people:

    jbaileyn said:
    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 Computer


  5. Posts : 22
    windows 7 home premium 64 bit
    Thread Starter
       #25

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

    Kaktussoft said:
    Green18 said:
    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 Computer


  6. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #26

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

    Kaktussoft said:
    Green18 said:
    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 Computer


  7. Posts : 22
    windows 7 home premium 64 bit
    Thread Starter
       #27

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

    The booting problems showed up th 10th...
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #28

    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?
    Last edited by Kaktussoft; 17 Jan 2013 at 04:49.
      My Computer


  9. Posts : 22
    windows 7 home premium 64 bit
    Thread Starter
       #29

    worked so far =D
    Now i m being asked: overwrtie C:\windows\sytem32\config\DEFAULT? <yes/no/all>
    Shell I tpe <Yes> now?
      My Computer


  10. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #30

    Green18 said:
    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 Computer


 
Page 3 of 6 FirstFirst 12345 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 11:22.
Find Us