3 ways to fix:
1. Map Admin Shares with the built-in administrator account
2. LocalAccountTokenFilterPolicy – UAC remote restrictions
To get rid of the Access Denied message, follow this procedure:
- Launch the Registry editor by typing regedit.exe in the Start Screen.
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
- Create a new entry by right-clicking System and then selecting DWORD (32-bit) Value.
- Choose LocalAccountTokenFilterPolicy as name for the new entry.
- Set the value of LocalAccountTokenFilterPolicy to 1 by right-clicking the new entry.
3. Disable UAC Admin Approval mode
Note: Disabling UAC Admin Approval mode will also disable the Windows Store app.
- Launch Control Panel, type admin… in the search box, and then click Administrative Tools.
- Open the Local Security Policy application.
- Navigate to Local Policies > Security Options.
- Disable the policy User Account Control: Run all administrators in Admin Approval Mode.
Note: For Windows 11
If you want to configure auto-login, then you need to disable the “only allow Windows Hello sign-in” option using the following steps:
- Click Start, Settings, and click Accounts.
- Click on Sign-in options
- Turn off the radio button under the Require Windows Hello sign-in for Microsoft accounts section.
The description “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended)” is self-explanatory.
NOTE: The Require Windows Hello sign-in for Microsoft accounts option would be missing if no Microsoft accounts are configured on the computer.
Registry Editing
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
Value name:
DevicePasswordLessBuildVersion
Data:
0
means Require Windows Hello sign-in is disabled
2
means Require Windows Hello sign-in is enabled
Deleting DevicePasswordLessBuildVersion
or setting it to 0
would enable the “Users must enter a user name and password to use this computer” checkbox.
After disabling the above setting, close and reopen the User Accounts dialog by running netplwiz.exe
or control userpasswords2
source:
– https://4sysops.com/archives/access-denied-to-administrative-admin-shares-in-windows-8/
– https://www.winhelponline.com/blog/users-must-enter-a-user-name-and-password-to-use-this-computer-missing-windows-10/