Category filter

Script to set homepage in Edge on Windows devices

In corporate environments, users are often required to use a specific website. Conventionally, the homepage can be set from the browser settings. However, this can become a tedious task, especially when there are a large number of deployed devices. Using Hexnode’s custom script feature, you can easily deploy scripts to all your devices and set the preferred homepage from your Hexnode portal.


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

Batch script

Replace the URL mentioned in the script with the desired URL to be set as homepage.

PowerShell script

Replace the value provided for $URL with the desired URL to be set as homepage.

What happens at device end

The homepage for Microsoft Edge browser is set to the desired URL and is loaded whenever the browser is launched.


  • 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