Difference between revisions of "Windows Disk Cleanup"
(Created page with "{{bluebanner|Home > Administration > IT Operations Management > ITOM Package Library > Windows Disk Cle...") |
|||
Line 33: | Line 33: | ||
==Package Operations== | ==Package Operations== | ||
+ | |||
The Windows Disk Cleanup package contains the following operations, than can be used to create ITOM Jobs directly, or included in your [[Business_Process_Designer|Business Processes]] and/or IT Operations Management Rubooks. | The Windows Disk Cleanup package contains the following operations, than can be used to create ITOM Jobs directly, or included in your [[Business_Process_Designer|Business Processes]] and/or IT Operations Management Rubooks. | ||
Revision as of 12:40, 18 March 2020
Home > Administration > IT Operations Management > ITOM Package Library > Windows Disk Cleanup | Index |
IntroductionThe Windows Disk Cleanup package for Hornbill's IT Operations Management (ITOM) contains an operation to automate the execution of the Windows Disk Cleanup tool on target machines. |
|
Target Environment Requirements
Script Execution Machine Requirements
- If the script execution policy on the machine executing these operations is set to Restricted, then this will need to be updated to something less restrictive. See the PowerShell Documentation for more information.
KeySafe Configuration
When creating SIS jobs for operations contained within this package, they need to be run on the target machine as a user who has the correct privileges on the target.
To configure your Target Machine account authentication in KeySafe:
- In the Admin console, navigate to: System > Security > KeySafe;
- Click on + then select
Username + Password
; - Give the KeySafe Key a Title (this is the name/identifier for the target machine account as you will see it when creating an IT Automation Job, or adding an IT Automation node to a Business Process or Runbook);
- Optionally add a description;
- Populate the Username field with the domain/local account username for the account being used on the target machine;
- 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 when creating IT Automation Jobs from this package. See screenshots to the right for examples.
Package Operations
The Windows Disk Cleanup package contains the following operations, than can be used to create ITOM Jobs directly, or included in your Business Processes and/or IT Operations Management Rubooks.
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 the Windows Disk Cleanup Tool documentation for more information on the Input Parameters, below.
Extra Credentials
None required.
Input Parameters
- <code<Reference (MANDATORY) - The Reference number for the new disk cleanup profile in the Windows Registry, should contain an integer value from 0 to 65535. NOTE: If there is a disk cleanup profile that already exists in the registry with the same reference as you specify here, then this will be overwritten by what is selected in this job.
ActiveSetupTempFolders
BranchCache
DownloadedProgramFiles
InternetCacheFiles
OldChkDskFiles
PreviousInstallations
RecycleBin
ServicePackCleanup
SetupLogFiles
SystemErrorMemoryDumpFiles
SystemErrorMiniDumpFiles
TemporaryFiles
TemporarySetupFiles
ThumbnailCache
UpdateCleanup
UpgradeDiscardedFiles
UserFileVersions
WindowsDefender
WindowsErrorReportingArchiveFiles
WindowsErrorReportingQueueFiles
WindowsErrorReportingSystemArchiveFiles
WindowsErrorReportingSystemQueueFiles
WindowsErrorReportingTempFiles
WindowsESDInstallationFiles
WindowsUpgradeLogFiles
Output Parameters
warnings
- Any warnings returned by the operation.