I am trying to write a fixlet that will change the proxy settings on the user’s computers.
Here is what I have for relevance. The relevance works until I attempt to add windows 7 to it.
(name of operating system = “Win95” OR name of operating system = “Win98” OR name of operating system = “WinME” OR name of operating system = “WinNT” OR name of operating system = “Win2000” OR name of operating system = “WinXP” OR name of operating system = “Win2003” OR name of operating system = “WinVista” ) AND value “ProxyOverride” of key (“HKEY_USERS” & (name of key whose (value “Logon User Name” of key “Explorer” of key “CurrentVersion” of key “Windows” of key “Microsoft” of key “Software” of it = name of current user) of key “HKEY_USERS” of registry) & “\Software\Microsoft\Windows\CurrentVersion\Internet Settings”) of registry as string != "192.168.
.
;web;dev;info;*.test.net;exch;facilities;spam;" AND true
(name of operating system contains “95” OR name of operating system contains “98” OR name of operating system as lowercase contains “winme” OR name of operating system as lowercase contains “winnt” OR name of operating system contains “2000” OR name of operating system as lowercase contains “xp” OR name of operating system contains “2003” OR name of operating system as lowercase contains “vista” or name of operating system as lowercase contains “win7”) AND (value “ProxyOverride” of key “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings” of registry as string) != "192.168.
.
;web;dev;info;*.test.net;exch;facilities;spam;"
OR
(name of operating system as lowercase contains “win”) AND (value “ProxyOverride” of key “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings” of registry as string) != "192.168.
I am trying to do the exact same thing and had success with Win XP. However, the problem is the key “Logon User Name” does not exist in Windows 7. I am still trying to find another way to pull this information from the registry.