
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2015 09:32 PM
I have a deployment setup for DelProf2, a command line utility that deletes user profiles on a machine. It works on most of the computers, but sometimes it fails with "Result: Deployment ended: Incorrect function". I know the command is good, as it works on most. Also, if I copy the command from LS and run it on the machine manually, it works just fine.
Anyway to figure out that error better?
Anyway to figure out that error better?
Solved! Go to Solution.
Labels:
- Labels:
-
Archive
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2015 10:28 PM
FYI for everyone: this issue was caused by a leading space in one of the package shares submitted under Deployment\Security Options. We'll automatically strip leading and trailing spaces in a future release.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2015 10:28 PM
FYI for everyone: this issue was caused by a leading space in one of the package shares submitted under Deployment\Security Options. We'll automatically strip leading and trailing spaces in a future release.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2015 12:12 PM
I would recommend contacting support@lansweeper.com and providing:
- Link to this forum thread.
- Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
- Export of your deployment package.
- Excel export of the entire Deployment\Logs page.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 03:02 PM
I also created an asset action, using the scanning creds and psexec. That works fine as well. Same command as deployment.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 02:45 PM
I am running it under scanning creds.
It's not succeeding, as all the user profiles stay.
I can remote into the computer using the scanning creds and run the same command just fine, just not as a deployment.
The deployment works fine on many other computers.
It's not succeeding, as all the user profiles stay.
I can remote into the computer using the scanning creds and run the same command just fine, just not as a deployment.
The deployment works fine on many other computers.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 02:41 PM
A possible cause of this might be that you deployed the package under the System account. Try deploying under Scanning credentials. Generally, if you get an "Incorrect function" message, some error code was returned by the script which is not part of the success codes you have defined. Sometimes it might be enough to add all possible result codes of your script to the Success codes in your deployment step.
