Give helpdesk user permission to logoff RDS sessions

I have 1'st level support staff, that I want to be able to logoff users on the terminal server.
The RDS servers are Windows 2012R2.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

R. Andrew KoffronCommented:
check out this article, I recently was looking for making non-admin able to shadow RDS sessions, it might apply to your need also. by changing the security on the RDP-Tcp listener was able to accomplish it. wasn't worried about other issues in the environment, but by all means so some further research on possible security issues, since obvious your not trying to make them admins.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mathiesen-dataAuthor Commented:
It worked. I followed your link, and in the thread a guy made a powershell script to be used for remote control of other users.
I rewrote it, to just log off used instead.
Long story short, make a user group, give it permission with wmi command.
Use logoff command in command prompt.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.