Announcement

Collapse
No announcement yet.

Applying Different Desktops depending on Computer and User Group Memebership.

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

  • Applying Different Desktops depending on Computer and User Group Memebership.

    Hello guys,

    Really sorry to bother you and would appreciate any help that can be given at all.

    I am sort of at a dead end with this and am considering third party sortware, which i am reluctant to buy (unless its microsoft).

    I work in a school and my ultimate goal is to have a different desktop depending on which computer you are logged on at and who you are for example.

    A "Year 7" user logging on to a pc in "Science" would be redirected to a desktop of "\\server\desktop\year7\science".

    Where as

    A "Year 8" user logging on to a pc in "English" would be redirected to a desktop
    of "\\server\desktop\year8\english".

    Can this be done with GPO and or VB in a script maybe.

    I have even tried to enumerate the group memebership with a vb script which works but then i i don't know how to redirect the desktop. The only way i can do it is by changing the registry keys but this requires a logoff.

    Thanks in advance guys and if i can return the favour i will.

    steve

  • #2
    Re: Applying Different Desktops depending on Computer and User Group Memebership.

    Sure this can be done. You're talking about roaming profiles. The million dollar question is what will the difference be between a year 7 student logging in to English and a year 7 student logging in to Science? What would be the fundamental similarities or differences between those two desktops?

    Loopback processing will probably get involved somewhere.

    Jas
    VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+
    boche.net - VMware Virtualization Evangelist
    My advice has no warranties. Follow at your own risk.

    Comment


    • #3
      Re: Applying Different Desktops depending on Computer and User Group Memebership.

      You have to use a script.

      You could set the name of the OU and/or Group as an 'environment variable' on the local computer during a startup/logon. And use the variable name with the re-directing of the My Documents folders (like you use the standard environmentvariable %username%).

      Are "Year 7" and "Year 8" OU's containing students or are they security groups in AD? And are "science" and "english" OU's or are they security groups in AD containing computers per class?


      For setting the variables using a (startup/logon-) script, choose one of these equal named utilities:

      1. SetEnv.exe (lighter than the other one)
      - http://www.codeguru.com/cpp/w-p/win3...cle.php/c10849
      or
      - http://www.codeproject.com/tools/SetEnv.asp

      2. SETENV.EXE (this one has more functionality)
      - http://www.jsifaq.com/sf/tips/tip.aspx?id=4928
      or
      - http://www.windowsnetworking.com/nt/...atips343.shtml

      "Any user can add, modify, or remove a user environment variable. However, only an administrator or systemaccount can add, modify, or remove a system environment variable. You can set %classroom% during computer startup as a system environment variable. And set %years% as a user environment variable during the user logon."
      Setting environment variables


      \Rems

      This posting is provided "AS IS" with no warranties, and confers no rights.

      __________________

      ** Remember to give credit where credit's due **
      and leave Reputation Points for meaningful posts

      Comment

      Working...
      X