
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2025
07:23 PM
- last edited on
‎08-07-2025
03:44 PM
by
cvigier
Hello,
I'm needing to create a deployment package that will delete a folder and its contents named Win11Upgrade on C:.
I've only created packages to install software, but never to delete a file or folder. Is there a package already out there that I can copy, or someone on here that can help me get started in the right direction?
Thanks!
Solved! Go to Solution.
- Labels:
-
Deployment discussions
-
Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 10:55 AM
Hello there!
For deleting files, you have several types of deployment steps that you could use:
- Command: allows you to run Command Prompt (CMD) commands on the target computer.
- Script: allows you to run a VBS or other type of script on the target computer. Don't forget to store your scripts in your package share(s). The scripts referenced by the built-in deployment packages are stored in DefaultPackageShare$ on your Lansweeper server, in the Scripts subfolder.
For more information, you can refer to this KB article: https://community.lansweeper.com/t5/deploying-software-other-changes/create-a-deployment-package/ta-...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 10:55 AM
Hello there!
For deleting files, you have several types of deployment steps that you could use:
- Command: allows you to run Command Prompt (CMD) commands on the target computer.
- Script: allows you to run a VBS or other type of script on the target computer. Don't forget to store your scripts in your package share(s). The scripts referenced by the built-in deployment packages are stored in DefaultPackageShare$ on your Lansweeper server, in the Scripts subfolder.
For more information, you can refer to this KB article: https://community.lansweeper.com/t5/deploying-software-other-changes/create-a-deployment-package/ta-...
