[SOLVED] How can i hide desktop for a specific user / how can i force the user to sign off when close specific app?

Dec 27, 2021
2
0
10
Hey guys! how are you?
I am having an issue. Actually this is happening on Windows Server 2016 but i believe it's the same thing for other windows operating systems?

So, in my windows server 2016 i want that a whenever a specific user logs in, a certain app is launched and he doesn't have access to windows desktop.
Is this possible? is it possible to "de-activate windows desktop" for a specific user?

Also, i want that when that certain app is closed, automatically the user signs off from windows.
For the app to auto-start when windows is opened i created a shortcut in shell:startup of the specific user.
Thanks in advance for your help and have an happy new year
 
Solution
For both topics being a "bit lost" is not an uncommon reaction. o_O

Start here:

https://www.pcwdld.com/group-policy-management

and

https://techexpert.tips/windows/gpo-create-scheduled-task/

https://windowsreport.com/schedule-tasks-windows-10/

Key is to be able to figure out what specifically needs to be done and then how to do it.

Take your time - look and plan. Change/edit only one thing at a time. Preferably in a test environment where nothing else is affected if your efforts go astray.

And I feel I would be remiss if I did not ask: Are you dealing with a specific problem user?

If so, then that is a different sort of problem and even if you establish policy and actions the real problem may not...
Dec 27, 2021
2
0
10
Overview:

Group Policy to control desktop and app(s) available to the specific user.

Task Scheduler to sign off/shutdown specific user when app is closed.

Hi @Ralston18 , how are you?
Thank you so much for your reply.

I don't want to be abusive, but can you give me some extra pointers in the right direction? i went to task scheduler and gpedit but i was a bit lost.

thanks in advance
 

Ralston18

Titan
Moderator
For both topics being a "bit lost" is not an uncommon reaction. o_O

Start here:

https://www.pcwdld.com/group-policy-management

and

https://techexpert.tips/windows/gpo-create-scheduled-task/

https://windowsreport.com/schedule-tasks-windows-10/

Key is to be able to figure out what specifically needs to be done and then how to do it.

Take your time - look and plan. Change/edit only one thing at a time. Preferably in a test environment where nothing else is affected if your efforts go astray.

And I feel I would be remiss if I did not ask: Are you dealing with a specific problem user?

If so, then that is a different sort of problem and even if you establish policy and actions the real problem may not be solved.
 
Last edited:
Solution