Is anyone aware of a way to delete all the "Account Unknown" user profiles listed on a workstation via a batch file?
Perhaps I'm drawing a blank but I can't seem to think of a way to do it from the command line. Please do not point out the "delprof.exe" utility from Microsoft as it is not designed to do this and won't recognize anything listed as "Account Unknown".
The domain is not using roaming profiles. These "Account Unknown" profiles are remnants of some old local accounts that used to exist that were not deleted completely. I basically want to delete anything that is an "Account Unknown" profile.