I am trying to display a list of users on the local computer.  I am using
DirectoryEntry().Children to get all of the objects and looking for
SchemaClassName = "User".

I then remove any users that are in the SpecialAccounts list.

However, there appears to be a way to flag accounts as special other than:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\SpecialAccounts\UserList

Does anyone know how this is done?

For example on my machine I have a __vmware_user__ account, and a
SUPPORT_388945a0 that I would like to remove but I can't find where/how they
are flagged as special accounts.

Thanks,
-Mont

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to