
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 02:35 AM
Modified a vbs script found on the net and tested successfully on workstations
Usually when deploying packages I use a single 'Command' step to run a <command_file.cmd> from the {PackageShare} location. These work without issue.
In this case I tried to use a 'Script' step in the package to run the vbs script, so I:
When I run the script it returns the following Result:
Can anyone suggest why this doesn't work?
I save the script locally, then run cscript <script_file.vbs>
Usually when deploying packages I use a single 'Command' step to run a <command_file.cmd> from the {PackageShare} location. These work without issue.
In this case I tried to use a 'Script' step in the package to run the vbs script, so I:
- Saved the vbs script file to {PackageShare} location
- Created a new Package TEST - WSUS Force Check, exported file attached
- Added a 'script' step that references the {PackageShare}\<script_file.vbs>
When I run the script it returns the following Result:
Package timeout reached. Stopping deployment executable: Successful. Timeout: (2100sec). Credential: (OMITTED). ShareCredential: (OMITTED).
Can anyone suggest why this doesn't work?
Labels:
- Labels:
-
General Discussion
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2018 07:22 AM
Thanks Charles, I'll take your advise

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 04:20 PM
It's best you contact our support team for this issue. Since the script is working and the deployment is rather simple, it's highly unlikely one of those is causing the issue.
It's best you send the following with the email:
It's best you send the following with the 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 the entire test window.
- A copy of the script (if possible)
