Announcement

Collapse
No announcement yet.

TSCMD Problem - no homedirs mapped

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

  • Ezy
    replied
    Re: TSCMD Problem - no homedirs mapped

    Should the Homedirdrive letter be set with or without the : and or ""

    Which is the correct variable to pass:
    H
    H:
    "H"
    "H:"

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: TSCMD Problem - no homedirs mapped

    Access denied would indicate that the permissions are being set differently when you use your script versus when running Hyena. Neither will set permissions, so Windows is probably doing this based on the account you are running the script under.

    I would recommend testing both methods and comparing how the security is being set.

    Leave a comment:


  • boemmel
    replied
    Re: TSCMD Problem - no homedirs mapped

    Hi, with quatation marks does it work. Thanx.
    But now there is a problem with the ProfilPath

    The Setting ist correct. But, when I log off as a user the system does not save in the directory.

    The eventmanager shows the following message:
    Windows cannot unload your registry class file. If you have a roaming profile, your settings are not replicated. Concact your administrator.

    DETAIL Access is denied. ,Build number ((2195)).

    When I set the Terminalpath in Hyena it works, but not in the script with the help of TSCMD

    Leave a comment:


  • boemmel
    replied
    Re: TSCMD Problem - no homedirs mapped

    I set it as "Z". In Hyena the Drive is shown correct.
    I will try it with a punctation marc.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: TSCMD Problem - no homedirs mapped

    When you pass the $homedirdrive variable to your script, are you passing as D: or D?

    Leave a comment:


  • boemmel
    replied
    Re: TSCMD Problem - no homedirs mapped

    The commands are:

    CMD.EXE /C
    tscmd $domainserver $username TerminalServerProfilePath $profildir\$username

    CMD.EXE /C
    tscmd $domainserver $username TerminalHomeDir $homedir\$username

    CMD.EXE /C
    tscmd $domainserver $username TerminalHomeDirDrive $homedirdrive

    I am using the commands in a script to set user rights for wts.
    The "$words" are variables in the script.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: TSCMD Problem - no homedirs mapped

    What is the exact command you are typing in to set the Homedirdrive?

    Leave a comment:


  • boemmel
    started a topic TSCMD Problem - no homedirs mapped

    TSCMD Problem - no homedirs mapped

    hi,

    i have got a problem with the command line programm TSCMD.
    When I start TSCMD in a script, I set the Homedirdrive, Homedirpath and profilpath.
    In Hyena all is shown right. But, when I log on the Terminal Server the Homedirdrive is not mapped.
    What can it be?
Working...
X