SATA serial hard disk Vista system driver installation record

  
        Since the seeds of Vista just appeared on the Internet, I downloaded it. However, it has not been installed all the time. The first time it restarts during installation, it will be blue screen. It turns out that the SATA driver is not loaded.
The netizens said that they couldn't install it with this one, but I just didn't give up, studied for twenty days, and finally installed it yesterday. It turns out that the SATA driver and registration information can be manually added to the temporary directory of Vista from XP after the installation restart.
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 my own driver key value 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, blue screen after reboot (normal -_-". Re-enter XP to operate.
No.1: Copy your own disk driver files to the relevant location in the Vista temporary directory.
For: *.sys file is placed in windows\\system32\\drivers in Vista temporary directory, *.inf and other files are placed in Windows\\inf in Vista temporary directory.
No.2: How to modify Vista registration Table? We need to use the current XP system registry database as a temporary place to operate. Just create a new temporary folder: my location is under c:\ aid. Then open the registry and find the driver you want to install in XP All key values ​​in and all of them 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 me Do not write):
if not exist system goto end
Copy system system.bak //back up system file.
reg load hklm\\hk97sys system //Write the contents of the system file to Hkey_LOCAL_MacHINE\\hk97sys In hk97sys, it is a 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 //Delete the current registry Add the hk97sys key value.
pause //Let you see the result~
:end
Save a.txt after writing and rename it to a.cmd. The operation is as follows: Copy the file named system under Windows\\system32\\config in the Vista temporary directory to the c:\\sata directory. (Why copy the system file? Because that is the location of the registry database.) Br> Execute a.cmd. If the prompt is successful, the current syst will be executed. The em file is copied 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 is 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