Deleting stale/inactive Office Communications Server 2007 Users

Christian Hans
Christian Hans used Ask the Experts™
I was just given the honor of becoming my company’s OCS 2007 R2 admin. Yay! Well, my plan is to get to the latest and greatest sooner rather than later.

In the meantime, I noticed that we use a script to add and enable AD User Accounts their SIP addresses, etc.

I also see that we have never cleaned up after a user leaves the company. So we have years of SIP enabled users in the OCS 2007 MMC.

Does anyone have any ideas, best practices, scripts that I could run to remove Communicator accounts that haven’t been touched in say 30, 60 or 120 days?

My understanding is that deleting OCS Enabled user accounts in the OCS MMC will not delete the AD Account, which shouldn’t exist, but just in case.

Thanks in advance.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Network Systems Specialist
Ideally you would use the OCS MMC to disable SIP enabled users. Remove the user from OCS will only  update the attributes of the AD account and will not delete it.
Christian HansUndecided...


Thanks Peter, yes, thats how I was planning on removing accounts, was just curious if theres a way to automate this or even run a script once a month to delete accounts that either were disabled in AD or deleted.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial