Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Pealik
Engaged Sweeper II

None of the powershell script deploys work. I get the error message:
Result: Deployment ended: Unknown error (0xfffd0000). Stop(Failure).

To run the script I use the command:

powershell.exe -executionpolicy bypass -File "\\Lansweeperserver\DefaultPackageShare$\Scripts\SubScriptfolder\powershellscript.ps1"

If I open CMD on the local machine with the Lansweeper Scanning Cred user and type in the same command

powershell.exe -executionpolicy bypass -File "\\Lansweeperserver\DefaultPackageShare$\Scripts\SubScriptfolder\powershellscript.ps1"

then it works just fine.

Also running the scripts over Lansweeper worked a few months ago. Please provide a quick explanation/solution as work is disrupted.

1 REPLY 1
FrankSc
Lansweeper Tech Support
Lansweeper Tech Support

Hello Pealik, 
The "Unkown error" is difficult to troubleshoot. The task scheduler does not always provide clear feedback on what went actually wrong.
If the script runs locally, I do think it might be a credential or permission issue. Maybe there is an issue to get/fetch the script from the shared folder. 
Or maybe you could try running it with the "system account" or "currently logged on"?

 

Deployment Packages

Share topics/ issues related to deployment packages. Please use/rely on content with caution as it is publicly generated.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now