Virtual Machine: Repeated Password Resets and Login Failures — Urgent Assistance Needed

Daulat Zhi Imran Khan 21 Reputation points
2026-11-23T12:59:36.2833333+00:00

Problem description

I am experiencing an issue where my Windows virtual machine accepts the password immediately after a reset, but login fails again within minutes. I have to reset the password every 30 minutes to regain access, which disrupts my operations.

Environment

Azure Virtual Machines, Windows resource, region not specified in case information.

What I've already tried

I have reviewed the available case details and diagnostic information. No specific troubleshooting steps or configurations have been attempted yet.

Current status

I am seeking guidance on the root cause of this recurring password acceptance issue and the recommended permanent resolution to prevent frequent resets and login failures.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

2 answers

Sort by: Newest
  1. Daulat Zhi Imran Khan 21 Reputation points
    2026-11-24T12:43:34.3133333+00:00

    Hi Alex,

    Thank you for your recommendations.

    We have investigated the Windows authentication events and would like to share our findings.

    Issue Summary

    The issue with our Azure VM BiMachine (Worldpac-PowerBI) remains unresolved.

    Raghunath uses RDP to access this VM daily to execute business-critical scripts.

    Whenever his existing password stops working, I manually reset the local account password using Azure Run Command (RunPowerShellScript).

    After the reset, Raghunath successfully logs in and works normally. However, after some time, the same password is rejected, and I have to reset it again to restore access.

    This cycle continues repeatedly.

    Troubleshooting Findings

    1. Windows Security Event ID 4625 – Failed Logon
      • Multiple failed authentication attempts were recorded for Raghunath.
      • Status: 0xC000006D
      • Substatus: 0xC000006A (incorrect password).
      • Authentication attempts originated from multiple IP addresses.
      Windows Security Event ID 4740 – Account Lockout A confirmed account lockout was recorded on November 18, 2026, at 1:18:43 PM.
        Affected account: `Raghunath`
      
           Caller computer: `BC-IND-DATA-RAG` (Raghunath's local workstation).
      
              Current Windows account lockout threshold: 10 failed attempts within 10 minutes.
      
                 Lockout duration: 10 minutes.
      
                 **Windows Security Event ID 4724 – Password Reset**
      
                    Multiple password reset events were recorded on November 24, 2026.
      
                       These resets were **manually initiated by me through Azure Run Command**.
      
                          The events show `BiMachine$` under the SYSTEM security context, consistent with how Azure Run Command executes.
      
                             The latest confirmed PasswordLastSet value was November 24, 2026, at 6:06:23 PM, matching my password reset.
      
                                We have not established evidence of an unauthorized or automatic password change.
      
                                **Local Windows Account**
      
                                   Username: `BiMachine\Raghunath`
      
                                      Account enabled: Yes
      
                                         VM is operating in a WORKGROUP environment.
      
                                            We previously verified that the account was not locked during one of the failed login attempts.
      
                                               Saved RDP credentials were removed from the user's workstation, but the issue persisted.
      
                                               **RDP Configuration**
      
                                                  TermService: Running
      
                                                     TCP 3389: Listening on IPv4 and IPv6
      
                                                        fDenyTSConnections: 0
      
                                                           Windows Firewall RDP rules: Enabled and Allow
      

    All RDP configuration checks passed.

    Assistance Requested

    Based on these findings, could you please help us determine:

    Why the account repeatedly rejects a password that initially works after a manual reset?

    Whether repeated failed authentication attempts and account lockouts are responsible for the recurring issue.

    Why the issue persists even after the account is no longer locked.

    Whether Windows local account policies, Windows LAPS, or another authentication mechanism could be contributing to this behavior.

    What specific corrective action Microsoft recommends to permanently resolve the problem.

    We understand your recommendation regarding restricting public RDP access. However, our immediate priority is to determine the authentication failure's root cause without disrupting the VM's existing configurations and workloads.

    We would appreciate a deeper investigation from the Windows VM support team, as repeatedly resetting the password is not a sustainable solution.

    Regards, Imran Khan Lead Cloud Operations BlueCloud

    Service Request: 2611180030004333Hi Alex,

    Thank you for your recommendations.

    We have investigated the Windows authentication events and would like to share our findings.

    Issue Summary

    The issue with our Azure VM BiMachine (Worldpac-PowerBI) remains unresolved.

    Raghunath uses RDP to access this VM daily to execute business-critical scripts.

    Whenever his existing password stops working, I manually reset the local account password using Azure Run Command (RunPowerShellScript).

    After the reset, Raghunath successfully logs in and works normally. However, after some time, the same password is rejected, and I have to reset it again to restore access.

    This cycle continues repeatedly.

    Troubleshooting Findings

    Windows Security Event ID 4625 – Failed Logon

    Multiple failed authentication attempts were recorded for Raghunath.

      Status: `0xC000006D`
      
         Substatus: `0xC000006A` (incorrect password).
         
            Authentication attempts originated from multiple IP addresses.
            
            **Windows Security Event ID 4740 – Account Lockout**
            
               A confirmed account lockout was recorded on November 18, 2026, at 1:18:43 PM.
               
                  Affected account: `Raghunath`
                  
                     Caller computer: `BC-IND-DATA-RAG` (Raghunath's local workstation).
                     
                        Current Windows account lockout threshold: 10 failed attempts within 10 minutes.
                        
                           Lockout duration: 10 minutes.
                           
                           **Windows Security Event ID 4724 – Password Reset**
                           
                              Multiple password reset events were recorded on November 24, 2026.
                              
                                 These resets were **manually initiated by me through Azure Run Command**.
                                 
                                    The events show `BiMachine$` under the SYSTEM security context, consistent with how Azure Run Command executes.
                                    
                                       The latest confirmed PasswordLastSet value was November 24, 2026, at 6:06:23 PM, matching my password reset.
                                       
                                          We have not established evidence of an unauthorized or automatic password change.
                                          
                                          **Local Windows Account**
                                          
                                             Username: `BiMachine\Raghunath`
                                             
                                                Account enabled: Yes
                                                
                                                   VM is operating in a WORKGROUP environment.
                                                   
                                                      We previously verified that the account was not locked during one of the failed login attempts.
                                                      
                                                         Saved RDP credentials were removed from the user's workstation, but the issue persisted.
                                                         
                                                         **RDP Configuration**
                                                         
                                                            TermService: Running
                                                            
                                                               TCP 3389: Listening on IPv4 and IPv6
                                                               
                                                                  fDenyTSConnections: 0
                                                                  
                                                                     Windows Firewall RDP rules: Enabled and Allow
                                                                     
    

    All RDP configuration checks passed.

    Assistance Requested

    Based on these findings, could you please help us determine:

    Why the account repeatedly rejects a password that initially works after a manual reset?

    Whether repeated failed authentication attempts and account lockouts are responsible for the recurring issue.

    Why the issue persists even after the account is no longer locked.

    Whether Windows local account policies, Windows LAPS, or another authentication mechanism could be contributing to this behavior.

    What specific corrective action Microsoft recommends to permanently resolve the problem.

    We understand your recommendation regarding restricting public RDP access. However, our immediate priority is to determine the authentication failure's root cause without disrupting the VM's existing configurations and workloads.

    We would appreciate a deeper investigation from the Windows VM support team, as repeatedly resetting the password is not a sustainable solution.

    Regards,
    Imran Khan
    BlueCloud

    Service Request: 2611180030004333

    Was this answer helpful?

    0 comments No comments

  2. Alex Burlachenko 26,215 Reputation points MVP Volunteer Moderator
    2026-11-24T09:44:36.8233333+00:00

    Daulat Zhi Imran Khan hi & thx for join me at Q&A platform,

    If the password works immediately after a reset but stops working within minutes, I'd investigate what happens inside Windows rather than repeatedly resetting it through Azure. Possible causes include automated password rotation through Windows LAPS, Group Policy, account lockout caused by repeated failed authentication attempts, or a scheduled script modifying the credentials.

    First, check Event Viewer > Windows Logs > Security for the following event IDs

    4625 Failed logon

    4723 Password change attempt

    4724 Password reset attempt

    4740 Account lockout

    These events should help distinguish between an actual password change and an account lockout, provided the relevant auditing is enabled. Verify whether the VM is domain-joined and whether you're authenticating with a local or domain account. For a local account, explicitly use .\username.

    If RDP is publicly accessible, restrict port 3389 to trusted source IP addresses immediately. Repeated external authentication attempts could be triggering account lockouts.

    You can use Azure VM > Run command > RunPowerShellScript to investigate Windows event logs even when RDP access is unavailable. Repeated password resets are a temporary workaround, not a permanent solution. Identifying what changes the account state after each reset is the priority.

    Best regards,

    Alex

    💬 P.S. Did this help? Mark it as the solution: it keeps me motivated!

    ➕ Follow me on Q&A for more answers

    📝 And feel free to visit my blog → https://ctrlaltdel.blog/

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.