How can we help?
Searching in {{docApp.searchFilterBySpecificBookTitle}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}}
in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Disk Cleanup
Automate Windows PC disk clean-ups direct from Hornbill
Package Details
- Vendor: Microsoft
- Target Platform: Windows Universal
- Package Type: Server and Workstation Management
Why use this
Automatically trigger disk clean-ups across all Windows machines
Reduce the endpoint management workload for IT operations teams
What it does
- Create a registry profile for disk cleanup
- Run Windows Disk Cleanup tool on target machines
These actions can be taken by Hornbill users, automated business process workflows, and IT operations runbooks.
Find out more about the Windows Disk Cleanup Tool, plus the parameters available to the operation in this package, on the Microsoft Website.
How to get it
- You can try out ITOM for free (not for production use, limited runs) by installing the ITOM application from the Hornbill App Store.
- If you would like to explore ITOM and consider subscribing, please contact your account manager here.
Requirements
- Windows Disk Cleanup Utility must be installed on all target machines
- Target machine for script execution should be running PowerShell v5.x
- If the script execution policy on the machine executing these operations is set to
Restricted
, then this will need to be updated toRemoteSigned
. See the Microsoft website for more information.
Authentication
When creating jobs for operations contained within this package, they need to be run on the target machine as a user who has the correct privileges within your environment. To create and securely store keys:
- In the Configuration area of your Hornbill instance, navigate to Platform Configuration > Security > KeySafe;
- Click on the + Create New Key button, then select Username + Password;
- Give the KeySafe Key a Title (this is the name/identifier for the Active Directory account as you will see it when creating an IT Automation Job, or adding an IT Automation node to a Workflow);
- Optionally add a Description;
- Populate the Username field with the domain username for the account being used, for example:
DOMAINNAME\yourusername
; - Populate the Password field with the password for the above account;
- Select Create Key to save.
Once you have created your KeySafe Key, you can then use it to populate the Credentials > Admin or Run As inputs when creating IT Automation Jobs from this package.
Package Automations
Operation | Description |
---|---|
Custom Cleanup | This operation will create a cleanup profile in the target machines registry, and use that profile when executing the Windows Disk Cleanup tool. |
See also
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}