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
483
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

Blog

 2025 – Certifications, Community, and 50K Views

December 28, 2025
1
Azure

From Manual Terraform to AI-Assisted DevOps: Building an Azure Container Platform (Part 1)

December 23, 2025
14
AI

Build and Host an Expense Tracking MCP Server with Azure Functions

November 2, 2025
700
Azure

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

October 17, 2025
194
Azure

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

July 20, 2025
132
AI

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

April 21, 2025
309
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

Empowering Companies with Azure API Center

Empowering Companies with Azure API Center

January 30, 2024
224
Background Tasks With Hangfire And .Net 5

Background Tasks With Hangfire And .Net 5

January 25, 2021
3.1k
Reflecting on My Journey as a Microsoft MVP in 2024

Reflecting on My Journey as a Microsoft MVP in 2024

March 24, 2024
391
Migrate and modernize your applications on Azure

Migrate and modernize your applications on Azure

March 26, 2021
592
#msbuild registration is now open!

#msbuild registration is now open!

April 29, 2021
328
Tools I use with Database

Tools I use with Database

November 7, 2021
833
Facebook Twitter LinkedIn Youtube

 2025 – Certifications, Community, and 50K Views

December 28, 2025

From Manual Terraform to AI-Assisted DevOps: Building an Azure Container Platform (Part 1)

December 23, 2025

Build and Host an Expense Tracking MCP Server with Azure Functions

November 2, 2025

Categories

  • AI (3)
  • Apps (1)
  • Azure (67)
  • blazor (2)
  • Blog (94)
  • c# (7)
  • Cloud (69)
  • 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 (2)
  • 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