Computer Helper
asked on
Keep User logged in on Server 2012 R2
I have Virtual Server2012 R2 that is hosted in the cloud.
It is on a Domain and using Active Directory
I have the RDS license installed and all is well
I have an Admin user that needs to keep his session logged in so that certain tasks are performed. This is the only user that needs this. I need the other users to get logged out as soon as they close the RDS session for performance and security reasons.
It is on a Domain and using Active Directory
I have the RDS license installed and all is well
I have an Admin user that needs to keep his session logged in so that certain tasks are performed. This is the only user that needs this. I need the other users to get logged out as soon as they close the RDS session for performance and security reasons.
ASKER
According to the SQL writer the login has to stay running. It’s not a task thing, it has to do with QuickBooks requiring the UI to run. And only way that happens is to have a disconnected user logged in to run the tasks it needs to do. It’s weird, but there you go.
QB absolutely requires a UI to run, so you have to be logged in as a real user and not a service.
QB absolutely requires a UI to run, so you have to be logged in as a real user and not a service.
I seem to recall that there was a setting in 2003 and 2008 (It's been a long while and I haven't had to run a service in 2012 yet) that allowed you to set a user and run as if the user was logged in.
ASKER
There has to be a way to keep a user logged into Server 2012R2 and it be isolated to only Administrators or a single user.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Called Microsoft and this is how they fixed it.
PROBLEM: Only one user should have an rdp session, that is always active and never ends on Server 2012 R2.
RESOLUTION:
--created a new container in Active Directory and moved the user into that container.
--created a new GPO for this container
--enabled the “Set time limit for disconnected sessions to never” policy for that user by editing the new GPO:.
--ran gpupdate /force on the server as well on that particular user session.
--also made the following registry change for that user on the user session itself:
[HKEY_CURRENT_USER\Softwar e\Microsof t\Terminal Server Client]
"Keep Alive Interval"=dword: 999999(decimal)
PROBLEM: Only one user should have an rdp session, that is always active and never ends on Server 2012 R2.
RESOLUTION:
--created a new container in Active Directory and moved the user into that container.
--created a new GPO for this container
--enabled the “Set time limit for disconnected sessions to never” policy for that user by editing the new GPO:.
--ran gpupdate /force on the server as well on that particular user session.
--also made the following registry change for that user on the user session itself:
[HKEY_CURRENT_USER\Softwar
"Keep Alive Interval"=dword: 999999(decimal)
There really isn't a need to keep a user logged on once you've converted it to a service.