Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using more windows users. #45

Open
ReneTode opened this issue Mar 14, 2021 · 5 comments
Open

using more windows users. #45

ReneTode opened this issue Mar 14, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@ReneTode
Copy link

i got 2 users on my PC.
i installed this service with my own administrator account.
the active window sensor works great on that account.

then i switched to the other user (non administrator) and the active window sensor doesnt show anything.
even making that user administrator doesnt help.

i even tried to install this service on that account also, but then it gets the same settings, as the first install.

it would be nice if i could have an active window sensor for each user, or at least a sensor that shows for all users.
would also be nice to have a sensor that shows which user is active.

@sleevezipper
Copy link
Owner

Hi @ReneTode! Thank you for creating an issue. This is a use case I have thought about and to be honest, I assumed this would just work. I can think of a few things that could cause this but I'll have to do some more research.

@sleevezipper sleevezipper added the bug Something isn't working label Mar 14, 2021
@ReneTode
Copy link
Author

thx for looking into it.
would it also be possible to add a sensor that shows the active user?

@ReneTode
Copy link
Author

i guess i would have needed to read your readme better ;)
found out how to expose the user with the wmiquery sensor.

@sleevezipper
Copy link
Owner

Nice! How did you do that? Might be nice to post it here!

@ReneTode
Copy link
Author

ReneTode commented Mar 15, 2021

you already got it in your readme ;)

SELECT username FROM Win32_ComputerSystem

but i didnt check if it also showed other users, then my first install.

edit: i did check now and it gives the active user like:

PCname\username

but it uses only the first 5 characters from the account.
the same way as it gives the name in c:\users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants