Category filter

Script to change Fonts on Windows 10 devices

Modifying the system fonts on Windows 10 is a lot easier with scripts. For those font files installed on the devices already, the administrator can execute scripts from the Hexnode console to change the system font to the specified font family or typeface.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Change System Font

While executing the script from the Hexnode console, you must specify the name of the required font within double quotes in the Arguments field. If the font files are installed already, the changes affect the device following a restart action.
Execute custom script on Windows device to set a specific font

Revert to the default System Font

You may use the following script to revert the system to its default font.

Once the script is executed, a device restart is necessary for the changes to take effect.


  • 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