Small file big role 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 makers to release drivers, we can view the types of devices from them. Figure 1 is a typical Inf file content, in which the characters after the "Class" in the "Version" section indicate the device type, where Media refers to the multimedia device, which is generally a sound card. If the following characters are Display, Net, Modem, Printer, Image, etc.

in addition & ldquo; Manufacturer & rdquo; field, it indicates the manufacturer, for example, in Figure 1 is represented by the sound card manufacturer C-Media. In addition, the device manufacturer or type can also be seen from the name of the Inf file. 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 the optical drive is saved in cdrom.inf, and 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

installed the wrong driver for the device did not work and applications, at this time the normal practice is to uninstall and re-charge and prepare the correct driver . 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, allow Windows XP to automatically log

If you own a PC is used, then there is no need to enter a user name and password when you log in, and automatically log the method should be taken. 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 type: [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 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