(imported topic written by mhale2391)
I am trying to modify the registry on a win7 machine. I have attempted on a win7 and win7 x64 system while logged in as a domain admin or a user with admin privileges on the system. The action appears to work fine on a win xp machine. I have attempted to use both “regedit /s” and “reg import” with no success.
The script is listed below:
action uses wow64 redirection false
download http://:52311/Uploads/3ba8ff564bc564be094cdd0f9a002c25dee4fe94/regeditx32reg.tmp
continue if {(size of it = 260 AND sha1 of it = “3ba8ff564bc564be094cdd0f9a002c25dee4fe94”) of file “regeditx32reg.tmp” of folder “__Download”}
extract regeditx32reg.tmp
prefetch RunAsCurrentUser.exe sha1:ee47505ebfb2790b9da8a20ed70e67158e9753d0 size:342528 http://software.bigfix.com/download/bes/util/RunAsCurrentUser-2.0.3.1.exe
utility __Download\RunAsCurrentUser.exe
waithidden “__Download\RunAsCurrentUser.exe” --w reg import “{pathname of client folder of current site & “__Download\DoorsAddinsx32.reg”}”
I have also tried
action uses wow64 redirection false
download http://:52311/Uploads/3ba8ff564bc564be094cdd0f9a002c25dee4fe94/regeditx32reg.tmp
continue if {(size of it = 260 AND sha1 of it = “3ba8ff564bc564be094cdd0f9a002c25dee4fe94”) of file “regeditx32reg.tmp” of folder “__Download”}
extract regeditx32reg.tmp
prefetch RunAsCurrentUser.exe sha1:ee47505ebfb2790b9da8a20ed70e67158e9753d0 size:342528 http://software.bigfix.com/download/bes/util/RunAsCurrentUser-2.0.3.1.exe
utility __Download\RunAsCurrentUser.exe
waithidden “__Download\RunAsCurrentUser.exe” --w regedit /s “{pathname of client folder of current site & “__Download\DoorsAddinsx32.reg”}”
Both scripts work fine on a win xp sp3 machine.
I am not even able to modify the HKLM hive of the registry with the RACU.exe using a user with domain admin privleges.
I am running bigfix 8.0.584.0