damienenglish
Technical User
Afternoon All
I am looking to come up with a way to 'auto-disable' a user account when it is put into a particular OU in Active Directory. We have an OU called 'Leavers' which contains accounts of users who have just left the company, prior to archiving out their email and various files.
When moving to the user account to the 'Leavers' OU, I would like it to do the following
1) Disable the User Account
2) Auto-Hide the User from the Global Address List (GAL)
I would also like to setup a script that will find any accounts that have been unused for 3 months, to then move the account in the 'Leavers' OU.
Is all this possible and would VBS be the best way to do it, or would Group Policy be the better option?
Many Thanks
I am looking to come up with a way to 'auto-disable' a user account when it is put into a particular OU in Active Directory. We have an OU called 'Leavers' which contains accounts of users who have just left the company, prior to archiving out their email and various files.
When moving to the user account to the 'Leavers' OU, I would like it to do the following
1) Disable the User Account
2) Auto-Hide the User from the Global Address List (GAL)
I would also like to setup a script that will find any accounts that have been unused for 3 months, to then move the account in the 'Leavers' OU.
Is all this possible and would VBS be the best way to do it, or would Group Policy be the better option?
Many Thanks