Saturday, November 2, 2024
HomeWindowsXP: Deploy an INF file Automatically

XP: Deploy an INF file Automatically

The following tutorial explains how to install an INF file from the command line.


Setup information files have the *.inf extension and are often used to install registry settings and device drivers. To manually install an INF file, the user can right-click and select install from the context menu.

However, if you want to be able to install the INF from a command-line, use the following:

    rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 file_name.inf

    [list]file_name.inf = file to install
    132 = flag to ask the user before rebooting
    DefaultInstall = name of the section to install

David Kirk
David Kirk
David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!