SO and Group Policies

Discussion in 'Parallels Remote Application Server' started by nightstar, Feb 18, 2008.

  1. nightstar

    nightstar Guest

    We are currently testing out xpe thin clients with the 2x software virtualization. We are settiing registry keys at HKLM\Software\2x\AppServerClient via a computer logon scrips in AD. All settings seem to carry over for any test user that logs in except SSO. We want the value to be 1 instead of 0 (always defaults to 0 at the HKCU\Software\2x\AppServerClient.

    We need to be able to handle this in the computer logon script if possible. All thinclients are going to be located in the same OU and users will be scattered throughout AD, and not everyone in the company will be using the thin clients as of yet. We are trying to make it quick for making changes instead of making a change on our test xpe thin client, comitting the change, and pushing the new image to everyone and having to rejoin them to the domain. I would rather them all be rebooted and be updated.


    Any suggestions
     
  2. MikeW

    MikeW Guest

    I'm assuming that you are using MS VBScript for your login scripts. I also believe that you mean the HKCU hive an not the HKLM hive (my HKLM hive was defaulted to 1; yet, the HKCU was at 0).

    Anyway...


    Code:
    Const HKCU = &H80000001 'Registry Hive
    Const HKLM = &H80000002 'If you really want HKLM
    Dim wshShell
    Set wshShell = CreateObject("WScript.Shell")
    
    ' Change below to HKLM if you really want it that way
    strPath = "HKCU\Software\2x\AppServerClient\SSO"
    wshShell.RegWrite strPath,"1","REG_DWORD"
    

    For further login script/vbscript head over to tek-tips.com
     

Share This Page