Access denied when updating drivers
You might get an error when you try to edit the LMHOSTS or HOSTS file in Microsoft Windows 10 that says one of the following: Access to C:\Windows\System32\drivers\etc\ hosts was denied or Cannot create the C:\Windows\System32\drivers\etc\hosts file. This problem is usually related to not having proper rights to the file. Now you should have access to edit the file and no longer receive “Access Denied” messages when attempting to work with it.If you still cannot edit these files, you may want to look into whether or not you have malware or viruses installed on the computer.
So far I tried running the driver setup as admin, doing it from device manager both from the internet and manually looking for the INF. I'm suspecting it has to do with permissions somewhere.
Printer is installed locally, user is part of Computer's Local Admin group, it used to work before, and we have on a different site a similar environment and so far has been working perfectly. Unfortunately I didn't find anything useful from it (may I say I might have searched poorly)I tried the following:https://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/access-denied-when-i-try-to-upd...https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware-winpc/printer-driver-package-c...