Trying to push a script that writes to registry. Works when I run locally, not when I push via Desktop Central
Hello, it seems like whenever I try to push a script to somebody, and it doesn't matter if it's a batch file or VBScript, it never makes the change to the registry. It works when I run the script right from their machine, but I need to be able to push this using desktop central. Here's the script I'm trying to run.
Const HKEY_CURRENT_USER = &H80000001
Set objShell = WScript.CreateObject ( "WScript.Shell" )
objShell.RegWrite "HKCU\Software\SAPIENT\SAPIENTLogon\Options" , "C:\sapientlogon" , "REG_EXPAND_SZ"
Now this works when I run it on my machine, but no matter what, pushing via desktop central doesn't make the change I need it to. I'm pushing to a computer (not user). Any ideas? This is really making the whole "you can push custom scripts!" thing useless to me.
New to ADSelfService Plus?