
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 09:35 AM
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.
- Labels:
-
Deployment errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 01:48 PM
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"?
