An Azure service that is used to provision Windows and Linux virtual machines.
Root Cause :
- Windows service crashed.
- Corrupted user profile.
- Corrupted system files.
- Windows update issue.
- Driver crash after logon.
Solutions :
- Open Event Viewer on the VM and review:
Windows Logs
├─ System
└─ Application
Look for events just before the forced restart:
- Event ID 1074
- Event ID 6008
- Event ID 7031 / 7034
- Event ID 1000 (Application Error)
- Verify these services are running:
sc query RdAgent
sc query WindowsAzureGuestAgent
Or check Services:
- Remote Desktop Agent Loader
- Windows Azure Guest Agent
If the VM agent is corrupted, it can cause login-related issues.
- In Azure Portal:
Virtual Machine
→ Help
→ Boot Diagnostics
Check screenshots and serial logs around the reboot time.
This often reveals driver failures or startup crashes.
- Test in Safe Mode
If possible, use Azure Serial Console and boot to Safe Mode.
If users can log in without rebooting in Safe Mode, the cause is typically:
- Antivirus/EDR
- Monitoring agent
- Backup agent
- VPN client
- Recently installed software
Thanks.