Question : Can't delete user profile of deleted domain account

A certain user has been deleted from AD (Windows server 2003 environment)
This user has a profile on several systems across the network

The path of the user profile shows as normal under C:\documents and settings\..... but it shows as "Account Unknown" under user profile settings

See below image

Now we need to delete similar user profiles ( I know that we could simply delete the parent folder that belongs to such user) but I need to do that systematically to remove all possible entries

Regards

Answer : Can't delete user profile of deleted domain account

The "Delete" button will not only remove the profile folder, but the user's profile location entry under "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList".
The button is very probably disabled because there are still handles open to the old profile. Reboot the machine, log on with an administrative account, try again to delete it.
Note that the W2k3 Resource Kit Tools contain the "delprof.exe" utility to delete profiles from the command line, including remote profiles. Use the /P argument to avoid deleting profiles you might still need ...
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
Random Solutions  
 
programming4us programming4us