Windows 7 File Recovery Wizard. Checking and restoring the integrity of Windows system files


How to recover damaged files in Windows XP:

There are times when it is necessary restore damaged or deleted Windows XP system files. System files have every chance of being deleted, corrupted, or replaced with infected files as a result, for example, of viruses. Frequent cases of defect system files when the computer is turned off incorrectly (as an option, when the lights are turned off) due to errors in the file system.

Below you will get the answer to the question: How to recover damaged system files without reinstalling the Operating System.

The method is suitable for cases where it is known which system files will need to be returned.

If the PC stops booting after an incorrect shutdown (power outage, turning off with a button, unplugging the power cord from the outlet), you first need to check HDD for the presence of logical errors.

The recovery process involves copying from installation disk Windows XP required system files. The Windows distribution contains all the system files. They are located in the I386 folder. All necessary files on the installation disk are written in compressed form and have an extension of the form .dl_ .ex_, etc.. I.e. the last character is replaced with an underscore.

We will need to unpack the files removed from the system from the installation Windows disk to the folder where they should be present. In case you don't have windows distribution, Can download archive with folder I386 for 32-bit Windows versions XP.

To return system files you need to boot from a bootable CD, for example ERD Commander. . You can burn a disk image using free ISO programs Burner(you can download follow this link)

Let's look at how to unpack system files from a Windows installation disk using the example of restoring the file C:\Windows\System32\userinit.exe, which is often replaced with banners blocking Windows. The process of restoring damaged system files from the installation disk is not fundamentally different for other files. The main thing is to know in which folder this or that file is located.

Booting from disk ERD Commander. Select a download ERD Commander 5.0 for Windows XP. In the window that appears at the end of the download, select the path to the installed Windows OS and click OK.

Open My Computer. Insert the Windows installation CD. From the I386 folder, copy the required system files with the extension dl_ or ex_ to the folder where they should be present in installed system. For us, this is the USERINIT.EX_ file. Copy USERINIT.EX_ from the I386 folder to the C:\Windows\System32\ folder. To achieve the desired result, right-click on the USERINIT.EX_ file and in context menu choose Copy to.

In the window that appears, select the path C:\Windows\System32 and click OK.

After the file is copied to the system folder, you will need to unpack it. Unpacking system files with the extension dl_ or ex_ from the Windows installation disk is done using the expand command.

Command syntax: expand [source file] [target file]

To run the command, you will need to launch the Command Prompt. From the Start menu, select Run. In the window that appears, enter cmd command and press Enter.

In the command line window, enter the command to unpack our file: expand c:\windows\system32\userinit.ex_ c:\windows\system32\userinit.exe and press Enter.

Unpacking will be completed, as indicated by the text: “c:\windows\system32\userinit.ex_: 11863 bytes expanded to 26624 bytes”. System file recovery was successful. Now you can restart your PC.

Any other Windows system file can be restored in the same way.

How to restore corrupted Windows 7 system files without reinstalling the system.

Now let's look at how to restore system files in Windows 7.

We boot from the "ERD-Commander" disk (in the menu on the disk when loading, you must select the version for Windows 7) Disk image.

In the network settings window, select "Skip", and confirm the reassignment of disks. Next, choose the path to system folder Windows.

Let's launch "recovery tools" MSDaRT.

Select from the menu "System File Checker"

Click "Fare"

Select an item "Scan and query before fixing"- click "Further"

Eventually it will start the process of searching for damaged or deleted Windows 7 system files. It can last about 5 minutes. When the process is completed, a list of damaged or deleted files will appear. Windows files. We tick the files that we want to recover and click "Further".

Will begin Windows 7 system file recovery process, after which a window will appear recovery results. Click "Further" and in the next window - "Ready".

Keep in mind!

You need to be careful when choosing files to recover , especially when using pirated version, or assemblies Windows.

It is possible that certain system files will be changed so that Windows does not ask for activation. Recovery tool may consider these files corrupted and will replace them with the original ones, which is why Windows may display a message during its loading about an unlicensed version of your Operating System. In case of restoring system files after removing the banner, select files to restore from the table below.

Windows system files and the folders in which they should be located:

Here are specific Windows system files and the folders where they should be located. By the way, if you found specific file, but in a different folder, most likely it’s a virus! (except for the folder c:\windows\system32\dllcache).

File Folder
explorer.exe c:\windows
iexplorer.exe c:\windows
regedit.exe c:\windows
notepad.exe c:\windows
userinit.exe c:\windows\system32
taskmgr.exe c:\windows\system32
taskman.exe c:\windows\system32
cmd.exe c:\windows\system32
logonui.exe c:\windows\system32
winlogon.exe c:\windows\system32
System File Checker ( System File Checker), built into Windows, can check system files for damage and any other changes. If the file has been modified, the utility will automatically replace it with the correct version.

