[THIN] Re: ts profile setting

  • From: "Rick Mack" <Rick.Mack@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 25 Aug 2004 07:23:15 +1000

Hi,
 
If you want to find out what users have a TS profile defined, tscmd will
do this for you. Just generate a list of domain users:
 
for /f "tokens=1,2,3 skip=6" %i in ('net user /domain') do @echo %i >>
users.txt & @echo %j >> users.txt & @echo <mailto:&@echo>  %k >>
users.txt 
 
There will be a couple of lines to delete at the end of users.txt snd
then its useable.
 
Now use tscmd to list all the users TS profile directories.
 
for /f %i in (users.txt) do @echo %i >> profiles.txt & tscmd
\\you_domain_controller %i   TerminalServerProfilePath >> profiles.txt
 
Should be doing this with ADSI scripting, but this is easier ;-)
 
regards,
 
Rick
 
Ulrich Mack
Volante Systems Ltd
18 Heussler Terrace, Milton 4064
Queensland Australia.
Ph: +61 7 3246 7704
email: rmack@xxxxxxxxxxxxxx
web: www.volante.com.au




        -----Original Message-----
        From: thin-bounce@xxxxxxxxxxxxx
[mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jonathan Kadoo
        Sent: Wednesday, 25 August 2004 1:27 AM
        To: Thinlist
        Subject: [THIN] ts profile setting
        
        
        We are in the process of migration our users from an old citrix
farm to a new one.  This move requires us to move their profiles as
well.  The problem is that I don't have a list of remote access users.
I am trying to find a way to determine in our AD who has their ts
profile set and where it is set to.  I have tried the ldifde tool but it
only gives me their profile path not their ts profile path.  Any
suggestions on how I can get this info?
         
        thanks
         
        Jonathan


#####################################################################################
This e-mail, including all attachments, may be confidential or privileged.  
Confidentiality or privilege is not waived or lost because this email has been 
sent to you in error.  If you are not the intended recipient any use, 
disclosure or copying of this email is prohibited.  If you have received it in 
error please notify the sender immediately by reply email and destroy all 
copies of this email and any attachments.  All liability for direct and 
indirect loss arising from this email and any attachments is hereby disclaimed 
to the extent permitted by law.
#####################################################################################

Other related posts: