system
1
(imported topic written by Rominal91)
I am trying to a do a fairly easy registry set and it keeps failing. What appears to be wron with this action?
regset "
HKEY_CURRENT_USER\Software\Microsoft\Shared\UcClient
" “ServerAddressInternal”=“ocs.postoffice.net:443”
regset "
HKEY_CURRENT_USER\Software\Microsoft\Shared\UcClient
" “ServerAddressExternal”=“ocs.postoffice.net:443”
Thanks for the help.
BenKus
2
(imported comment written by BenKus)
The syntax looks right… But you are setting HKCU for the SYSTEM account (not for the logged on user)…
To run it as the user currently logged into the computer, you can use http://forum.bigfix.com/viewtopic.php?pid=7460#p7460 for more information.
Ben
system
3
(imported comment written by Rominal91)
Thanks I looked at your link and this seemed to work for me except it shows as Failed.
appendfile REGEDIT4
appendfile
appendfile
HKEY_CURRENT_USER\Software\Microsoft\Shared\UcClient
appendfile “ServerAddressInternal”=“ocs.postoffice.net:443”
appendfile
HKEY_CURRENT_USER\Software\Microsoft\Shared\UcClient
appendfile “ServerAddressExternal”=“ocs.postoffice.net:443”
copy __appendfile temp.reg
prefetch RunAsCurrentUser.exe sha1:a72371f4e968da7ead24f0f4e68c14b234ac94f6 size:184320 http://software.bigfix.com/download/bes/util/RunAsCurrentUser-2.0.exe
utility __Download\RunAsCurrentUser.exe
waithidden __Download\RunAsCurrentUser.exe regedit /s temp.reg
I think I need to show the relevence of the key as false to make the action show as complete.
BenKus
4
(imported comment written by BenKus)
Yes… or change the success criteria to “run to completion”.
Ben