Hey thanks guys, didn't know that one....gone get it right away. Thanks Rob -----Oorspronkelijk bericht----- Van: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] Namens Durbin, Jeff Verzonden: dinsdag 13 mei 2003 20:24 Aan: thin@xxxxxxxxxxxxx Onderwerp: [THIN] Re: Applying TsProfilePath via TSCMD with Variables I use VBScript to change TSProfilePaths and TSHomeDrives all the time on Win2K using Thomas Eck's COM object. It *DOES* work on Win2K. In fact, = it works on NT4, too. -----Original Message----- From: Rob Beekmans [mailto:robbeekmans@xxxxxxxxxxxxx]=3D20 Sent: Tuesday, May 13, 2003 10:53 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Applying TsProfilePath via TSCMD with Variables As I understand the things written, it will only work with =3D3D windows2003??? Who is runnign w2k3?, I'm not and I don't know anyone who is.....so =3D3D 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 = =3D =3D3D long already, and now this is like we say "make someone happy with a = dead =3D3D bird" 'cause none of my current customers will upgrade in the next year...so =3D3D 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 = =3D =3D3D for administration scripts...so the compare is not relevant for me at = least. =3D3D Greetings and have a nice evening or working day. Rob Beekmans=3D3D20 -----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=3D3D20 problems with the terminal server profiles, and I tried to look =3D = into=3D3D20 adsi and scripting. But the older version of the adsi api didn't = expose=3D3D20 the ts profile path property. I believe that this is an example of = the=3D3D20 superiority of WSH and scripting vs KIX. There had been a long=3D3D20 discussion about this topic in the previous day. I am happy to find some = =3D3D other administrator that is using wsh to create administrator = scripts.=3D3D20 http://www.winnetmag.com/WindowsServer2003/Index.cfm?ArticleID=3D3D3D2636= 5 This article is about windows server 2003 that is actually shipping with = =3D3D a specific dll for terminal server. Marco Cortigiani Durbin, Jeff wrote: >Thomas Eck, author of 'Windows NT/2000 ADSI Scripting for=20 >System=3D3D20=3D20 Administration' (which, in my opinion, is a MUST = HAVE=20 >for any=3D3D20=3D20 consultant or administrator), has written about = this=20 >very subject. With >=3D3D >ADSI, you can get to and set just about all parts of the = user's=3D3D20=3D20=20 >properties, with the exception of the TS Profile Path and the TS=3D20=20 >Home=3D3D20 Drive. You CAN set it using API calls, but you can't use=20 >API=3D20 calls in=3D3D20 VBScript. The answer to this is to encapsulate = the=20 >API=3D20 calls in a COM=3D3D20 object (a DLL) that CAN be accessed by=20 >VBScript. =3D He's >written just such =3D3D >a COM object and you can download it. I use it all the time to set=3D20 = >TS=3D3D20 Profile Paths and TS Home Drives from VBScript. > >His book about ADSI scripting:=3D3D20=3D20=20 >http://www.amazon.com/exec/obidos/tg/detail/-/1578702194/qid=3D3D3D3D105= 2 >7=3D 6 >6=3D3D 6 >46=3D3D3D >/=3D20=20 >sr=3D3D3D3D8-1/ref=3D3D3D3Dsr_8_1/102-9993642-0325759?v=3D3D3D3Dglance&s= =3D3D3D >3=3D Dbooks& >n=3D3D =3D3D3D3D507846=3D3D3D > > >Part 1 of his article explaining the problem and the = solution:=3D3D20=3D20=20 >http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=3D3D3D= 3 >D=3D 2 >0=3D3D 1 >39=3D3D3D >& >pg=3D3D3D3D1&show=3D3D3D3D664 > >Part 2 of the article, where he tells you how to compile the=20 >DLL:=3D3D20=3D20=20 >http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=3D3D3D= 3 >D=3D 2 >0=3D3D 5 >09=3D3D3D >& >pg=3D3D3D3D1&show=3D3D3D3D824 > >JD > >-----Original Message----- >From: Rob Beekmans [mailto:robbeekmans@xxxxxxxxxxxxx]=3D3D3D20 >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 >=3D3D >a long time There is no simple way of doing this. We tried to =3D change=3D3D20 >the schema so that when copying a user the tsprofile paths would =3D be=3D3D20=3D20 >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]=3D3D20 >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 =3D their=3D3D3D20=3D3D20 >TerminalServerProfilePath to all be: %profile%\%username% > >TSCMD doesn't seem to like the variables. Is there anyway that I=3D20=20 >can=3D3D20 do > >this? > >(Sorry, but I'm not much of a scripting expert.) > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* = =3D3D3D20=3D3D20=3D20=20 >http://join.msn.com/?page=3D3D3D3Dfeatures/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=3D3D3D20 >set Digest or Vacation mode use the below link:=3D3D20=3D20=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=3D3D3D20 >set Digest or Vacation mode use the below link:=3D3D20=3D20=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:=3D20=20 >http://thethin.net/citrixlist.cfm > > =3D3D20 > --=3D3D20 ******************************************************** 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=3D3D20 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=3D20 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=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