‎06-21-2018 06:25 AM
‎08-02-2021 06:26 PM
darrkon wrote:
Hi,
We need to add a couple of registry keys under HKCU and thought LanSweeper might be able to help.
At the moment I have created a deployment package with a Command type entry.
One example is:
REG ADD HKCU\Software\Key\Key\Key\ /f /v Value /t REG_DWORD /d 2
There are three of these command entries in the job. The job is then set to run as the current user.
The first two commands are set to Next on Success and STOP on failure. The third command is set to STOP on Success and Failure.
We deploy this to a computer where the user is logged on and the job seems to execute (we can find the registry keys) but for some reason the job waits 5 minutes and returns
Result: Package timeout reached. Unknown last result. Timeout: (300Sec).
Does anyone know why it doesn't report a successful completion?
‎06-27-2018 01:05 PM
‎06-26-2018 11:41 AM
‎06-27-2018 05:15 AM
Charles.X wrote:
It would seem logical to run it as the current users since otherwise it might have issues actually performing the task since it needs to access the local user's registry.
Should the deployment not finish I would recommend updating since your version is quite old.
‎06-21-2018 09:34 AM
‎06-26-2018 05:43 AM
Charles.X wrote:
Strange. I just tested your example and it worked for me perfectly.
What Lansweeper version are you on?
‎06-22-2018 12:39 AM
Charles.X wrote:
Strange. I just tested your example and it worked for me perfectly.
What Lansweeper version are you on?
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now