Hello Martin Hughes
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
It seems like the issue is related to the local Windows account on the Azure VM. One possible reason for this error could be that the account is getting locked out due to too many failed login attempts.
Try below troubleshooting steps to see if that helps:
- Ensure that the Windows 11 machine is using the correct credentials to access the mapped network drive. You can try removing the saved credentials for the mapped drive on the Windows 11 machine and then re-entering them to see if that resolves the issue.
- Check the security settings on the Azure VM to ensure that the account is not being denied access due to any security policies.
- Check the Credential Manager on the Windows 11 machine and remove any outdated or incorrect credentials associated with the mapped network drive. Then, re-establish the connection using the correct credentials.
- Ensure that both the Windows 11 machine and the Windows Server 2012 VM are up to date with the latest Windows updates.
- Check the Event Viewer on the Azure VM to see if there are any events related to account lockouts. If there are, you can unlock the account and reset the password to prevent further lockouts.
If none of these steps resolve the issue, you can also try creating a new local Windows account on the Azure VM and use that account to access the mapped network drive instead of the existing account.
Hope this helps.