When to use these commands

These commands will be useful when diagnosing a faulty operating system Windows. If the system issues blue screen, applications crash or some do not work system functions, the SFC team can help. Even if executing the SFC command does not fix anything, this will allow you to verify that the system files are not damaged and you can continue diagnostics in other ways.

The DISM command is not required under normal circumstances. But if the SFC command fails or fails to replace damaged files with normal ones, DISM or System Update Readiness Tool can fix the operating system itself and allow the SFC command to run normally.

Fixing system files with the SFC command

The SFC command must be run as an administrator. To do this, on Windows 10 or 8.1, click right click Click on the Start icon and select the Command Prompt (Admin) option. Additionally, in all versions of Windows, you can search in the Start menu/on home screen according to " command line", right-click on the desired link and select "Run as Administrator".

For full check system type in the command prompt window next command and press :

Do not close the window until the command completes. The process can be quite lengthy. If everything is in order, after the check the message “Protection Windows resources“Windows Resource Protection did not find any integrity violations.”

If you see the message "Windows Resource Protection found corrupt files but was unable to fix some of them", first try booting your system into safe mode. In Windows 10, 8.1 or 8, to do this, hold down the key when selecting the “Restart” option in the shutdown menu to get to the selection screen additional parameters downloads. On Windows 7 and above earlier versions Restart your computer and hold down the key during startup. After booting into safe mode, run the sfc /scannow command again.

Fixing SFC problems with the DISM command

On Windows 10, 8.1, and 8, fix component store corruption that prevents normal operation SFC, you can use the Deployment Image & Servicing Management (DSIM) tool.

To run this tool, open a Command Prompt window as an administrator, type the following command, and click . DISM will check the storage Windows components for damage and will automatically fix any detected problems.

DISM /Online /Cleanup-Image /RestoreHealth

Do not close the Command Prompt window until the process is complete. The verification may take up to 10 minutes. If the progress bar stays at 20% for a long time, don’t worry, this is normal.

If any changes are made as a result of running the DISM command, restart your computer. After that do it again SFC team, and it will be able to replace the damaged files with the correct ones.

In Windows 7 and earlier versions, the DISM command is not available. Instead, you can download from the official website Microsoft Tool checking the system's readiness for an update, which allows you to check the system for problems and try to fix them.

Restoring the system or restoring it to its original state

If problems persist and these tools cannot fix them, you can take more radical measures. System Restore allows you to return Windows to its original state. early state, which will solve the problem if the operating system was still working in that state.

You can also reset Windows to its factory state or reinstall it. In Windows 10, 8.1 and 8, you can use the Computer Restore (Restore) feature, which allows you to return Windows to its original state. After this you will have to reinstall all programs, but user files will not be harmed. In Windows 7 and earlier, you should use a recovery partition created by your computer manufacturer, or simply reinstall Windows from scratch.

If you encounter other errors when running the commands described above, try searching for their description on the Internet. Often the command output contains information about log files, in which more information can be found. details about certain problems. And in the end, it is not at all necessary to waste time on diagnostics complex problems when you can just restore factory condition or reinstall Windows.

The commands described above have other capabilities. For example, you can use SFC to check and fix individual system files. And with using DISM can be done quick check system without a patch, or point the utility to a WIM or ESD file containing Windows system files.

Materials

Quite often it happens that it is necessary to recover damaged, deleted system files in Windows. Damage and deletion of system files are caused by viruses, inexperience of users using the operating system and a number of other factors, when the computer is turned off incorrectly, etc.

In this article I will tell you how to restore system files in Windows. By following these instructions, you can always restore almost any system file. Therefore, try to delve into the article, understand what’s what...

#1 Recovering system files in the Windows XP operating system! When you know which system files need to be restored.

If your computer stops booting after an incorrect shutdown of the computer (power outage, shutdown with a button), first of all you need to check the hard drive for logical errors.

The process of restoring system files in the operating room Windows system consists of copying from the installation disk "Windows XP" necessary system files. In folder "I386" Windows distribution contains all the system files of the operating system. They are written in compressed form and have an extension like ".dl_" ".ex_" and so on. That is, the last character is replaced with an underscore.

We need to unpack the files removed from the system from the Windows installation disk into the folder where they should be located. If you don't have a windows distribution, you can download “archive with folder I386” or for 32-bit version of Windows XP.

To restore system files, you need to boot from a bootable CD, such as ERD Commander or LiveCD by Alkid.

  1. Download disk image "ERDC.iso" you can here or
  2. Download disk image "Live CD by Alkid" or

