Category filter

Script to turn system icons on/off on Windows devices

System icons like Clock, Volume, Network, Power, and Action Center, located in the taskbar’s notification area, provide quick access to essential functionalities. For example, enabling the Network icon in the notification area simplifies quick access to network settings for remote workers, streamlining their workflow. Conversely, disabling the Action Center icon can minimize distractions. This can be done with the help of script. IT administrators can execute the script to turn system icons on/off on Windows 10 devices with the help of Hexnode’s
Execute Custom Script remote action.

Disclaimer:


The sample scripts provided below are adapted from third-party open source sites.

Batch scripts to turn different system icons on/off

The following different scripts can be used to turn system icons on/off individually:

Script to disable Clock system icon on Taskbar

The above command modifies a Windows Registry entry and sets the “HideClock” value under the “Explorer” key in the Registry to a DWORD value of 1. It effectively removes the clock system icon on the Windows taskbar. The /F switch forces this change without confirmation prompts.

Script to disable Volume system icon on Taskbar

The above command modifies a Windows Registry entry and sets the “HideSCAVolume” value under the “Explorer” key in the Registry to a DWORD value of 1. It effectively removes the Volume system icon on the Windows taskbar. The /F switch forces this change without confirmation prompts.

Script to disable Network system icon on Taskbar

The above command modifies a Windows Registry entry and sets the “HideSCANetwork” value under the “Explorer” key in the Registry to a DWORD value of 1. It effectively removes the Network system icon on the Windows taskbar. The /F switch forces this change without confirmation prompts.

Script to disable Power system icon on Taskbar

The above command modifies a Windows Registry entry and sets the “HideSCAPower” value under the “Explorer” key in the Registry to a DWORD value of 1. It effectively removes the Power system icon on the Windows taskbar. The /F switch forces this change without confirmation prompts.

Script to disable Action Center system icon on Taskbar

The above command modifies a Windows Registry entry and sets the “HideSCAPower” value under the “Explorer” key in the Registry to a DWORD value of 1. It effectively removes the Action Center system icon on the Windows taskbar. The /F switch forces this change without confirmation prompts.

Note:


After executing the script successfully, restart the device for changes to take effect.

Script to enable Clock system icon on Taskbar

The command mentioned above will add the Clock system icon to the taskbar.

Script to enable Volume system icon on Taskbar

The above command adds the Volume icon to the taskbar.

Script to enable Network system icon on Taskbar

The command mentioned above will add the Network system icon to the taskbar.

Script to enable Power system icon on Taskbar

The mentioned command adds the Power system icon to the taskbar on laptops.

Script to enable Action Center system icon on Taskbar

The command mentioned above will add the Action Center system icon to the taskbar.

Turn system icons on/off with the help of a script

Notes:

  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.
  • Sample Script Repository