I have searched but couldn't find any way to implement this requirement.
however if the PC itself is idle for 3 hours, yes, it may log-off all the user-profiles and hence the computer may also be logged-off. it will not log-off the PC because there may be the current user still active and not idle for 3 hours. So we just need to log-off only those users' profiles or clean-up their sessions who are already logged-on to the PC and idle for certain amount of time, say 3 hours. this also creates issues with logged-on users profile where their IDs are still logged-on to enterprise applications and applications sessions are still open. now when multiple users are already logged-on to a PC, the current user sees its performing slow.
this is fine and we cannot disable fast user-logon. When fast user-logon is enabled, user can just do switch-user and can log-into the PC. How do i log-off user-profiles or sessions after certain idle time and not log-off the PC or log-off all users?