Blue screen solution after installing Vista restart

  
                  

Many netizens will have a blue screen when they restart Vista. The reason is very simple: no SATA driver is loaded.

Originally, the Vista home's suggestion is to modify the hard disk settings in the BIOS, set the hard disk to compatibility mode, without Archi mode. As a result, friends on the Internet said that they couldn't fix it. We studied it for more than 20 days and finally found a solution. It is now possible to manually add SATA drivers and registration information to the Vista temporary directory from XP after the installation is restarted.

First of all, our central idea is to manually add our own disk controller driver (nonsense) in the Vista installation directory. This requires 2 steps to complete:

1. In the temporary installation directory of Vista, place our own driver file.

2. Add our own driver key in Vista's registry. (Mao Chairman Education teaches us: Be kind to people, you secretly add a large number of documents under the directory of people, how to inform people: Hello, Vista~~ even in your directory, add even baby files, installed Remember to add it even! If you miss a ~~, then you will die to see it.)

Well, with the theoretical basis, we will act!

Normally install Vista under XP until the first reboot, restart after blue screen (normal -_-". Re-enter XP

No.1: Copy your own disk driver files to the relevant location in the Vista temporary directory.

Specifically: *.sys files are placed in the Vista temporary directory. In windows\\system32\\drivers, *.inf and other files are placed in windows\\inf in the temporary directory of Vista.

No.2: How to modify the registry of Vista? We need to use the current XP system. The registry database is operated as a temporary place. Just create a new temporary folder: my location is under c:\ aid. Then open the registry, find all the key values ​​of the driver you want to install in XP and export them all. Save it in the file sata.reg. Copy sata.reg to c:\ aid.

Then create a new text file a.txt in the raid folder. Open a and add the following content (//after Yes, I don't have to write):

if not exist system goto end

copy system system .bak //Back up the system file.

reg load hklm\\hk97sys system //Write the contents of the system file to Hkey_LOCAL_MACHINE\\hk97sys, hk97sys is the temporary new key.

regedit /s SATA.reg //Add the value of sata.reg to the current registry and save the system file.

reg unload hklm\\hk97sys //Remove the hk97sys key value added in the current registry.

pause //Let you see the result~

:end

Save a.txt after writing and rename it to a.cmd. Copy the file named system under windows\\system32\\config in the Vista temporary directory to the c:\\sata directory. (Why should you copy the system file? Because that is the location of the registry database.)

Execute a.cmd. If the prompt is successful, copy the current system file back to its original location to overwrite the original file. So we will add our own driver information to the Vista registry.

Shut down and restart the computer to enter the Vista installer. If there is no blue screen, congratulations! (I have succeeded in pulling halfway here!)

Continue to install the program. The second automatic restart. After restarting----blue screen! Hurry to analyze the reason, N brain cells agree that it is still a driver problem! The original work was only done on the Vista installer, however, the Vista system file on the hard disk now. It was copied from the Vista installation CD! (The installation CD is not included!) It is not the stuff in the previous Vista temporary directory. . .

It’s easy to know the reason, let’s reapply. Only this time the object is no longer a temporary directory for Vista. It is the disk where the Vista system is located (even in the E disk, everyone changes according to their own situation).

No.1: Copy your own disk driver files to the relevant locations in the Vista system directory.

Specifically: *.sys file is placed in E:\\windows\\system32\\drivers, *.inf and other files are placed in E:\\windows\\inf.

No.2. Copy the file named system under E:\\windows\\system32\\config to the c:\\sata directory. Execute a.cmd. If the prompt is successful, copy the current system file back to its original location to overwrite the original file.

Shut down again to restart the computer and enter the Vista installer. If there is no blue screen, congratulations! (I'm successful here!)

Then? Then wait for ~~~ for 20 minutes, then the Vista system will appear in front of you!

Copyright © Windows knowledge All Rights Reserved