[THIN] Re: AD tool?

  • From: Jeremy Saunders <jeremy.saunders@xxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Fri, 30 Sep 2005 21:47:53 +0800




Use google and search for  terminalserver.dll. Once registered, you can
register the object in a VBScript and use the procedures within. You will
also find some sample scripts around. We used to use it with Windows 2000
AD, but now this stuff is built into 2003 AD.

Go here http://www.windowsitpro.com/Article/ArticleID/20509/20509.html

Then download the code.

A snippet from my old code is as follows...

Const constServer = "FILESERVER01"
Const constHomeDirPath = "D:\Data\Users\"
strProfileTS = constHomeDir & strLogon & "$\profiles\Citrix\"
strLogon = jeremy
Dim TSConfigObject
Dim RetVal
Set TSConfigObject=CreateObject("TerminalServer.UserConfig")
RetVal = TSConfigObject.ModifyTSProfilePath(constServer, strLogon,
strProfileTS)
'If RetVal = True Then
'     WScript.Echo "TS Profile Path modified"
'Else
'     WScript.Echo "TS Profile Path NOT modified"
'End If

There may be some stuff missing here, but I hope that's enough to help.

Cheers.

 Kind regards,



 Jeremy Saunders
 Senior Technical Specialist

 ceruleanTM
 an IBM Australia Company
 formerly known as Logicalis

 Level 2, 1060 Hay Street
 West Perth  WA  6005
 AUSTRALIA

 Visit us at
 http://www.cerulean.com.au/

 P:  +61 8 9261 8412            F:  +61 8 9261 8536
 M:  TBA                        E-mail:
                                Jeremy.saunders@xxxxxxxxxxx












                                                                       
             "Burke, Paul"                                             
             <paul.burke@envis                                         
             iontechnologies.c                                          To
             o.uk>                     <thin@xxxxxxxxxxxxx>            
             Sent by:                                                   cc
             thin-bounce@freel                                         
             ists.org                                              Subject
                                       [THIN] Re: AD tool?             
                                                                       
             30/09/2005 06:04                                          
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
                   thin                                                
                                                                       
                                                                       




Have you tried ADmodify, courtesy of Microsoft? It can be downloaded here:

ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify/


Regards,

Paul

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Claus, Brian
Sent: 29 September 2005 16:14
To: thin@xxxxxxxxxxxxx
Subject: [THIN] AD tool?

Looking for a Win2k AD tool that will allow me to change the Terminal
Services Profile tab on a mass scale for all users.  Anyone have a
suggestion?

********************************************************
This Weeks Sponsor: triCerat Inc.
You need Day Zero Protection!
Get Proactive with triCerat's Simplify Suite.
Solve printing, security and profile problems before they occur.
http://www.tricerat.com/?thethintl2
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: