Azure Mapped Drive Keeps Disconnecting

Martin Hughes 1 Reputation point


We have a Windows Server 2012 VM in Azure. One user has access to a particular area as a mapped network drive on their Windows 11 machine.

They keep receiving an error occurred while reconnecting the drive and the error is 'The user can't sign in because this account is currently disabled'.

The account is a local windows account on the Azure VM.

The quickest way we can get around this is to disconnect and re-connect the mapped drive and then it works again. However this is becoming more and more frequent that this happens.

Does anyone have any suggestions of how best to get around this?

Thanks in advance.


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,814 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 23,496 Reputation points Microsoft Employee

    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:

    1. 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.
    2. Check the security settings on the Azure VM to ensure that the account is not being denied access due to any security policies.
    3. 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.
    4. Ensure that both the Windows 11 machine and the Windows Server 2012 VM are up to date with the latest Windows updates.
    5. 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.

    0 comments No comments