Now let's get down to it important stage. How to unpack system files from a Windows installation disk, using the example of file recovery "C:\Windows\System32\userinit.exe", quite often this particular file is replaced by ransomware viruses and banners that block Windows. The process of restoring system files from the installation disk is no different for other files. The main thing is to have information in which folder this or that file we need should be located.

Booting from disk "ERD Commander". Select a download "ERD Commander 5.0 for Windows XP". In the window that appears at the end of the download, select the path to the installed Windows OS and click "OK".

Opening "My computer". Insert the Windows installation CD. From folder "I386" copy the necessary system files with the extension "dl_" or "ex_" to the folder where they should be located on the installed system. In our case this is the file "USERINIT.EX_". Copy "USERINIT.EX_" from folder "I386" to a folder "C:\Windows\System32\". To do this, right-click on the file "USERINIT.EX_" and in the context menu select "Copy to".

In the window that appears, you need to select the path "C:\Windows\System32" and press "OK".

After the system file is copied to the folder we need, we need to unpack it. Unpacking system files with the extension "dl_" or "ex_" from the Windows installation disk is performed using the command « expand» .

Command syntax: "expand [source file] [target file]"

To run the command, you must launch a command prompt. On the menu "Start" select an item "Run". In the window that appears, enter the command "cmd" and press "Enter". In the command line window, enter the command to unpack our file: "expand"

  1. "c:\windows\system32\userinit.ex_"
  2. "c:\windows\system32\userinit.exe"

and press "Enter".

Unpacking will complete, as evidenced by the text: "c:\windows\system32\userinit.ex_: 11863 bytes expanded to 26624 bytes". System file recovery was successful. Now you can restart your computer.

That's all! All other system files in the Windows XP operating system are also restored

No. 2 How to restore damaged system files in the Windows 7 operating system?

Now let's look at the process of restoring system files in Windows 7. It is different from restoring system files in Windows XP.

Booting from disk "ERD Commander"(select the version for seven in the disk menu when loading). Download disk image "ERDC.iso" you can here or

We answer the question about setting up the network « Skip", and confirm the reassignment of drive letters, after which we select the path as the Windows folder.

The next thing we do is launch the recovery toolkit. "MSDaRT".

To continue the wizard, click "Further"

Select an item "Scan and query before fixing" and press "Further"

The process of searching for damaged and deleted Windows 7 system files will begin. It may take some time (from 5 to 30 minutes). After the Operating System is scanned, a list of damaged or deleted files. We put a check mark on the files that we want to restore and click "Further".

The recovery wizard will consider these files corrupted and replace them with the original ones, as a result of which Windows may begin to display a message about a non-licensed version of Windows when loading.

If you are restoring system files after removing the banner, select the system files to restore from the table below.

Windows system files and the folders where they should be located

Below are some Windows system files and the folders where they should be located. Keep in mind that if you find the corresponding file and it is located in a different folder, most likely it is a virus. (except for the folder: c:\windows\system32\dllcache).

File Folder
explorer.exe c:\windows
iexplorer.exe c:\windows
regedit.exe c:\windows
notepad.exe c:\windows
userinit.exe c:\windows\system32
taskmgr.exe c:\windows\system32
taskman.exe c:\windows\system32
cmd.exe c:\windows\system32
logonui.exe c:\windows\system32
winlogon.exe c:\windows\system32

Hello readers of the blog of the ComService company (Naberezhnye Chelny)!

Recovering Windows 7 or Windows 8/8.1 system files most interesting topic. Especially if the operating system starts to fail, but we don’t have a recovery image and we forgot to turn on system protection so that . In this case, we won’t be able to, we won’t be able to roll back Windows to the created restore point, and we’re also lazy, since it will take the whole day. And right here we have another chance to return Windows to normal condition- try. In this article I will try to fully cover the topic so that we can revive our .

Article structure

1. Recovering system files on a busy system

press Enter and wait for the scan to complete

On virtual machine, from where the above was taken, was, so I was not surprised that system files were found and restored.

3. How to find out the drive letter with Windows installed

If you succeed using the key F8 bring up the window " Additional options download" and select "Troubleshoot computer problems", then we need to find out the drive letter where Windows is installed that was assigned by the recovery environment. This can be done in two ways

1. Call the notepad with the command

Open menu in notepad File and choose Open…

Left click Computer and in front of you there will be disks with letters

You can go to the disk and make sure what and where.

2. Use the utility DISKPART

On the command line enter

diskpart- call the utility for working with disks

list disk- look through the list of disks

select disk- I choose the one I need

detail disk- call up information about this disk

4. Recovering system files manually

If using sfc utilities failed to restore broken files, you need to try to do it manually. In this case, you need to additionally run the command

findstr /c:"" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

and carefully study the file sfcdetails.txt on the desktop.

