Remote Desktop log off shortcut

Get answers from your peers along with millions of IT pros who visit Spiceworks.
Join Now

Hi, when users want to sign out / log off from remote desktop in Server 2016, they need to right click on the Start Button, then go to sign out.

When they left click on the power button the only option is disconnect.

The users tend to mainly just disconnect, which means some log off scripts are not being run, causing some issues.

Is there a way to add the sign out option when the power button is left clicked?

I tried downloading the 2016 admx file but it didn't seem to help.

Thanks for any advice

Popular Topics in Microsoft Remote Desktop Services
  • Think you've mastered IT? Try the Challenge »
  • RemoteApp and Desktops Stopped Working
  • Display a list of users with more than 50 running processes using P...
  • How does RDS determine which user roles apply to?
Spiceworks Help Desk

The help desk software for IT. Free.

Track users' IT needs, easily, and with only the features you need.

Learn More »

4 Replies

· · ·
Thai Pepper
OP
GDaddy
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 17, 2019 at 16:04 UTC

You could setup a gpo to Auto log them off at a set time after Disconnect [like 5 mins], that should run you scripts for you.

0
· · ·
Poblano
OP
PerpetualFusion
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 17, 2019 at 16:04 UTC

Not as intimate with Server 2016 as I am 2019, but you should find the available combination of options in Group Policy to disable Disconnect, and replace with Log On/off underUser Configuration\Administrative Templates\Start Menu and Taskbar or using Group Policy Preferences found under User Configuration\Preferences\. Depending on your needs and environment you may also want to consider RDP Session Limits under Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host.

0
· · ·
Cayenne
OP
Laird Spicehead
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 17, 2019 at 22:59 UTC

I use a batch file stored in C:\Windows\System32 call logoff.bat

The batch file contains...

@echo off
shutdown /l /f

and a ..\Public\Desktop shortcut called Logoff to the batch file..

0
· · ·
Mace
OP
Da_Schmoo
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 17, 2019 at 23:34 UTC
Microsoft Remote Desktop Services expert
48 Best Answers
202 Helpful Votes

Works the same way in Windows 10 - no option to signout unless you right click.

I just have my RDS Servers configured to logout disconnected sessions after 5 minutes.

0

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Video liên quan

Chủ Đề