SimonKravis
Senior Member
- Joined
- Dec 12, 2013
- Messages
- 3
- Thread Author
- #1
I am using remote access to Server 2016 on a Virtual Private Server and wish to configure a user account Test to terminate after 1 hour of being disconnected. From the server Admin account I have accessed Computer Management -> Local Users and Groups-> Users -> Test and in the Sessions tab of account properties set Ends a Disconnected Session to 1 hr. However, the disconnected Test session does not close after 1 hr of disconnection. (As shown by Task Manager-> Users which shows the Test account in a disconnected state after more than 1 hr of disconnection.)
I then used gpedit.msc from an Administrator account to set User Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Session Time Limits to end disconnected sessions 1 hour after disconnection rather than never. This was successful but had the side effect of preventing the IIS web server from working unless it is restarted from the Administrator account. The Web application runs a Windows executable by this may not explain why IIS does not run without an administrator session running. It seems as though the gpedit policy setting applies to all users. I would like it to apply only to non-admin users. How can this be done?
I then used gpedit.msc from an Administrator account to set User Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Session Time Limits to end disconnected sessions 1 hour after disconnection rather than never. This was successful but had the side effect of preventing the IIS web server from working unless it is restarted from the Administrator account. The Web application runs a Windows executable by this may not explain why IIS does not run without an administrator session running. It seems as though the gpedit policy setting applies to all users. I would like it to apply only to non-admin users. How can this be done?