Detailed analysis of Inf file application strategy

  

If you ask what is an Inf file? Maybe you can't say anything, but many friends often have Inf files when they install device drivers. In fact, the Inf file is a file format created by Microsoft to facilitate hardware manufacturers to release device drivers. For the average user, at most, I will understand it and rarely research it. So whether the Inf file can provide us with more applications is a matter of great concern to many friends. With such questions, we have studied the Inf file in depth and found many practical operations.


I. Easily identify hardware information

Since Inf files are file formats created by Microsoft to facilitate device manufacturers to release drivers, we can view their devices from them. type. Figure 1 is a typical Inf file content, in which the character after the "Class" in the "Version" section indicates the device type, where Media refers to Multimedia
, generally speaking < u>Sound card
. If the following characters are Display ( Graphics
), Net ( NIC
), Modem
(Modem), Printer (Printer
), Image (camera
) and so on.

In addition to this, the manufacturer is indicated in the "Manufacturer" field. For example, the sound card manufacturer represented in Figure 1 is C-Media. In addition, the device manufacturer or type can also be seen from the Inf file name. For example, the file name of the file opened by the author is CM686, which is relative to the model of the sound card, and the information of the
CD drive is saved in cdrom.inf. In the middle, the hardware information is saved in the disk.inf file.

Second, easy to install Inf

Driver installation methods for different devices are different, for example, some drivers are made into Setup.exe file, we only need to execute the file. installation. And some drivers exist separately as Inf files, so what about? In fact, it is very simple, we only need to right-click on the file, in the pop-up menu, select the "Install" & rdquo; command (Figure 2).

Third, completely uninstall the wrong driver

The wrong driver device installed can not play the role of the application, at this time the normal practice is to uninstall the full and correct drive . However, during the search for new drivers, Windwos tends to install Inf files that are not completely uninstalled, resulting in the correct driver not being installed. IT Starling.com (http://www.it8g.com
) tells you how to actually uninstall and completely remove the wrong driver files.

First open the device properties to be uninstalled in Device Manager and switch to the "Drivers" tab, click the "Driver Details" button, and then open the "Driver" The program file details & rdquo; lists all the driver files for the device, we only need to disable the device, and then delete all files according to the path (Figure 3).

Fourth, let Windows XP automatically log in

If the computer is used by yourself, then there is no need to enter the user name and password when logging in, but should take the automatic login method. Using the Inf file to modify the registry makes it easy for Windows XP to automatically log in to the system.

For example, if we want to automatically log in as the user name abc and the corresponding password is 123, then just open the registry and enter it: [Version]Signature="$windows NT$"[DefaultInstall]Addreg =Myaddreg[Myaddreg]HKLM,Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon,Defaultusername,abcHKLM,Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon,Defaultuserpassword,123

Then save the file as an Inf file Right-click on the saved file and select “Install” from the pop-up menu.

In fact, the application of Inf files is far more than that simple. If you are interested, you can conduct further research. If you have new developments, don't prevent them from communicating with us.

Copyright © Windows knowledge All Rights Reserved