I am trying to write a script that calls a program called idlelogoff that logs of users after a certain amount of idle time. However when i put the script into the startup option in group policy i can see the event take place in task manager however the user never gets logged out. Wondering what is occurring here. Another interesting tid bit is that when i run the batch file as administrator the program works as intended but i want to find a way to run it without having to enter my credentials.

i just need to make it run for all users. the problem is in our conference rooms people forget to log out and it messes with other user sessions, while using skype. I thought of this solution for five minutes of idle, tho my example shows ten seconds to log out users. However the program does not execute or the action does not take place .i was refereed to this by a peer of mine

ahhh i see, would this work for domain level authentication? users are not remote into these pc's. They are located in conference rooms and users log in with their domain credentials the problem being that they forget to log out.

i just need to make it run for all users. the problem is in our conference rooms people forget to log out and it messes with other user sessions, while using skype. I thought of this solution for five minutes of idle, tho my example shows ten seconds to log out users. However the program does not execute or the action does not take place