Achraf Ben Alaya
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy
SUBSCRIBE
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy
No Result
View All Result
Achraf Ben Alaya
No Result
View All Result
ADVERTISEMENT
Home Blog Cloud Azure

Dealing with Stuck ‘Signing Out’ Screens on Azure Windows Servers

achraf by achraf
August 5, 2024
in Azure, Blog, Cloud, Tricks, Tips and Fixes
2 min read
0
Dealing with Stuck ‘Signing Out’ Screens on Azure Windows Servers
0
SHARES
298
VIEWS
Share on FacebookShare on Twitter

In this article, we’ll explore effective solutions for addressing a common issue encountered with Windows servers on Microsoft Azure: sessions getting stuck on the “Signing Out” screen. We will provide step-by-step instructions on how to resolve this problem without the need to reboot the virtual machine, ensuring minimal disruption and maintaining server availability. Our guide is designed to help you quickly regain access and functionality, even when traditional methods fail.

Solution

Prerequisites : Boot diagnostics must be enabled for the instanceĀ  .

  1. Accessing Windows Server Serial console:
  2. Ā Once the console is connected, you will get the SAC prompt.
    ```
    Computer is booting, SAC started and initialized.
    Use the "ch -?" command for information about using channels.
    Use the "?" command for general help.
    
    ```
    ```
    SAC>
    EVENT: The CMD command is now available.
    SAC>
    
    ```
  3. Type ā€œcmdā€ to create the to the server console channel.
    SAC>cmd
    The Command Prompt session was successfully launched.
    SAC>
    EVENT:   A new channel has been created.  Use "ch -?" for channel help.
    Channel: Cmd0001
    SAC>
  4. Use the channel number to connect to the instance console. Use command ā€œch -si 1ā€ and press Enter.
    SAC> ch -si 1
     Name:                  Cmd0001
     Description:           Command
     Type:                  VT-UTF8
     Channel GUID:          e7f52da4-203b-11ea-a80f-000d3a7b44b4
     Application Type GUID: 63d02271-8aa4-11d5-bccf-00b0d014a2d0
     Press  for next channel.
     Press 0 to return to the SAC channel.
     Use any other key to view this channel.

     

  5. Enter the windows instance user credentials to access windows command prompt.
    Please enter login credentials.
    Username: lingesh
    Domain  :
    Password:

     

  6. Once you have authenticated successfully, you will get windows command prompt like below.
  7. Run the Command to See Connected Users
    query user

  8. Log off the stuck session:
    logoff <session_id>

    Example : logoff Ā 4

    And like that when you try again to connect toĀ  RDP , you will find that the issue is resolved .

ShareTweet
Previous Post

Azure Elastic Job Tutorial: Automate Your SQL Jobs Efficiently

Next Post

Automated Monitoring of Azure App Registration Secrets with Automation Accounts and Logic Apps

Related Posts

Azure

Log Analytics Workspace Chaos: How We Tamed 100+ Orphaned Workspaces

October 17, 2025
33
Azure

Honored to be recognized as a Microsoft Azure MVP for 2025-2026

July 20, 2025
109
AI

Model Context Protocol (MCP): The Future of AI Integration

April 21, 2025
253
Azure

Step-by-Step Guide: Azure Front Door + Storage Account Static Website + Custom Domain with Terraform

March 11, 2025
813
Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet
Azure

Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet

February 3, 2025
194
Understanding Generative AI and RAG Benefits
AI

Understanding Generative AI and RAG Benefits

January 12, 2025
151
Next Post
Automated Monitoring of Azure App Registration Secrets with Automation Accounts and Logic Apps

Automated Monitoring of Azure App Registration Secrets with Automation Accounts and Logic Apps

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Terraform

Certifications

Microsoft certified trainer (MCT)

Recommended

Deploy azure function from Docker Hub CI/CD

Deploy azure function from Docker Hub CI/CD

April 27, 2020
332
Goodbye my lover Xamarin, Hello MAUI!

Goodbye my lover Xamarin, Hello MAUI!

September 25, 2020
609
How to SSH into AKS Nodes

How to SSH into AKS Nodes

May 11, 2021
7.8k
Migration from Asp.Net Core 3.1 to 5.0 and publish to azure

Migration from Asp.Net Core 3.1 to 5.0 and publish to azure

November 12, 2020
848
Swagger & OpenAPI and Versioning for ASP.NET Core

Swagger & OpenAPI and Versioning for ASP.NET Core

December 8, 2020
1.6k
Azure Tips

Azure Tips

April 28, 2020
458
Facebook Twitter LinkedIn Youtube

Log Analytics Workspace Chaos: How We Tamed 100+ Orphaned Workspaces

October 17, 2025

Honored to be recognized as a Microsoft Azure MVP for 2025-2026

July 20, 2025

Model Context Protocol (MCP): The Future of AI Integration

April 21, 2025

Categories

  • AI (2)
  • Apps (1)
  • Azure (65)
  • blazor (2)
  • Blog (92)
  • c# (7)
  • Cloud (66)
  • Courses (4)
  • Dapr (4)
  • docker (4)
  • Games (1)
  • General Tips & Fix (1)
  • Home (1)
  • Kubernetes Service (AKS) (1)
  • motivation (2)
  • Motivation (3)
  • News (9)
  • Resume (1)
  • sql (4)
  • Terrafrom (1)
  • Tricks, Tips and Fixes (4)
  • xamarin (5)
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy