How To Restore The Registry After A Virus

Table of contents:

How To Restore The Registry After A Virus
How To Restore The Registry After A Virus

Video: How To Restore The Registry After A Virus

Video: How To Restore The Registry After A Virus
Video: How to Fix Corrupt Registry in Windows 10 2024, May
Anonim

Problems with the system registry of the Microsoft Windows operating system can occur both as a result of power outages and after exposure to certain malware. A blue screen of death or a warning about a corrupted configuration file are common signs that the registry needs to be restored.

How to restore the registry after a virus
How to restore the registry after a virus

Necessary

  • - Windows XP;
  • - Windows XP installation disc

Instructions

Step 1

Boot from the installation disc and press the R key while opening the installation wizard to launch the Recovery Console.

Step 2

Specify the operating system to be restored and enter the administrator password in the prompt window.

Step 3

Enter a value in the text box of the recovery service window:

md tmp

copy c: / windows / system32 / config / system c: / windows / tmp / system.bak

and press the Enter key.

Use the command:

copy c: / windows / system32 / config / software c: / windows / tmp / software.bak

and press the Enter key again.

Select the command:

copy c: / windows / system32 / config / sam c: / windows / tmp / sam.bak

and press the Enter key.

Enter value:

copy c: / windows / system32 / config / security c: / windows / tmp / security.bak

and use the Enter key.

Type the command:

copy c: / windows / system32 / config / default c: / windows / tmp / default.bak

and press the Enter key.

Use the above procedure to enter the following value:

delete c: / windows / system32 / config / system

Repeat the previous steps and enter a value:

delete c: / windows / system32 / config / software

Select the command:

delete c: / windows / system32 / config / sam

and use the Enter key.

Step 4

Using this algorithm, enter the following values in sequence:

delete c: / windows / system32 / config / security

delete c: / windows / system32 / config / default

copy c: / windows / repair / system c: / windows / system32 / config / system

copy c: / windows / repair / software c: / windows / system32 / config / software

copy c: / windows / repair / sam c: / windows / system32 / config / sam

copy c: / windows / repair / security c: / windows / system32 / config / security

copy c: / windows / repair / default c: / windows / system32 / config / default, using the Enter function key after each command.

Step 5

Enter the value exit to exit the Recovery Console tool and start an automatic reboot.

Step 6

Use the "Start" button to launch the main menu of the system and select the "Turn off computer" command.

Step 7

Specify the "Restart" command and confirm your choice by pressing the OK button.

Step 8

Press F8 and point to Safe Mode using the arrow keys.

Step 9

Press the Enter function key to execute the command and select the required operating system.

Step 10

Expand the Tools menu on the top Windows Explorer toolbar and go to Folder Options.

Step 11

Select the "View" tab in the new dialog box and check the box next to "Show hidden files and folders" in the "Hidden files and folders" group.

Step 12

Uncheck the box "Hide protected system files (recommended)" and confirm your choice by clicking "Yes" in the request window.

Step 13

Open the disk containing the operating system by double-clicking and navigate to the System Volume Information folder.

Step 14

Specify the "Table" item in the "View" menu of the upper toolbar of the program window and open the _restore folder with an earlier creation date.

Step 15

Locate the RPx system restore point folders and select the Snapshot folder it contains.

Step 16

Create copies of the files:

- _Registry_User_Default;

- _Registry_Machine_Security;

- _Registry_Machine_Software;

- _Registry_Machine_System;

_Registry_Machine_Sam

in the C: / Windows / Tmp folder, renaming them accordingly to

- Default;

- Security;

- Software;

- System;

- Sam.

Step 17

Return to the Recovery Console tool and enter the command:

del c: / windows / system32 / config / sam

into the text box. Apply the Enter key.

Select the command:

del c: / windows / system32 / config / security.

Use the Enter key.

Enter value:

del c: / windows / system32 / config / software

and press the Enter key.

Step 18

Following this algorithm, enter the following values in sequence:

del c: / windows / system32 / config / default

del c: / windows / system32 / config / system

copy c: / windows / tmp / software c: / windows / system32 / config / software

copy c: / windows / tmp / system c: / windows / system32 / config / system

copy c: / windows / tmp / sam c: / windows / system32 / config / sam

copy c: / windows / tmp / security c: / windows / system32 / config / security

copy c: / windows / tmp / default c: / windows / system32 / config / default, using the Enter function key after each command.

Step 19

Enter Exit and use the Enter key to shut down the console and automatically reboot.

Step 20

Return to the main Start menu and select All Programs.

21

Select the item "Standard" and expand the link "Service".

22

Go to System Restore and check the box next to Restore your computer to an earlier state.

Recommended: