How do you UNINSTALL inpout32?

My x64 port of InpOut32
Post Reply
Moundtop
New User
Posts: 4
Joined: Fri Apr 16, 2010 1:35 am

How do you UNINSTALL inpout32?

Post by Moundtop » Fri Apr 16, 2010 1:43 am

I've tried uninstalling the inpout32 driver using both the Device Manager and Regedt32. Deleteing entries fails to uninstall the driver in both cases. Thanks for any help that you can offer.

User avatar
phil
Site Admin
Posts: 5196
Joined: Sun Apr 06, 2003 11:12 pm

Re: How do you UNINSTALL inpout32?

Post by phil » Fri Apr 16, 2010 3:13 am

Urrrm,

You can probably delete the file, or maybe, in device manager, show hidden (legacy) devcies and it should be listed there (hwinterface.sys or inpout32.sys).

To be honest not something Ive ever tried !!! the driver is loaded on demand so there is no problem leaving it on the system - it wont be loaded unless your program asks for it (its not like a graphics card ot system driver thats always loaded).

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Moundtop
New User
Posts: 4
Joined: Fri Apr 16, 2010 1:35 am

Re: How do you UNINSTALL inpout32?

Post by Moundtop » Mon Apr 26, 2010 5:37 pm

After much hacking around, here's how I managed to UNINSTALL the inpoutx64 driver (on Windows XP, Vista and Win7):
1) Login as an Admin (with UAC disabled in Vista and Win7).
2) Start-up Device Manager, View|Show Hidden Devices, select INPOUTX64 from list of devices under the Non-Plug and Play Devices node, stop driver, change type from Automatic to disabled and finally select UNINSTALL from the context menu. Next, a mandatory reboot of the system is required.
3) Upon reboot, INPOUTX64 is gone from the Device Manager's list. However, the driver is still loaded into memory (albeit stopped and disabled)...as revealed by the very useful freeware utility called ServiWin.
4) At this point, one must run regedt32.exe as an administartor and find and delete the following two keys (and and subkeys): HKLM\SYSTEM\ControlSet\Enum\Root\LEGACY_INPOUTX64 and HKLM\CurrentControlSet\Services\inpoutx64. Ignore the keys with the same names in the 'ControlSetnnn' branches of the registry (If Windows denies your attempt to delete the keys, you will need to change the permissions so that you become the owner AND have FULL ACCESS rights. If you're working on a corporate machine, the policy on you computer could possible prevent you from being able to delete registry entries and you will need to consult with corporate IT for permissions). MAKE SURE THAT YOU SET A SYSTEM RESTORE POINT BEFORE HACKING THE REGISTRY...OR USE SOME OTHER MEANS TO BACKUP THE REGISTRY FIRST. OTHERWISE, YOU RISK GREAT GRIEF!!!
5) Reboot and remove c:\windows\system32\inpoutx64.dll and c:\windows\system32\drivers\inpoutx64.sys and you have completed the uninstall.

Please let me know via a post to this forum if you find a more straightforward way to uninstall inpoutx64 and/or inpout32.

User avatar
phil
Site Admin
Posts: 5196
Joined: Sun Apr 06, 2003 11:12 pm

Re: How do you UNINSTALL inpout32?

Post by phil » Mon Apr 26, 2010 7:20 pm

Thanks for that...

If my memory serves me correctly, there may be a call on the DLL to uninstall the driver - it may be private though and I'm not sure how effective it is - I will have to check later because I don't have the source in front of me.

I guess all "legacy" drivers will suffer from this so maybe there is an easier way (or an application already written) to clean these things up?

As I said, its never something I've needed to do, AFAIK, the driver is only ever started (loaded into memory (RAM)) when you actually use the DLL (it may remain afterwards).

Oh and why is inpoutx64.dll in the system32 folder - there should be no need to put it there in the first place?!

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Paul_Kussmaul
New User
Posts: 4
Joined: Wed Aug 28, 2013 8:10 am

Re: How do you UNINSTALL inpout32?

Post by Paul_Kussmaul » Fri Aug 30, 2013 8:03 am

Hi Phil,

Thanks again for providing your 64bit-port. It works perfect on both platforms (32bit & 64bit). There is only a small SW-maintenance issue. My application was originally written to work with the NT-Port-Library. If I have to fix something in a very old revision of my application, I need to switch back to the old NT-Port-Driver. And for this scenario I need to make sure that there is no interference with the inpout32. Exactly for this purpose I would like to uninstall inpout32 temporarily, even I want to keep inpout32 for my newer revisions. An UninstallDriver.exe would be very helpful. I also would appreciate any hints related to the uninstall-routine somewhere in the DLL. It seems that the procedure provided by Moundtop does no longer fit for Win7. I was able to find the registry-entries, but not the driver itself. Any hints are really welcome.

Paul

User avatar
phil
Site Admin
Posts: 5196
Joined: Sun Apr 06, 2003 11:12 pm

Re: How do you UNINSTALL inpout32?

Post by phil » Fri Aug 30, 2013 11:36 am

Hi,

Off the top of my head, I dont think there is no un-install routine in the DLL (the source is there for all to see so you can check - I dont have time right now as I'm at work).

EDIT: I just realised I contradicted my last answer there... lol. Still the source of the DLL is on my website so check it out!)

I have always done this through device manager (show hidden devices).

But if you switch back to your old DLL, then it will use its own driver, not the InpOut32/x64 one so I dont really understand why you need to un-install the driver itself, just replace the DLL.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-6600k, Asus 170-A, 16GB DDR4,
nVidia GeForce GTX 970, 2xEvo 850 (RAID 0), 2x2TB WD Black (RAID1)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest