[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Global terminal server session properties change for all AD users

Posted on 2006-06-28
2
Medium Priority
?
181 Views
Last Modified: 2010-04-13
I have over 200 users in an active directory domain.  I need to set the timeout properties on the session tab for each user in the AD so that all users are set the same.  How do I do that in a global step, instead of having to click on each user and make the change one at a time?
0
Comment
Question by:murryc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 1000 total points
ID: 17004987
Get TsCmd.exe from http://www.somarsoft.com/ (in the Free Tools section).
Create a text file with the user names (one name per line), and save the following script as tstimeout.cmd (or whatever.cmd), adjust the settings at the beginning.
Try it with a list of test users first.

@echo off
setlocal
:: *** The text file with the user names to be processed:
set UserFile=
:: *** The name of the DC:
set DC=
:: *** The timeout settings:
set TimeoutConnection=
set TimeoutDisconnect=
set TimeoutIdle=

for /f %%a in ('type "%UserFile%"') do (
  tscmd %DC% "%%a" TimeoutConnection %TimeoutConnection%
  tscmd %DC% "%%a" TimeoutDisconnect %TimeoutDisconnect%
  tscmd %DC% "%%a" TimeoutIdle %TimeoutIdle%
)
0
 

Author Comment

by:murryc
ID: 17005570
Perfect!
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question