[THIN] Re: Applying TsProfilePath via TSCMD with Variables

  • From: "Rob Beekmans" <robbeekmans@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 13 May 2003 19:53:11 +0200

As I understand the things written, it will only work with =
windows2003???
Who is runnign w2k3?, I'm not and I don't know anyone who is.....so =
maybe in
the near future this will be a blessing but now it's just a nice very
welcome addition we needed at least two years ago.

Sorry to be so cynical but I've been looking for a tool like this too =
long
already, and now this is like we say "make someone happy with a dead =
bird"
'cause none of my current customers will upgrade in the next year...so =
I'm
stuck with the uselessness of the curent tools.

...pffff, letting of steam after a hard day at work......

And for the kix / wsh comparison, kix I use for login scripts and wsh =
for
administration scripts...so the compare is not relevant for me at least. =


Greetings and have a nice evening or working day.

Rob Beekmans=20

-----Oorspronkelijk bericht-----
Van: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] Namens
Marco Cortigiani
Verzonden: dinsdag 13 mei 2003 2:57
Aan: thin@xxxxxxxxxxxxx
Onderwerp: [THIN] Re: Applying TsProfilePath via TSCMD with Variables


Jeff,
Thanks for the great tip This is really great stuff. I had a lot of=20
problems with the terminal server profiles, and I tried to look into=20
adsi and scripting. But the older version of the adsi api didn't expose=20
the ts profile path property. I believe that this is an example of the=20
superiority of WSH and scripting vs KIX. There had been  a long=20
discussion about this topic in the previous day. I am happy to find some =

other administrator that is using wsh to create administrator scripts.=20
 http://www.winnetmag.com/WindowsServer2003/Index.cfm?ArticleID=3D26365
This article is about windows server 2003 that is actually shipping with =

a specific dll for terminal server.

Marco Cortigiani

Durbin, Jeff wrote:

>Thomas Eck, author of 'Windows NT/2000 ADSI Scripting for System=20
>Administration' (which, in my opinion, is a MUST HAVE for any=20
>consultant or administrator), has written about this very subject. With =

>ADSI, you can get to and set just about all parts of the user's=20
>properties, with the exception of the TS Profile Path and the TS Home=20
>Drive. You CAN set it using API calls, but you can't use API calls in=20
>VBScript. The answer to this is to encapsulate the API calls in a COM=20
>object (a DLL) that CAN be accessed by VBScript. He's written just such =

>a COM object and you can download it. I use it all the time to set TS=20
>Profile Paths and TS Home Drives from VBScript.
>
>His book about ADSI scripting:=20
>http://www.amazon.com/exec/obidos/tg/detail/-/1578702194/qid=3D3D1052766=
6
>46=3D
>/
>sr=3D3D8-1/ref=3D3Dsr_8_1/102-9993642-0325759?v=3D3Dglance&s=3D3Dbooks&n=
=3D3D507846=3D
>
>
>Part 1 of his article explaining the problem and the solution:=20
>http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=3D3D20=
1
>39=3D
>&
>pg=3D3D1&show=3D3D664
>
>Part 2 of the article, where he tells you how to compile the DLL:=20
>http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=3D3D20=
5
>09=3D
>&
>pg=3D3D1&show=3D3D824
>
>JD
>
>-----Original Message-----
>From: Rob Beekmans [mailto:robbeekmans@xxxxxxxxxxxxx]=3D20
>Sent: Monday, May 12, 2003 9:49 AM
>To: thin@xxxxxxxxxxxxx
>Subject: [THIN] Re: Applying TsProfilePath via TSCMD with Variables
>
>
>
>Like a lot of other people on this list, I'm looking for a way also for =

>a long time There is no simple way of doing this. We tried to change=20
>the schema so that when copying a user the tsprofile paths would be=20
>inherited like the profile paths do. This didn't work unfortunatly....
>
>So I stand beside you in your quest for the holy script.
>
>Grx
>Rob
>
>-----Oorspronkelijk bericht-----
>Van: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]=20
>Namens Jacob Walker
>Verzonden: maandag 12 mei 2003 15:33
>Aan: thin@xxxxxxxxxxxxx
>Onderwerp: [THIN] Applying TsProfilePath via TSCMD with Variables
>
>
>
>I have a list of userids for which I would like to change their=3D20=20
>TerminalServerProfilePath to all be: %profile%\%username%
>
>TSCMD doesn't seem to like the variables.  Is there anyway that I can=20
>do
>
>this?
>
>(Sorry, but I'm not much of a scripting expert.)
>
>_________________________________________________________________
>The new MSN 8: smart spam protection and 2 months FREE* =3D20=20
>http://join.msn.com/?page=3D3Dfeatures/junkmail
>
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or=3D20
>set Digest or Vacation mode use the below link:=20
>http://thethin.net/citrixlist.cfm
>
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or=3D20
>set Digest or Vacation mode use the below link:=20
>http://thethin.net/citrixlist.cfm
>********************************************************
>This Week's Sponsor - Emergent Online
>EOL's Universal Printer new Features include:
>Network Printing, Pagestreaming, 2400 DPI.
>No Client Software Required!
>http://www.go-eol.com/
>**********************************************************
>
>For Archives, to Unsubscribe, Subscribe or
>set Digest or Vacation mode use the below link:
>http://thethin.net/citrixlist.cfm
>
> =20
>

--=20



********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: