We’re currently experiencing a high volume of support requests, which may result in longer response times — thank you for your patience and understanding.
Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tdmac12
Engaged Sweeper

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!

1 ACCEPTED SOLUTION
Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

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-...

View solution in original post

1 REPLY 1
Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

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-...

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