Our logon scrip for our Windows 2k3 domain is waaaay out of date. It hasn't been updated in years and our users have gone from the 6 listed to about 30.
Network folders are currently mapped like so:
I'd like to have the shares mapped by what group the users are a member of. Basically I'm looking for "IF %groupname%=="admin" " sort of command. If there's an easier way to do this I'm all ears. I don't know much at all about logon scripts and haven't really found a great Google search source...
Network folders are currently mapped like so:
Code:
IF %USERNAME%=="user1" THEN GOTO ADMIN
:ADMIN
NET USE T: \\fileserver\PUBLIC
NET USE X: \\fileserver\PRIVATE
I'd like to have the shares mapped by what group the users are a member of. Basically I'm looking for "IF %groupname%=="admin" " sort of command. If there's an easier way to do this I'm all ears. I don't know much at all about logon scripts and haven't really found a great Google search source...