eclipse79 4 Posted September 13 Share Posted September 13 Hello, I need to remotely add a registry entry on some selected computers. The command line works fine when I run it on cmd prompt, but it does not work when I ran it from Eset Tasks. My question is: does the tasks run under administrator privileges, or under current user privileges? The command line is: C:\Windows\System32\reg.exe add HKCU\Software\Microsoft\Office\16.0\Outlook\Options\General /v HideNewOutlookToggle /t REG_DWORD /d 00000001 The working folder is set on the task is: C:\Windows\System32 So, the entry is added only if I manually run that command on prompt. Any ideas? Thanks F. Quote Link to comment Share on other sites More sharing options...
Administrators Solution Marcos 4,839 Posted September 13 Administrators Solution Share Posted September 13 The task runs in the local system account so you can't use HKCU which is just a pointer to the appropriate user's key in HKU. Use a HKU path instead. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.