It should be something similar to the picture below

After the name damaged file known (Accessibility.dll), I would look for the same one in the distribution and replace it. In this case, naturally you will need to get . And before you boot into Windows and obtain rights to the files, you can try to copy the necessary files using Notepad launched from the recovery environment (how to do this was described above).

Conclusion

Friends! Everything written above about restoring system files in Windows 7 is also true for. And, I would also apply this command to Windows 8

I haven’t tried this command myself, but if the system doesn’t boot, it certainly won’t get any worse.

Not all users know what to do if the computer stops functioning properly. There is no need to worry too much about this; it is enough to correct this state of affairs by eliminating the cause of the problem.


What are the reasons for system files disappearing?

Often, Windows system files disappear, which leads to malfunctions. Sometimes there are even difficulties starting the operating system. Various reasons contribute to this:

— the system file was deleted as a result of exposure to a virus or blocked by an antivirus program;
— the deletion occurred accidentally by the user himself;
- Windows updates contributed to this problem.

Some people resort to extreme measures and reinstall the system completely. However, this is not a way out of the current situation. Especially when valuable documents are stored on the desktop or in folders on the system drive that can be lost during this process. Therefore, it is recommended to restore system files.

How viruses work

The problem of viruses is not new to users. Currently there are a huge number of them. Viruses can infect system files and also delete them completely. In this situation, you need to pay attention to the antivirus logs, which will indicate how the file was deleted, when it happened and what virus it was infected with. In some cases antivirus program after updating the operating system, it can block valuable data. To solve the problem, you need to go to the “Quarantine” section of the antivirus and find the missing files. They can then be restored and entered into White list. Another option is to change your antivirus program.

On Windows 7, you can use a third-party program to restore system files. This is Recuva. It is offered absolutely free and easy to use. You must download and install the program in order to be able to use it to resolve problems that have arisen.

After launching, you immediately need to switch to advanced mode, which is done using the button on the top left. Then you should select a directory to scan and begin the process. When the system file check is completed, files with multi-colored circles will appear. Green color means excellent condition, yellow means damaged, red means cannot be repaired. If the object is in excellent condition, it can be restored by checking the box and clicking on the corresponding button.

How to do a rollback?

Using this process, the operating system is restored using control point, created before the error occurred. You need to do the following:

1. Go to the Start menu.
2. Select “All programs”.
3. Click “Accessories”, then “System Tools” and “System Restore”.
4. Select an operating system restore point created before the loss of valuable data.
5. Run a rollback, after which system files and folders will be restored.

Is it true, installed programs after this process they are deleted. You can view the estimated losses by clicking on the “Search for affected programs” button.

Troubleshooting

If on Windows 7 restoring system files when using third party program it is impossible to perform and rollback is not carried out, it is worth running a computer scan, which will identify damaged and missing data. In this situation, the command line comes to the rescue. You need to open it as an administrator. This can be easily done in one of the following ways:

1. Go to: “Start / All Programs / Accessories”, then right-click on cmd, click “Run as administrator”.
2. Go to the system drive, Windows folder, System32, right-click on cmd, “Run as administrator”.
3. Enter cmd in the search “Start” and press the key combination Shift+Ctrl+Enter on the keyboard.

A window will open where you need to write sfc /scannow, which will allow you to start checking Windows 7 system files and restore them in case of malfunction.

Then you need to create a restore point for the operating system. This is necessary in order to be able to rollback the next time, and not restore some data. The following actions are performed:

1. The “Properties” section opens in “My Computer”.
2. On the right, select the “System Protection” section.
3. In the “Protection Option” on system disk protection must be activated. Otherwise, you need to select it, click “Customize” and check the box next to “Restore system settings and previous versions files".
4. Select a place for disk space. As a rule, 1.5-2 GB is enough.
5. Press the “OK” button to confirm the operations performed.
6. Click on “Create” and assign a name.

After this, you can perform system file recovery on Windows 7.

Restoring system files if the OS does not boot

During the loading process, you should constantly press F8, waiting for the list to appear and the words “Last good configuration" By clicking on it, the system starts from the moment the OS has successfully loaded into last time. In case of failures in this process You can select "Troubleshoot your computer." Then you need to click on “Startup Repair”, after which the system files will be checked for errors and data malfunctions. They can then be easily repaired by clicking "Fix and Restart". Don’t forget about the possibility of a rollback if a restore point was previously created.

Boot disk

To solve the problem you can also use boot disk or flash drive. You need to insert the media into the computer and restart the device. Then the flash drive or boot disk is set to first place in priority. At making the right choice drive starts Windows installation 7. After selecting your language, you can click “Next”, click “System Restore”, “Startup Repair” or “System Restore”.







2024 gtavrl.ru.