Windows 7 modify inf files driver

Tecnico

Well-Known Member
Joined
Jul 28, 2020
Messages
6
Hello,

I happen to have a driver that only installs on XP. I want to be able to install it on Windows 7 x86, but it's not possible, since it doesn't recognize it.

Do you know which part of the .inf I have to modify in order to install it?

PD: I have done a compatibility installation and disabled driver signature, but it doesn't work.

Thank you.
 

Attachments

There's nothing specific in there to allow it to install on Windows 7. There may be another INF or INI file with those restrictions. In any event it may not even run in Windows 7. The differences between XP and 7 are significant especially around security and drivers
 

There's nothing specific in there to allow it to install on Windows 7. There may be another INF or INI file with those restrictions. In any event it may not even run in Windows 7. The differences between XP and 7 are significant especially around security and drivers

The only thing included with this driver are .sys and .dlls (attached)

Thanks.
 

Attachments

Ok nevermind, you need to create sections in the INF for either .ntamd64 or .ntx86 (64 bit or 32 bit respectively)

Would you be adding these lines?
An image from 'modify inf files driver'. Code snippet showing Windows driver installation sections for Win2000 and Win7 systems.
 

Last edited by a moderator:
That may be all you need, but I'm not a driver developer.
 

Again not a driver developer. I think I modified an inf once in 20 years. It's not normally something you want to do since the driver wasn't developed for anything beyond Windows 2000 it's not likely to work on Windows 7
 

I thought that XP and Window 7 would behave well, even if the driver had to be modified.
 

You can't modify the driver. The INF files just describe how to install the driver. XP and Windows 7 are completely different operating systems with Windows 7 having a complete re-write of the core components.
 

Back
Top