|
I am trying to change a value in the registry and I have seen it two different ways but neither seem to work.
This is the two line that I need to change and the two ways I have attempted it. If someone could help that would be great.
#$ = writevalue ('HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\SecurityAgent' /v "Use Lightspeed" /t REG_DWORD /d 0 /f) #$ = writevalue ('HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\SecurityAgent' /v "TTC Server" /t REG_MULTI_SZ /d ttp.pamplincorp.com /f)
$ReturnCode = AddKey("HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\SecurityAgent' /v "Use Lightspeed" /t REG_DWORD /d 0 /f") If $ReturnCode = 0 ? "Key added...." Endif
$ReturnCode = AddKey("HKEY_LOCAL_MACHINE\SOFTWARE\Lightspeed Systems\SecurityAgent' /v "TTC Server" /t REG_MULTI_SZ /d ttp.pamplincorp.com /f") If $ReturnCode = 0 ? "Key added...." Endif
Thank you, Cameron
|