Hi snruebes. Just another PADT fan here but I think I can help.
First of all, if you want to make registry changes maybe try using the Set-RegistryKey function, or the even cooler Invoke-HKCURegistrySettingsForAllUsers function.
Otherwise, this might work:
Execute-Process "regedit.exe" -Parameters "/s ^"C:\Users\FirstName Last Name\AppData\local\Temp\HKCU.reg^""
Replace the ^ with ` which is an escape character (doesn't display in the forum), that might do the trick.
First of all, if you want to make registry changes maybe try using the Set-RegistryKey function, or the even cooler Invoke-HKCURegistrySettingsForAllUsers function.
Otherwise, this might work:
Execute-Process "regedit.exe" -Parameters "/s ^"C:\Users\FirstName Last Name\AppData\local\Temp\HKCU.reg^""
Replace the ^ with ` which is an escape character (doesn't display in the forum), that might do the trick.