$system registry actions

Allows you to make changes to the Windows registry based on the settings you specify.


Example

Running this code will set the following properties for the base registry key "HKEY_LOCAL_MACHINE":

  • Registry Actions Option: Write
  • Sub Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • Key Name: Test
  • Value/Write: C:\Windows\System32\notepad.exe
  • Write Value Type: String
  • Return Error: False
load html($plugin function("OS Automation.dll", "$system registry actions", "Write", "HKEY_LOCAL_MACHINE", "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", "Test", "C:\\Windows\\System32\\notepad.exe", "String", "False"))

Was this helpful?