MattDLEA Posted June 17, 2014 Posted June 17, 2014 (edited) I need to clean up the server and do some housekeeping. There are a few members of staff that have been left for quite a bit that need to go. So how do you get rid of their accounts and their profiles? Edited June 17, 2014 by Dos_Box
sonofsanta Posted June 17, 2014 Posted June 17, 2014 For a moment I thought you'd just had enough of people, and I was going to suggest slipping something from the Science Department's cupboards into their coffees as an easy way of getting rid of users. Turns out that's not this thread. We disable accounts as soon as people leave, then every now and then (i.e. 6 weeks, when the file server gets full etc.) archive off all their files onto a DVD/BluRay and delete the account from AD. Roaming profiles get deleted.
jinnantonnixx Posted June 17, 2014 Posted June 17, 2014 I had to open the thread to check too! Matt goes postal. Well anyway, it's got to be Powershell all the way for this task. This will get you off to a flying start. Top 10 Active Directory Tasks Solved with PowerShell | PowerShell content from Windows IT Pro Managing AD in Bulk Using PowerShell | Active Directory content from Windows IT Pro
3s-gtech Posted June 17, 2014 Posted June 17, 2014 We move them to an ex-users OU, and archive their files to a share on a NAS (which is backed up to USB also). We then drop them out of SIMS, Exchange, etc. Has made it very easy to reinstate them if needed, or get some files for them. Their profiles will hang around on the PCs (unless you use mandatory for staff), which is where something like delprof2 comes in. I just assign the built-in profile clean up GPO every so often.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now