Announcement

Collapse
No announcement yet.

TSCMD terminalserverprofile path

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TSCMD terminalserverprofile path

    I am trying to add this string in the terminal server path to a user by using this command: tscmd domainname username terminalserverprofilepath "%SystemDrive%\Documents and Settings\MandatoryProfile". The TSCMD reports no error, but converts %SystemDrive% to "C:". I do not want %SystemDrive% to be converted in the TS path. How do I do it? Thank you.

  • #2
    Re: TSCMD terminalserverprofile path

    I'm not sure on that but you might experiment with %%SystemDrive%% to see if that will put it in.

    Comment


    • #3
      Re: TSCMD terminalserverprofile path

      %%SystemDrive%% did not work. However, I've found a work around. Before running the tscmd command, I unassigned system variable SystemDrive (set SYSTEMDRIVE=), run the tscmd, then reassign SystemDrive (set SYSTEMDRIVE=C .

      Comment

      Working...
      X