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.
Computer HelperWindows Server AdminAsked:
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.

Why don't you just run your application as a service instead?

There really isn't a need to keep a user logged on once you've converted it to a service.
Computer HelperWindows Server AdminAuthor Commented:
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.
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.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Computer HelperWindows Server AdminAuthor Commented:
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.
There's 3 default Remote Desktop Sessions.  One is the Console.  If your server is in a secure room, log onto the Console session and put a weight on the keyboard.

Otherwise override the session's timeout just for Administrator.

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
Computer HelperWindows Server AdminAuthor Commented:
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.
--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\Software\Microsoft\Terminal Server Client]
"Keep Alive Interval"=dword: 999999(decimal)
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.