Uninstall Error Java Windows 10

I have installed 2 versions of Java the 32 bit and the 64 bit on a Windows 10 PC. Im trying to uninstall the 64 bit through the apps & features part of the control panel and it keeps popping up with an error "Windows cannot access the specified device path or file. You may not have the appropriate permissions to access the item." The file is C:/WINDOWS/SYSTEM32/msiexec.exe. I have made sure that my account has Administrator privileges. I've tried uninstalling through the hidden Administrator account as well same message. I have even changed the ownership of the file to both accounts. Im not at a loss as to what to do to uninstall it. Any help would be great.

Create an installation media for another PC using another PC to do it click here. Once created boot from it, follow the tutorial Booting to Recovery Environment with Windows 10 installation media or Recovery Drive/System Repair Disc from click here .

That should get you up and running again.

Pressing the SHIFT key while clicking on restart will get you to safe mode eventually, tutorial here . The good thing in doing it this way is if it goes belly up in safe mode (no video drivers loading etc) then you only need to do a cold shutdown and it will then boot back in normal mode.

Once you've done the startup repair then try JavaRa to remove all traces of Java. click here . You can run the .exe file directly form the zip folder. I've ran it on Window 10 an it asks for .NET Framework 3.5. The window that opens to download the required files did nothing for about five minutes before installing so be a bit patient. Removal guide. Hope that works for you.