Jump to content

2K - Install .inf from a .bat file


Recommended Posts

Posted

Greetings.

I'm trying to create a single batch file that will call all of the .reg and .inf files that affect the security for new machines. I can install .reg files with zero difficulty, but .inf files are giving me fits. If I use:

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 "c:\w2khg\templates\security.inf"

I get the (remarkably helpful) error: Installation failed

If anyone has a clue how to rectify this situation, I would greatly appreciate it.

Thanks!

Carthax


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...