[mswindowsxp] Re: Batch process - Terminal Server Profile and Home Path Variables

  • From: "Jim Kenzig http://thethin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: mswindowsxp@xxxxxxxxxxxxx
  • Date: Wed, 21 Jan 2004 15:05:37 -0500

You can use the TSCmd utility by systemtools.com to set the user profile
path in a script info is in the readme or search thethin.net archives...


-----Original Message-----
From: mswindowsxp-bounce@xxxxxxxxxxxxx
[mailto:mswindowsxp-bounce@xxxxxxxxxxxxx]On Behalf Of David Spanne
Sent: Wednesday, January 21, 2004 2:55 PM
To: mswindowsxp@xxxxxxxxxxxxx
Subject: [mswindowsxp] Batch process - Terminal Server Profile and Home
Path Variables

I have a batch file for moving users and changing their SAM database
for User Profile Path and Home Directory:

NET USER %1 /DOMAIN /HOMEDIR:\\%4\%5\%1\home
/PROFILEPATH:\\%4\%5\%1\Profile\Profile.pds /DOMAIN

The problem is that I also need it to modify the Terminal Server Profile
and the Terminal Server Home Directory.

I believe I can use TSProf.exe to modify the profile path, but I've heard of
problems in doing this when the user account was created with NET USER or
Windows User Manager instead of TSProf or Terminal Server User Manager
Also, TSProf does not seem to address the Terminal Server Home Directory.

Can I accomplish what I want with my batch file (I'm not knowledgeable
enough to
to try VB scripts making API calls)?

To Unsubscribe, set digest or vacation
mode or view archives use the below link.


Other related posts: