When attempting to delete a user account on SBS2003 SP2, I get the following
error:
-------------------
User account name: LDAP://CN=John
Smith,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=MyLAN,DC=Local
Home folder: \\MyDC01\Users\SmithJ
The home folder for this user account could not be removed.
Failed to delete user's quota with error [0x80070050]. Thhis can occur if
the user still has files on the server.
The user account was removed.
--------------------
From the SBS Mgmt interface, the user account is no longer present, so the
user account does seem to have been deleted. However, the smithj user folder
is still in the shared users folder on the server. From the administrator
account, when attempting to delete the smithj folder (and all its subfolders,
i.e. My Documents, etc.), an access denied error message is shown. How does
one delete this defunct user folder and all its subfolders/files?
Also, is there any way to verify if the smithj Exchange account has been
properly removed and all the user's email messages have been deleted?
There are a number of other long dormant user accounts that need to be
deleted on this server, primarily to free up disk space. These long gone
users have a lot of old email messages sitting in Exchange and old files in
their user folder (i.e. My Documents) on the server.
Before I attempt to delete any more of these dormant user accounts, I would
like to understand how to clean-up this partially deleted user and to
determine what went wrong so I don't get these errors when removing the rest
of the dormant user accounts. How do I ensure that when the user account is
deleted, all traces of that user will be removed (i.e. user email messages,
user doc folders, etc.)?
Any suggestions would be appreciated.
Thanks.
rcme
Dave Nickason [SBS MVP] - 31 Jul 2007 16:13 GMT
You should be able to delete the \\MyDC01\Users\SmithJ folder by taking
ownership first. I'd log into the SBS with the Administrator account. Then
r-click the folder -> Properties. On the Security tab, click Advanced, then
go to the Owner tab. Change the Owner to Administrator, click the Replace
Owner.... box, OK out.
As for Exchange, deleting the account will delete the associated mailbox,
after a retention period set in the properties of the mailbox store
(probably 30 days by default). To delete the mailbox ahead of the
expiration of the retention period, open Exchange System Manager. Under
Servers, drill down through your SBS -> First Storage Group -> Mailbox Store
and click Mailboxes. The mailbox of the deleted user should appear with a
red X, which indicates it's scheduled for deletion after the mailbox
retention period. The mailbox will deleted itself then - this is a feature
to allow you to recover the mailbox if it's needed for some reason within
the retention period. Personally, I'd just wait it out in case you need
something back, but if you don't want to wait, r-click the mailbox -> Purge.
If the Purge option is unavailable, r-click Mailboxes -> Run Cleanup and try
it again.
Deleting mailboxes or reducing their size does not free up hard disk space.
It frees up space in the Exchange databases, and that space will be used by
Exchange as needed. If the databases run out of free space,
FWIW, I have a share where I keep the My Documents directories of terminated
users. Several times a year, people ask for files from there to keep from
having to recreate existing work.
> When attempting to delete a user account on SBS2003 SP2, I get the
> following
[quoted text clipped - 43 lines]
> Thanks.
> rcme