Skip to main content
Default Script Actions
Mithra Ravikrishnan avatar
Written by Mithra Ravikrishnan
Updated over a week ago

SuperOps provides a bunch of default scripts that you can use to perform actions on your assets. In this article, learn what action is performed by each script.

Windows

Script

Description

Clear DNS cache

Clears the DNS resolver cache on Windows systems, which clears out any cached DNS records and forces the system to perform fresh DNS lookups for subsequent requests

Clear Event logs

Clears all the event logs

Defragment drive

Analyzes the fragmentation level of all volumes and displays a report without actually defragmenting any of them

Delete Temporary files

Removes temporary files and folders from the following directories on a Windows system:
โ€‹
(

C:\Windows\Temp\*",

"C:\Windows\Prefetch\*",

"C:\Documents and Settings\*\Local Settings\temp\*",

"C:\Users\*\Appdata\Local\Temp\*

)

Disable CD-ROM drives

Disables CD-ROM drives

Disable USB drives

Disables USB drives

Disable User Access Control

Disables User Access Control

Empty Recycle Bin

Clears the recycle bin

Enable CD-ROM drive

Enables CD-ROM drives. The operating system allows users to access and use optical disc drives connected to the computer

Enable Firewall

Enables the specific firewall

Enable USB drives

Enables USB drives

Enable User Access Control

Enables User Access Control. Enabling User Access Control (UAC) on a Windows system enhances security by requiring users to confirm any action that requires administrative privileges

Fix File System Errors

Checks the integrity of file systems and fixes logical file system errors on hard drives, solid-state drives (SSDs), and other storage media. The script uses chkdsk internally to check and repair file system errors on a specific drive or partition. It will also reboot the asset, if reboot is required.

Group Policy force update

Refreshes the group policy on a computer

Log off current user

Logs off the currently logged in user

Reboot

Restarts the system

Release & Renew IP Address

Releases and renews all IPv4 and IPv6 addresses for all network adapters on the system. Network adapter will be assigned a new IP address

Run Windows Cleanup

Automates disk cleanup tasks without user interaction

Windows Service

Performs one of the below actions on the specified service:

Start

Stop

Remove

Restart

Mac

Script

Description

Enable Firewall

Enables the specific firewall

Mac Daemon

Performs one of the below actions on the specified Daemon:

Load

Unload

Override and load

Override and unload

Did this answer your question?