Fixlet to Remove Unknown Users

Hi Guys,

Anyone of you have an idea to create fixlet to delete the unknown users? I need to create the fixlet to remove these all unknown users from managed servers.

2 Likes

Hi adityowicaksono,

Are the users local to the servers or part of an LDAP domain ?

In the first case you can use the relevance names of users to list all users which are local to the machine.
In the latter case you can use the relevance names of domain users to list all users which are part of the domain ( if the computer is part of a domain ).

Even if the unknown user are shown in the list then you need to remove the registry key associated with them or revoke the SID of the user from the ACL:

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/8b34fb53-05b9-475c-90f6-9582cc6f7db5/deleting-the-user-unknown-user-from-filesfolders-of-windows-7?forum=ITCG

Hi f.pezzotti,

Yes, it should be members of LDAP domain, but I cannot ensure since there were no details information.