Hi all!
I have Pen Tablet (Huion Inspiroy H640P) which worked fine until something went wrong with my desktop PC. I have had couple of BSODs with different stop codes, maybe it was after recent windows updates. And then my tablet stop working. I decided to reinstall drivers but can't launch *.exe file because of an error.
c:\windows\system32\msimg32.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000020
Just for now the tablet works with half of its surface, buttons on pen are assigned to something useless in production. I need that drivers. So, please, help.
What I already tried:
Tried to install other software, that works fine.
I can't roll back updates, because 10 days period are gone.
I can't restore system, because restoration point was made 2 days ago, means already with corrupted msimg32.dll.
Looks like I cant reset windows to factory, because I had Windows 10 installed and then updated it to Windows 11. Now it didn't want to download from Cloud and I haven't disk or usb version (and I don't know in this case do I need Win10 or Win11).
DISM.exe /Online /Cleanup-image /Restorehealth - 100% The restore operation completed successfully. The operation completed successfully.
I used some comands in cmd or powershell and identified msimg32.dll as corrupted, because it's HASH was different as system expected both in system32 directory and in storage.
I tried to copy
>takeown /f C:\windows\system32\msimg32.dll
Overwrite c:\windows\system32\msimg32.dll? (Yes/No/All): y
The process cannot access the file because it is being used by another process.
I tried to boot from usb flash with Puppy to copy file manually bypassing Windows. But as I imagine when WIndows boot it sees that hash of dll is diffrent and instantly changes that dll to currupted from the storage.