i am trying to add HKCU registry entry (using the wizard or “reg add” and RunAsCurrentUser) and i keep getting “Command succeeded (Exit Code=-1)”.
needless to say, nothing is wtitten to the registry…
the full command is: waithidden "__Download\RunAsCurrentUser.exe" reg add HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\options\mail /v junkmailimportlists /t REG_DWORD /d 1 /f
BTW - running the command manually from CMD works.
what is exit code -1? why is this not working?
thanks,