
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2018 06:25 AM
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?
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?
Labels:
- Labels:
-
General Discussion
7 REPLIES 7

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
I realize this thread is old, however I am running into a similar issue. In my case I am running the same type of deployment, though my Lansweeper returns success. Upon checking the registry and rebooting the affected PC, this is not the case. The original DWORD value persists.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2018 01:05 PM

I would recommend sending our support team a email then. To start you can include the following in your email:
- Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
- An .xml export of your deployment package. Select the package under Deployment\Packages and hit the Export button on the right side of the page, right below the package name.
- Screenshot of a testconnection.exe test performed to one target machine with a failed deployment. Connect to the client machine's name (and not its IP address), as this is what Lansweeper connects to for deployments as well. Testconnection.exe can be found in Program Files (x86)\Lansweeper\Actions on your Lansweeper server. Perform the test from your Lansweeper server to the client machine, submit the machine's Windows credential and show us the entire test window.
- An Excel export of the entire Deployment\Logs page. There is an Export To Excel button on the left side of the page.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2018 11:41 AM
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.
Should the deployment not finish I would recommend updating since your version is quite old.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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.
Hi Charles,
I have updated our LANSweeper installation to the latest version. The registry key deployment job still does not end successfully when running as Logged On User 😞

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2018 09:34 AM
Strange. I just tested your example and it worked for me perfectly.
What Lansweeper version are you on?
What Lansweeper version are you on?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
This only seems to happen if I run the job as logged on user. Running it as System Account or Scanning Credentials finishes successfully.
I am just not sure if the registry keys go into the correct place now - will update with results.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
We are running v. 6065
