Save this as mydriver.inf , place your MyDriver.sys in the same folder, right-click install, and Windows will now recognize your custom USB device (assuming you wrote the .sys file to handle the actual communication). With the rise of Windows Driver Frameworks (WDF) and Universal Windows Drivers (UWD) , the complexity of INF files has actually decreased. Microsoft is pushing towards DCHU (Declarative, Componentized, Hardware Support Apps, Universal) drivers, where the INF file does less work, and more logic moves to user-space apps or firmware.
If you have ever plugged a mouse, a printer, or a custom piece of industrial equipment into a Windows PC, you have relied on an INF file. Despite being one of the most fundamental components of the Windows operating system for over three decades, the "INF driver" remains a mystery to most users—and even to some developers. inf drivers
[InstallSection] CopyFiles = DriverCopyFiles AddReg = DriverAddReg Save this as mydriver