Editing the Registry with INF files

If you do not have access to the REGEDIT program, because it might have been removed by the system administrator, you can still enter new keys and values in the Registry from a text file. The new keys or key values are inserted in a hardware installation file. The default extension for such files is .INF. An example of such an INF file is given in the next code. Right-click on the INF file and select Install from the menu choices to insert the keys into the Registry.