Jump to content

kab

Members
  • Gesamte Inhalte

    5
  • Registriert seit

  • Letzter Besuch

Beiträge erstellt von kab

  1. Ich würde das Tool ja gerne anpassen, nur leider wird der Befehl nicht unterstützt.

    Selbst Microsoft hat gesagt das es über LDAP nicht möglich sei und man ein neues AD installieren müsste. Ich habe hier nun eine Testumgebung und möchte das AD aktuallisieren. Nur ich weis nicht was alles beachtet werden muss.

    Service Pack 4 habe ich doch noch nicht installiert und werde das mal nachholen.

  2. Ich versuche schon seit mehreren Tagen via VBS und Delphi bei einem Windows 2k Server den Terminal Pfad und HomeDir zu ändern. Leider alles ohne erfolg.

     

    On Error Resume Next

     

    Set objCont = GetObject("LDAP://" & Users.Text & ",dc=" & Domain.Text & ",dc=" & Namen.Text)

     

    For Each objUser In objCont

    Select Case msg

    Case 2

    Exit Sub

    Case 7

    Exit For

    End Select

    objUser.TerminalServicesHomeDirectory = "Test"

    objUser.AllowLogon = Enabled

    objUser.SetInfo

    Next

    If Not objCont Is Nothing Then Set objCont = Nothing

     

     

    Bei einem Windows 2003 Server funktioniert dies.

     

    Zudem habe ich diese Info erhalten:

     

    According to your post, I understand that you want to configure the Terminal Profile by script in Windows 2000 AD. If I am off-base on othat, please let me know.

     

    In Windows 2000, Terminal services cannot be directly controlled via LDAP. The information is stored in the AD as blob data in the UserParameters attribute. Modifying this information must be done using the WTS API. In the terminal services API there is a function called WTSSetUserConfig. The third parameter for this function is WTSConfigClass. This config class can have many values and one of these values is WTSUserConfigTerminalServerProfilePath, which happens to be the profile path.

     

     

    Wer kann mir nun helfen dies zu realisieren?

×
×
  • Neu erstellen...