Hello guys,
I recently deployed group policies to 250 users in my company and even though I'm not good at using VBscript, websites like this helped a great deal accomplishing certain tasks and for that I'm very greatful.
Now that I have completed group policies I need to find a way to prevent not adding new users to the proper security groups that will apply GPOs. Because of the way it was designed I created two groups
-Restricted(all users and it applies to both user and PC)
-Semi_Restricted(all Managers, directors .etc)
If a new user is created and is not added to any of these groups, the user will have acccess to the whole PC. I need help finding a way to run a vbscript where it will check any domain username agains universal group "A" and group "B" and if the user name belongs to any of this group proceed and exit script and if not add user name to another universal group "c"(this group will be attached to a policy I will create, which will close the whole PC and force the user to call IT and then add the proper groups).
I hope you guys can help me with this
Thank you in advance
Regards
Ivan J.B
I recently deployed group policies to 250 users in my company and even though I'm not good at using VBscript, websites like this helped a great deal accomplishing certain tasks and for that I'm very greatful.
Now that I have completed group policies I need to find a way to prevent not adding new users to the proper security groups that will apply GPOs. Because of the way it was designed I created two groups
-Restricted(all users and it applies to both user and PC)
-Semi_Restricted(all Managers, directors .etc)
If a new user is created and is not added to any of these groups, the user will have acccess to the whole PC. I need help finding a way to run a vbscript where it will check any domain username agains universal group "A" and group "B" and if the user name belongs to any of this group proceed and exit script and if not add user name to another universal group "c"(this group will be attached to a policy I will create, which will close the whole PC and force the user to call IT and then add the proper groups).
I hope you guys can help me with this
Thank you in advance
Regards
Ivan J.B