Results 1 to 2 of 2

Thread: Logon Script based on Group Membership

  1. #1
    sweeneyt is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    3

    Default

    I would like to consolidate a few GPO that map network drives based on Group membership. This would be similar to how NetWare uses "If Member of"

  2. #2
    AdamV is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    669

    Default

    Do you have a scripting language preference?

    If you are familiar with Novell scripting then porting that knowledge across to using KixTart should be really easy (rather than learning VBS from scratch if you don't have those skills already). Syntax for many command is very similar to normal command shell language, with a few minor variations (eg "Use" in Kix does pretty much what "Net use" does for mapping to shares)

    www.kixtart.org

    Kix works across various OS platforms so it is good for mixed environments too, even for non-GPO machines (NT, 9x). Essentially you run an exe with the script file as a parameter. You can call a kix script from inside another kix script without starting a new copy of the exe.

    Kix includes a built-in function "InGroup" so you can use
    IF InGroup("Sales Users") then foo else bar

    Or use it in a CASE statement for several group tests rather than using nested IFs (say, map X to a different share for each department)

    InGroup fully supports AD group nesting, so if you have SalesManagers as a group inside SalesUsers inside AllUsers, then a user in SalesManagers would be accepted as a member of any of these three by the InGroup function (actually this is because of the way the user token is created, not some cleverness of Kix, but worth knowing).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO