Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Terminal Services Session Properties for a User AccountContent of Modify Terminal Services Session Properties for a User Account.vbsMD5 Hash: 8DBF1613EDA07BD589C82B839C710146 |
||
' Description: Configures Terminal Services session attributes for the MyerKen Active Directory user account.
Const Enabled = 1 Const Disabled = 0 Set objUser = GetObject _ ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.MaxDisconnectionTime = 2880 objUser.MaxConnectionTime = 1440 objUser.MaxIdleTime = 180 objUser.BrokenConnectionAction = Enabled objUser.ReconnectionAction = Enabled objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |