Small file big effect Inf file application strategy

  
        If you are asked 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.

First, easy to identify hardware information

Since the Inf file is a file format created by Microsoft to facilitate the device manufacturer to release the driver, we can view the type of its device. Figure 1 is a typical Inf file content, in which the character after the "Class" in the "Version" section represents the device type, where Media refers to Multimedia
, generally Sound card
. If the following characters are Display ( Graphics
), Net ( NIC
), Modem
(Modem), Printer ( Printer
), Image (Camera
) and so on.

In addition, the manufacturer is described 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 Figure 1 opened by the author is CM686, which is relative to the model of the sound card, and the information of CD-ROM drive is saved in cdrom.inf. In the middle, the hardware information is saved in the disk.inf file.

Second, easy to install Inf

The driver installation method of different devices is different, for example, some drivers are made into the 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, select the "Install" command in the pop-up menu (Figure 2).

Third, completely uninstall the wrong driver

Installed the wrong driver device can not play the role of the application, at this time the normal practice is to uninstall and re-drive the correct . 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 "Driver" tab, click the "Driver Details" button, and then open the "Driver File Details" All the driver files for this device are listed. We only need to disable the device and then delete all the 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,abc
HKLM,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