Jump to content

change idle session timeout on MS terminal server with autoit


Recommended Posts

I need to use autoit to automatically set the idle timeout session for terminal server to exactly 60 minutes. I know the manual way of doing this and I have searched on google but I cant seem to find a DOS command to embed in my autoitscript so that I can set the idle timeout session. Can you help me if somebody know it. thanks for your help...

Link to comment
Share on other sites

Hi goodbyeplanet,

isn't that a setting you can modify over GPO?

Regards,

Hannes

:)

yes its possible via GPO but i want it to be unique for each user. I have found NET CONFIG SERVER command and it works on windows xp so will hv to try it on the server. on xp i hv tried this:
Run(@ComSpec & " /c " & "Net Config Server " & $variable & " /AUTODISCONNECT: 50", "", @SW_HIDE)
but after running it it seems not to change the idle timeout limit.

hey Hannes thanks for your link yesterday...was in a rush and so didnt hv time to say thank u:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...