Deleted crucial files help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ben0307
    PCHF Member
    • Jun 2017
    • 2

    #1

    Deleted crucial files help

    In trying to fix an error that frooze my pc I tried this fix http://www.tomshardware.co.uk/faq/id...ror-10016.html
    And deleted those 4 files, i didnt do a backup witch was a huge mistake and now i lost all my permisions. Anyone know if there is a way to solve this? I tried reformating my pc but it wont work, i dont get any errors but the reformate stops.
  • jmarket
    PCHF Owner
    • Jan 2015
    • 7635

    #2
    Hi Ben0307 and welcome to PCHF

    Have you rebooted the PC? A reboot is necessary to re-issue the permissions from DCOM

    Comment

    • Malnutrition
      PCHF Moderator
      • Jul 2016
      • 7041

      #3
      Originally posted by Ben0307
      I tried reformating my pc but it wont work, i dont get any errors but the reformate stops.
      Is the machine still able to boot, but you do not have permissions? If so, I am almost certain I can get things going for you…

      If this is the case, I’d like to see a set of FRST logs from the recovery environment.

      I would first like you to try a System Restore from the recovery console. Choose a point well before the issue. You can get there by following the instructions below. If you are unable to complete a system restore then go ahead and get me the logs from FRST so that I can see what is going on with your machine.

      [ul]
      [li]On a clean machine, please download FRST 64bit or FRST 32 bit and save it to a flash drive. Note: You need to run the version compatible with your system. Plug the flashdrive into the infected PC.[/li][li]If you are using Windows 8 consult How to use the Windows 8 & Windows 10 System Recovery Environment Command Prompt to enter System Recovery Command prompt. If you are using Vista or Windows 7 enter System Recovery Options. To enter System Recovery Options from the Advanced Boot Options:[/li]
      • [li]Restart the computer.[/li][li]As soon as the BIOS is loaded begin tapping the F8 key until Advanced Boot Options appears.[/li][li]Use the arrow keys to select the Repair your computer menu item.[/li][li]Select US as the keyboard language settings, and then click Next.[/li][li]Select the operating system you want to repair, and then click Next.[/li][li]Select your user account an click Next.[/li][/ul]
        Note: In case you can not enter System Recovery Options by using F8 method, you can use Windows installation disc, or make a repair disc. Any Windows installation disc or a repair disc made on another computer can be used. To make a repair disk on Windows 7 consult:This guide created by @gus To enter System Recovery Options by using Windows installation disc:

        [ul]
        [li]Insert the installation disc.[/li][li]Restart your computer.[/li][li]If prompted, press any key to start Windows from the installation disc. If your computer is not configured to start from a CD or DVD, check your BIOS settings.[/li][li]Click Repair your computer.[/li][li]Select US as the keyboard language settings, and then click Next.[/li][li]Select the operating system you want to repair, and then click Next.[/li][li]Select your user account and click Next.[/li][/ul]
        On the System Recovery Options menu you will get the following options: Startup Repair System Restore Windows Complete PC Restore Windows Memory Diagnostic Tool Command Prompt Select Command Prompt Once in the Command Prompt:

        [ul]
        [li]In the command window type in notepad and press Enter.[/li][li]The notepad opens. Under File menu select Open.[/li][li]Select β€œComputer” and find your flash drive letter and close the notepad.[/li][li]In the command window type e:\frst (for x64 bit version type e:\frst64) and press Enter Note: Replace letter e with the drive letter of your flash drive.[/li][li]The tool will start to run.[/li][li]When the tool opens click Yes to disclaimer.[/li][li]Press Scan button.[/li][li]It will make a log (FRST.txt) on the flash drive. Please copy and paste it to your reply.[/li][/ul]

      Comment

      • system
        PCHF Owner
        • Jan 2015
        • 7635

        #4
        Windows Vista/ 7/8/8.1/10 keep a regular backup of the registry handy in case you need to overwrite a corrupted registry. By default, the RegIdleBackup task runs every 10 days, so that’s as far back as you would lose if you replaced the current registry with the automatically backed-up files. You can find the backed-up registry files in \Windows\System32\config\RegBack folder.

        Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

        Please type below commands into Command Prompt and for each command you have typed press Enter key.

        Code:
        Ren C:\windows\system32\config\SAM SAM.BAK
        Ren C:\windows\system32\config\SYSTEM SYSTEM.BAK
        Ren C:\windows\system32\config\SECURITY SECURITY.BAK
        Ren C:\windows\system32\config\DEFAULT DEFAULT.BAK
        Ren C:\windows\system32\config\SOFTWARE SOFTWARE.BAK
        
        Copy C:\Windows\System32\config\RegBack\SAM C:\windows\system32\config
        Copy C:\Windows\System32\config\RegBack\SYSTEM C:\windows\system32\config
        Copy C:\Windows\System32\config\RegBack\SECURITY C:\windows\system32\config
        Copy C:\Windows\System32\config\RegBack\DEFAULT C:\windows\system32\config
        Copy C:\Windows\System32\config\RegBack\SOFTWARE C:\windows\system32\config
        This procedure assumes that Windows Vista/7/8/8.1/10 is installed to the C:\ partition. Make sure to replace C:\ drive letter to the appropriate Windows OS installed partition drive letter if it is a different location.

        Above commands renames the registry files at their existing location, and then copies the registry files from the RegBack folder to the C:\Windows\System32\Config folder.

        Comment

        • Ben0307
          PCHF Member
          • Jun 2017
          • 2

          #5
          Fixed it by running this https://social.technet.microsoft.com...w7itproinstall
          Basicly adding all the regedit files back.
          Thank you for all the responses!

          Comment

          • jmarket
            PCHF Owner
            • Jan 2015
            • 7635

            #6
            It appears that this issue is resolved, therefore I am closing the topic. If that is not the case and you need or wish to continue with this topic, please send me or any staff member a Personal Message (PM) that you would like this topic re-opened.

            Comment

            Working...