Task modification

(imported topic written by jpeppers91)

Need some help here guys. I’m trying to modify the relevance on a task that I have. I need only machines that are Windows XP and the start page in IE is www.google.com

See below…

(name of operating system = “WinXP”) and (exists key “Software\Microsoft\Internet Explorer\Main\Start Page\https://www.google.com” of current user keys (logged on users) of registry)

(imported comment written by SystemAdmin)

Either the case is getting you (e.g. www.Google.com) or http vs https or trailing “/” at the end.

Maybe something like this would be better?

(name of operating system = “WinXP”) and (exists key “Software\Microsoft\Internet Explorer\Main\Start Page” whose (value of it as lowercase contains “www.google.com”) of current user keys (logged on users) of registry)

-Paul

(imported comment written by jpeppers91)

Is there a way to change the HKEY_USERS branch for all users not just the one who is logged in? This is what I have for the action but it only modifies the logged in user.

regset “” “Start Page”=“www.google.com

My action fails if no one is logged in.

(imported comment written by SystemAdmin)

Even with using HKEY_USERS, the only active user registry hive will be the logged on user. If noone is logged on, the only thing under HKEY_USERS will be the “.default” profile (don’t forget to check that one too). So no, you won’t be able to hit all profiles at once. You could have your action sit out there for a longer period, allowing it to reapply multiple times.

Also, when using detection of the logged on user using your above code, it’ll fail under Vista. I posted the corrected relevance at the bottom of http://forum.bigfix.com/viewtopic.php?id=11

-Paul

(imported comment written by SystemAdmin)

Wow, I just became a BES Guru today :slight_smile:

(imported comment written by BenKus)

Hey guys,

Check out Richard Bett’s suggestion that will run a command when a user logs in:

http://forum.bigfix.com/viewtopic.php?pid=8870#p8870

(Paul, you have been a guru for a long time… you just needed to post more… :))

Ben