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

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

July 20, 2025
39
AI

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

April 21, 2025
201
Azure

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

March 11, 2025
518
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
164
Understanding Generative AI and RAG Benefits
AI

Understanding Generative AI and RAG Benefits

January 12, 2025
123
Azure Communication Services Email Sending Simplified: From Setup to Execution and Monitoring
Azure

Azure Communication Services Email Sending Simplified: From Setup to Execution and Monitoring

December 8, 2024
1.9k
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

My 2020 Review

My 2020 Review

December 31, 2020
247
Navigating Azure Identities: System-Assigned vs. User-Assigned with Real-World Scenarios

Navigating Azure Identities: System-Assigned vs. User-Assigned with Real-World Scenarios

October 9, 2023
342
Auto Post and Schedule Tweets & Linkedin using Azure Logic Apps

Auto Post and Schedule Tweets & Linkedin using Azure Logic Apps

April 14, 2021
621
How to make the most of each day

How to make the most of each day

February 2, 2021
330
Elevate Your API Reliability: Deep Dive into Load Balancing and Failover Strategies in Azure API Management

Elevate Your API Reliability: Deep Dive into Load Balancing and Failover Strategies in Azure API Management

December 29, 2023
376
Setting up Serilog in ASP.NET Core

Setting up Serilog in ASP.NET Core

September 15, 2020
3k
Facebook Twitter LinkedIn Youtube

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

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

March 11, 2025

Categories

  • AI (2)
  • Apps (1)
  • Azure (64)
  • blazor (2)
  • Blog (91)
  • c# (7)
  • Cloud (66)
  • Courses (3)
  • 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