For questions relating to the INF Windows file format.
Questions tagged [inf]
190 questions
0
votes
0 answers
How to install upper driver for class?
I created a filter driver and I just want to install it for the Serial port. I know that the existing driver class is "Ports" so I changed inf file as follows:
[Version]
Signature="$Windows…

Jak ttt
- 33
- 6
0
votes
1 answer
Missing wuau.adm policy template from windows\inf folder
I'm using Windows 10 OS, I get missing wuau.adm from windows\inf folder. Can I just replace this file from other server or download it, or copy it back from the sysvol folder?

Kishore
- 561
- 9
- 24
0
votes
1 answer
How to autorun a .exe file from a usb without using autorun.inf?
I am designing a security utility for USB sticks that when a memory stick has been plugged in,an email is sent to the user with the computer's name and IP address. I have got the email part working, but do not know how to execute the .exe file I…

Samuel Lopes
- 29
- 7
0
votes
2 answers
Parsing *.inf and output table
Please help me in solving non-standard tasks (Powershell).
Need to read *.inf files: C:\Windows\System32\DriverStore\FileRepository" and to bring to the table: Manufacter, DeviceID, VerDRV.
ls "C:\Windows\System32\DriverStore\FileRepository"…

Kolba-ba-soid
- 1
- 3
0
votes
1 answer
kdmf pnp driver cannot find device when installing
I am trying to create a pnp driver but when I run sc start driver-name I get an System error 1058 (disable disabled or no enabled device associated). However if I modify the code for nonpnp WDF_DRIVER_CONFIG_INIT(&config, WDF_NO_EVENT_CALLBACK); and…

Luis
- 114
- 2
- 10
0
votes
2 answers
How to use variables in driver's INF file?
I'm developing NDIS filter drivers using Visual Studio 2015 and WDK 10. A requirement is to compile the drivers using different FilterClass in the INF file (compression and ms_medium_converter_128). I don't want to maintain two nearly the same INF…

hsluoyz
- 2,739
- 5
- 35
- 59
0
votes
0 answers
Unable to run a bat with autorun.inf from USB
I have a autorun.inf file in my pendrive to to run a bat file automatically whenever i plug my Pen drive in my system. The autorun.inf code is as below
[autorun]
Icon=bat.ico
Label=Murali…

Murali Manohar
- 589
- 7
- 35
0
votes
1 answer
How to install different driver versions based on operating system?
I've a driver named silabser.sys. I've two different versions of it.
My requirement is to install w1.x1.y1.z1 on WinXP and w1.x2.y2.z2 on Win7.
My Inf file looks like this:
[Version]
Signature="$WINDOWS…

Lakshman Rao
- 115
- 1
- 11
0
votes
1 answer
.inf file AddRegistry section flag meaning (HKR,,"UpperFilters",0x00010008,"upperfilt" ) what does 0x00010008 stand for?
At MSDN Installing a Filter Driver there is a sample file given (reproduced lower).
In the [upperfilter_addreg] section there is the registry line HKR,,"UpperFilters",0x00010008,"upperfilt".
What is the meaning of the 0x00010008 flag ?
Note that…

clyfe
- 23,695
- 8
- 85
- 109
0
votes
0 answers
Windows serial port drivers - registry
Can anyone please explain what is the significance of:
HKR,,"95xSpecific",%REG_BINARY%,01,00,00,00,00,00,c9,16,20,00,01,00,00,00,00,00,08,00,00,00,00,40,00,10
Above is the snippet of the .inf file of driver. How to understand it in separate terms.

Stubborn
- 780
- 1
- 5
- 20
0
votes
0 answers
How to Troubleshoot Windows Device Class Installer Returning "Error 1392: The file or directory is corrupted and unreadable"
I am in the process of modifying an existing device driver. After making some organizational changes to the project build structure I was able to successfully compile and install the driver on a clean Windows 7 64 bit machine. I then proceeded to…

HighExodus
- 104
- 2
- 11
0
votes
1 answer
WIN 10 always use default USB driver INF file
My USB device is set as CDC. If the USB is set as CDC, the windows 10 will auto use default INF file(Usbser.inf). How can I change the default INF file to myself INF file?

LayaCCC
- 415
- 1
- 5
- 12
0
votes
2 answers
launch exe from inf installation
in my recent project, i have to launch an exe from inf.
when my company's device is plugged into win 7 system, PnP service will search device driver from Windows Update Server and install it automatically.
on the last step, i must start a app.
how…

Leo.Zhou
- 175
- 1
- 12
0
votes
1 answer
Windows Autorun for an HTML file
I have a html file on a flash drive that I would like to autorun in Windows. I have found examples of multiple ways to do this but none of them are working for me. Anyone see what I am doing wrong?
This is my latest…

maestrojed
- 345
- 1
- 4
- 14
0
votes
1 answer
Batch file: For each inf in directory, install it
I have a directory which contains hundreds of other child directories, which all contain various INF files which I've extracted from a .CAB file.
I want to create a batch file that finds every single inf file in this directory and install it.
Code…

user3122456
- 43
- 1
- 8