RE: Login Script Help
- From: ckpilling <ckpilling@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Oct 2008 13:15:01 -0700
Hi Bud,
Have you tried using a kixtart logon script that calls an env.txt file to
apply settings to AD groups as described in your question?
logon.bat would have something like:
echo off
rem ***** Main Logon Batch File for Users *****
rem *** KiXtart to set environment variables ***
%0\..\kix32.exe env.txt
env.txt can have:
?"Checking Operating System...."
IF (@INWIN = 1)
? "Windows NT "
? "Setting DOS variables...."
SHELL "SET USERNAME=@USERID"
SHELL "SET ADDRESS=@ADDRESS"
SHELL "SET COMPUTER=@WKSTA"
SHELL "SET DOMAIN=@DOMAIN"
ELSE
? "Windows 9x "
? "Setting DOS variables...."
SHELL "winset.exe USERNAME=@USERID"
SHELL "winset.exe ADDRESS=@ADDRESS"
SHELL "winset.exe COMPUTER=@WKSTA"
SHELL "winset.exe DOMAIN=@DOMAIN"
ENDIF
? "Checking group membership...."
IF INGROUP("SALES") = 1
Use f: "\\srv01\SALES"
Use lpt1: "\\srv01\sales_printer"
ENDIF
IF INGROUP("ACCOUNTS") = 1
Use f: "\\srv01\ACCOUNTS"
Use lpt1: "\\srv01\accounts_printer"
ENDIF
Chris
"Bud Veltman" wrote:
I have just started at a new company with approximately 65 users in house..
They are currently attempting to implement a login script that defines each
user's home share as well as mapped drives and printer assignment to include
the default printer based on group membership. The script works fine as long
as each user belongs to only one group.
How can I modify my login script to help me to segregate each user's primary
group membership and then only install the printers as per the primary
membership, or otherwise modify the script so that I can map drives for users
in multiple groups, but only printers from one group?
Please advise.
Thanks
Bud Veltman
bveltman@xxxxxxxxxx
- References:
- Login Script Help
- From: Bud Veltman
- Login Script Help
- Prev by Date: RE: Active Desktop Wallpaper Not loading Correctly
- Next by Date: RE: login using cached credentials very slow
- Previous by thread: Re: Login Script Help
- Next by thread: Re: Login Script Help
- Index(es):
Relevant Pages
|