system
1
(imported topic written by edmund_quah91)
Hi,
Not sure i have customized the action wrongly or not, but the following work for Mac but not in x64 Windows machine
setting “userstat”="{name of current user}" on “{now}” for client
{Note: i understand there is a regset64 for x64, but i trying to merge it together}
Thanks and Best Regards
Edmund Quah
system
2
(imported comment written by edmund_quah91)
In Fact i also try to use the regset64, but failed
regset64 "
HKEY_LOCAL_MACHINE\SOFTWARE\SPH
" “LastLoggedInUser”="{(name of current user)}"
Thanks and Best Regards
Edmund Quah
BenKus
3
(imported comment written by BenKus)
It is probably due to the fact that you don’t have a user logged in…
I replied to your same issue here:
http://forum.bigfix.com/viewtopic.php?id=2416
system
4
(imported comment written by edmund_quah91)
Hi Ben,
you are right, but the funny thing is
I use remote desktop connection to log into that machine to do the testing. Therefore i never expect no user logged in.
In fact, i check the connection, there are 2 user logged into the machine, but still the current user showed in BES is “no user logged in”
Question is: how does the current user being detect by BES? Does it support remote logged in?
Thanks and Best Regards
Edmund Quah
BenKus
5
(imported comment written by BenKus)
The short answer is that remote users are not considered “current users”. Long answer here: http://forum.bigfix.com/viewtopic.php?id=1187
You can instead use:
setting “userstat”="{name of logged on user}" on “{now}” for client
but that will fail if there are multiple people logged in… this will concatenate all logged on users together:
setting “userstat”="{concatenation “;;” of names of logged on users}" on “{now}” for client
Here is how to detect just local users:
setting “userstat”="{name of logged on users whose (not remote of it)}" on “{now}” for client
Ben