XBCD Xbox Controller Driver 0.2.7 - HowTo get it working under Windows 8

Some time ago I found a method to get XBCD driver working under Windows 8 and 8.1 and keep it persistent between reboots. Because forum, where this was posted, died - consider this as backup.

There was link to original thread here, but it no longer works.

Well, finally found a way how to get driver working between reboots.

1: Install driver as usual, ofc it will fail. Do not remove it.

2: You need to enable test mode, by typing in Admin CMD*:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
(I know, this was tested, not working, you need to select from boot menu, blah blah blah...)
*To enter Admin Command Prompt in Windows 8.x just right-click in bottom-left corner of screen, and select it from menu.

3: Here's the trick: The driver doesn't install because Win8 need to have signed INF files. And because Inf can't be signed directly - it needs to have ".cat" file that contains digital signature. The "magic" we need is test-sign driver using Inf2Cat tool from Windows Driver Kit.
You can download WDK from HERE. Select "Download WDK 8" or "Download WDK 8.1" according to your OS. AFAIR you don't need to install Visual Studio, as we're going to use only one tool from this set.

4: Copy Program Files (x86)\XBCD\Driver to some your location (eg desktop)

5: Edit .inf file in folder you have just copied. In [Version] section you need to add CatalogFile line, and replace DriverVer, as Inf2Cat doesn't accept original one (dates are too far in past for it). Sample lines that worked for me: DriverVer=01/01/2013,

6: Open command prompt, cd into your folder with driver. Execute Img2Cat. It's located in Program Files (x86)\Windows Kits\8.1\bin\x86\ so the command will look like (I have Win on C: ) "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\Inf2Cat.exe" /driver:./ /os:8_X64 (/driver:./ is ok as it points into current working directory) CMD will look like: C:\Users\kitor\Desktop\Driver>"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\Inf2Cat.exe" /driver:./ /os:8_X64
Signability test complete.



Catalog generation complete.
And xbcd.cat will appear in your driver directory

7: Open Device Manager, find your pad (some Unknown Device probably), look at your work directory for driver, let it install. A warning will appear that driver is unsigned - but will install anyway(!)

8: Start XBCD Setup Utility (as Administrator), check if controller is working.

9: Reboot, and check if it's working still. Mine (Xbox Controller 'S') is :)