Windows Server 2019 RDSH - unable to login / logout

lolix3 166 Reputation points
2021-10-18T15:08:27.75+00:00

Hi,

Following and underlying change on some mapped drives, some users session froze.
(The underlying change has been done at the file server level. I have no details yet except that this is a Linux/Samba )

As admin I tried to remotely Sign those users out, w/o success.
Some users tried also to sign out themselves but SignOuts never complete.

The worst part is that Signing-In was also impossible "Remote Desktop Service is Busy".
Signing in at console was impossible also.

So my only option was to restart the servers.

This is raising a number of questions...

  • How t identify what is preventing Sign in ?
    • How to "kill" a user session ? ( I mean kill. Logoff never completed)
    • Why would a mapped drive would cause such a mess ?
    • How to prevent that in the future ?
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,378 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,322 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.3K Reputation points MVP
    2021-10-18T15:41:53.76+00:00

    You could do from cmd.exe
    qwinsta /SERVER:myserver

    then using the session ID

    rwinsta /SERVER:myserver <ID>

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. lolix3 166 Reputation points
    2021-10-19T06:32:44.73+00:00

    Hi,

    Thanks for the tip !

    Hopefully "rwinsta" has more power than "logoff"