You can run any windows command from within action script by using the following syntax. It will be run as SYSTEM.
waithidden cmd.exe /C “your command that works when run from a command prompt”
That being said, you have some extra spaces in your command regedit / s “C: \ nameregistry.reg” that might be a problem. Did you include your .reg file in your software distribution package (eg. you used the Software Distribution wizard)?
I am using the command this way, waithidden cmd.exe /C “regedit /s nameregistry.reg” or waithidden cmd.exe /C “regedit /s C:\nameregistry.reg”, It is not working.
How can I use the “regset64 actionscript command”?
Remembering that I pass this command in Create Task distribution in> Software Distribution> Select Package> Manage Task> New Task, add the nameregistry.reg file, and Installation Command field I put this way,
BigFix typically runs in a system context, but there is a way to make changes to HKCU for the current user. Example:
regset “[HKEY_USERS{component string of sid of security account (name of logged on user)}\Software\Microsoft\Windows\CurrentVersion\Internet Settings]” “NoNetAutodial”=dword:00000000