Blocked RDP connection no longer blocked after network disconnected

LFra 21 Reputation points
2020-11-10T13:05:38.717+00:00

If you lock an RDP connection and then disconnect and reconnect the Internet connection, you can use the RDP session without entering the password.

Should this be the case? Is there a way to prevent this?

I have already set the setting that no automatic connection attempt should happen after a disconnection, but I would be open for a better solution.

With kind regards
F.L.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,737 questions
0 comments No comments
{count} votes

Accepted answer
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,801 Reputation points Microsoft External Staff
    2020-11-11T05:36:55.6+00:00

    Hi,

    You can also configure below policies.

    On RDS session host server
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security
    Enable "Always prompt for password upon connection"

    On Client
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client
    Enable " Do not allow passwords to be saved"

    Thanks,

    Eleven

    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Philippe Levesque 5,816 Reputation points
    2020-11-10T16:31:49.713+00:00

    Hi

    The session is restored by the local Remote Desktop Client, as it cached the session / credential, in it's attemps to restore the session.

    You can't use without password the same session from another computer. To restore the disconnected session from another computer the user need to enter the credential again.

    To prevent what you see you could set a disconnection close setting, so the session would close on the remote server when the session fall disconnected.

    The settings is there in Group Policy (gpedits.msc);

    Computer Configuration, Admin Templates, Windows Components, Remote Desktop Services, Remote Desktop Session Host, Session Time Limits.

    Thanks

    0 comments No comments

  2. LFra 21 Reputation points
    2020-11-11T07:16:54.44+00:00

    Thank you guys, i think the Answer of ElevenYu-MSFT is a good choice :)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.