what class do you mean when you say "win32_user" ? If you mean win32_useraccount, it completely makes sense to me that something like win32_useraccount, on a domain controller, would just kill you. You are basically asking for "just
import every single user account from AD, via Hardware inventory, into the per-computer inventory for this computer, which happens to be a domain controller". Sure, if you have < a few hundred useraccounts in AD, it might finish. But once
you start growing your useraccounts in AD, I can't see it finishing, and even if it WOULD finish, the resulting inventory.mof file would be too big to be imported into the database.
I can't image there WOULD be a fix for that. because it doesn't really make sense. If you do desperately need win32_useraccount, from your NON-Domain Contollers, I'd do this:
1) Make a collection of "every system except domain controllers" (however you want to do that)
2) Your Default Client Settings does NOT have win32_useraccount enabled.
3) Create a Custom Client Agent Setting, where it's only setting is Hardware Inventory, and you enable the win32_useraccount class. Deploy that custom client agent setting to the collection of "every system except domain controllers".
Alternatively... forget all that. and implement this:
http://mnscug.org/blogs/sherry-kissinger/244-all-members-of-all-local-groups-configmgr-2012 and then the sql report (for just local users) would be something like select distinct domain0 [ComputerName], account0 [Local Username] from
v_gs_localgroupmembers0 where type0 = 'Local' and category0 = 'UserAccount'