Recording "Primary User" of a computer

(imported comment written by BenKus)

Hmm… Do you have your action set to reapply with no limit?

Ben

(imported comment written by emock91)

Ben , the Action has been running for over a year. It was set for no reapply limit. I stopped the action and started a new action for Recording Primary User and is now working … it has cleaned up 300 machines. The other machines are reporting correctly after they have been re-booted. We are good … Thanks

(imported comment written by Shembop91)

I came across this posting happily, and I think this may work for me, but as this is 3+ years old, I wonder if anyone has made any improvements.

We are looking to use this type of logic to assign a PC to a user.

I had been looking at logon count of on page 300 of http://support.bigfix.com/fixlet/documents/WinInspectors_72_081215.pdf, but I’ll be honest, I don’t know how to write this out to make it work. I am learning relevance etc. by trial & error, and plagiarizing.

(imported comment written by BenKus)

Hi Shembop,

I am pretty sure that the original method still works… Did you only want the logon count of all the local users on the system? If so, it looks like this:

q: (name of it, logon counts of it) of (local users)
A: Administrator, 6
A: Guest, 0

Ben