Execute Proxy Exception for Current User as Policy

(imported topic written by amitkumsingh91)

Hi All,

I need to execute below action which will update proxy exception for Current User as a policy through BigFix on Win XP and Win 7 boxes:


if {exists values “ProxyOverride” whose (it as string does not contain “abc1.test.com” OR it as string does not contain "

.test2.com" OR it as string does not contain "

.test3.com" OR it as string does not contain “*.test4.com”)of keys “Software\Microsoft\Windows\CurrentVersion\Internet Settings” of keys of key “HKEY_USERS” of registry}

regset “” “ProxyOverride”="{(if (it does not contain “abc1.test.com”) then (it & “;abc1.test.com”) else if (it does not contain "

.test2.com") then (it & ";

.test2.com") else if (it does not contain "

.test3.com") then (it & ";

.test3.com") else if (it does not contain "

.test4.com") then (it & ";

.test4.com") else it) of (it as string) of values “ProxyOverride” of keys “Software\Microsoft\Windows\CurrentVersion\Internet Settings” of keys of key “HKEY_USERS” of registry}"


When i am executing this action through Relevance Debugger by invoking through System account. It went through with out any error and added the above exceptios in Current User Registry.

But when i executed the above action through Console it got failed with error:

Command failed (Relevance substitution failed) on Win 7.

Need your help for above action.

Thanks: Amit

(imported comment written by cstoneba)

in your action script, are you downloading and running the “run as current user” exe? If not, your action will run as the local systme account, which I don’t think is what you want.

http://support.bigfix.com/cgi-bin/kbdirect.pl?id=392

(imported comment written by amitkumsingh91)

Thanks for your help. Can you help me with the action script with respect to the above action to execute with Run as Current User exe.

(imported comment written by amitkumsingh91)

Hi,

Can anyone help me with the action script for the above requirement to be execute with Run As Current User.exe

Thanks and Regards,

Amit Singh

(imported comment written by amitkumsingh91)

Hi,

Can anyone help me on this as it is urgent for me.

Thanks,

Amit