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

AI

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

April 21, 2025
187
Azure

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

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

Understanding Generative AI and RAG Benefits

January 12, 2025
108
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.8k
PowerShell Automation for Azure Networks: Detailed VNET and Subnet Analysis
Azure

PowerShell Automation for Azure Networks: Detailed VNET and Subnet Analysis

November 2, 2024
609
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

Streamlining Website Editing on My Local Machine with Docker Compose and WordPress

Streamlining Website Editing on My Local Machine with Docker Compose and WordPress

July 1, 2023
165

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

April 21, 2025
187
Generating report for SSL Certificates for Websites with PowerShell

Generating report for SSL Certificates for Websites with PowerShell

April 10, 2022
1.1k
Finally Azure Static Web Apps no more in Preview!

Finally Azure Static Web Apps no more in Preview!

May 15, 2021
1.1k
Background Tasks With Hangfire And .Net 5

Background Tasks With Hangfire And .Net 5

January 25, 2021
3k
 Azure Container Apps : User-Assigned Identity, ACR, and Key Vault

 Azure Container Apps : User-Assigned Identity, ACR, and Key Vault

November 12, 2023
235
Facebook Twitter LinkedIn Youtube

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
Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet

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

February 3, 2025

Categories

  • AI (2)
  • Apps (1)
  • Azure (63)
  • blazor (2)
  • Blog (91)
  • c# (7)
  • Cloud (65)
  • 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