Welcome to KORG!
You can download a fully functional Kix-based login script from my web site. No coding needed - it has been used in large enterprise environments with many sites and thousands of users. In one large (3000 users across 250+ sites) the script performs 35 action decisions, maps the resulting drives and printers, displays an optional message, and runs two external commands in just 9 to 20 seconds (depending on the remote site link speed). The core code has been in use for well over a decade at over 100 sites around the world.
It uses an INI file for configuration, allows per-site and per-user config files, and supports mapping by group(s), OU, subnets. Group and OU processing can be "member of" or "not member of" one or more groups, including combinations (must be member of "Site1" group and not a member of "sales" group). It can also use a lookup table to modify the resource path (server name, share name, path, or any combination) based on userID, OU, Group, or Subnet.
The script is free, with full documentation and two free email support incidents. We do provide commercial, fee-based support for implementation, customization, and additional support.
For a no-code enterprise quality solution that you can have operational in just a few hours, give it a look. Select the Products page, go to the Admin Toolchest and click the Login Scripts link.
Glenn
_________________________
Actually I
am a Rocket Scientist!