Access is denied scanning WORKGROUP machines
Symptoms
When you scan a Windows machine that is a member of a WORKGROUP you may see the error
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Cause
This can be caused by User Access Control settings on the WORKGROUP machine.
More Information
When accessing the Windows machine using a local account that is not the Administrator user, the Administrator group privileges are removed by default.
Resolution
- Configure the scan to use the built-in Administrator account credentials on the credentials tab of the scan profile.
- or -
- Change the following registry key on the machine being scanned
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
LocalAccountTokenFilterPolicy = 1
WARNING: This change affects the security level.
For more information see
https://docs.microsoft.com/en-us/troubleshoot/windows-server/windows-security/user-account-control-and-remote-restriction