• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Automated remote desktop session time limit

Ajelvani

Member
Right now im running windows 10 enterprise on a vm using hyper-v. On this vm, i want a user to be able to connect with a code or password and then be automatically disconnected after 2 hours. I would like the 2 hour timer to run even when the users not connected. Also, i want a new code or password to be generated and set after the 2 hour time limit is up. How exactly would i do this?
 
I think you can set up time limits like that in parental controls. I _know_ you can do it using active directory group policies, but that's probably more complicated.

Not sure about the auto-new-password-generation thing. Probably a script kicked off by a scheduled task - when the user logs in (or logs out?), it automatically generates them a new password.

There's probably other ways to do that - just off the top of my head, you know?
 
I would really appreciate if someone could help me as this would require programming maybe an application that would run in the backrground. I dont really know how to program so someone help. Thanks
 
Well i dont want a client to reconnect again. Its a paid service and the password needs to change everytime a user connects
 
Oh, that jogged my memory - this is that paid VM access thing you're working on.

Set up an Active Directory environment and use group policy. Each paying customer can get their own user account, password, etc., with time limits to access. You don't need to program anything, but there's still some learning curve.

Good luck.
 
Another way to do it - if some trappable event happens when the user gets booted off at 2hrs (event log?), then set a powershell script to attach to that event and change the password.
 
Back
Top