I did the editing sorry I'm not good in programing that much.My NT groups are named with an underscore "_" and if a user is a mamber of firstoup it will map to Drive S then to next drive L etc etc. this script is working I just want to seperate a group called _PTK and assigne it to diffirent File server if of course a user who login is a mamber of that group.