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
246
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
81
AI

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

April 21, 2025
231
Azure

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

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

Understanding Generative AI and RAG Benefits

January 12, 2025
133
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
2.1k
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
249
Block the default URL assigned to the azure web app using azure application gateway

Block the default URL assigned to the azure web app using azure application gateway

May 31, 2023
619
DevOps : Deploy infrastructure using Terraform and Azure DevOps pipelines

DevOps : Deploy infrastructure using Terraform and Azure DevOps pipelines

June 2, 2021
4.6k
The Significance of Azure DevSecOps: Best Practices for Securing Your Pipelines

The Significance of Azure DevSecOps: Best Practices for Securing Your Pipelines

August 17, 2023
359
Why you need to ensure updating your Xamarin.Android Application to Supports 64-Bit Devices and how to do that .

Why you need to ensure updating your Xamarin.Android Application to Supports 64-Bit Devices and how to do that .

April 21, 2020
516
Exploring the Future: Microsoft Ignite Paris Highlights, Copilot Innovations, and Advanced Security Solutions

Exploring the Future: Microsoft Ignite Paris Highlights, Copilot Innovations, and Advanced Security Solutions

December 18, 2023
150
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