Why am I Unable to set or access registry values from Kaseya scripts on 64-bit systems?

Question
Why am I Unable to set or access registry values from Kaseya scripts on 64-bit systems?

Answer
64-bit Windows isolates registry usage by 32-bit applications by providing a separate logical view of the registry. Since the Kaseya agent is a 32-bit application, it is not able to directly access the registry.

New script commands have been added to access the registry on 64-bit Windows using the re-director.

Here is a possible workaround for v5.1 and below: -
1) from a 64-bit system, run 64-bit regedit.exe (%windir%\sysnative\regedit.exe) and create a .reg file with the required values
2) from the script, write the .reg file to the machine and execute a shell command to import it (something like "%windir%\sysnative\regedit.exe /s <filename>")

More Information

Applies To
Kaseya Server / Agent v5.1 and below

Have more questions?

Contact us

Was this article helpful?
1 out of 1 found this helpful

Provide feedback for the Documentation team!

Browse this section