Login

AUTOVM Blog > Update > Change windows…

Change windows template DNS

By Alireza Mahdavi | 7 July 2022 | 153 views

Change windows template DNS

If you want to change the default windows DNS after installation, go to Templates > Scripts in the AutoVM admin area, and edit the windows script.

In the content field, add these two commands below right after the following command:

netsh int ip set address "%%b" static @address @netmask @gateway 1

new commands:

netsh int ip set dns name="%%b" static 8.8.8.8
netsh int ip add dns name="%%b" 4.2.2.4

Related Blogs

Add Ubuntu 22.04 and Debian 11 on AutoVM

Ubuntu 22.04 and Debian 11 has been released for AutoVM platform. Download and deploy OVA templates into your servers. Ubuntu and Debian link. Then […]

New AutoVM WHMCS module client area

The new AutoVM WHMCS module will be released this month with enormous updates regarding the client area interface. Take a look at our new […]

How to upgrade ESXi through CLI

Step 1: Enable SSH through the web client and connect to your ESXi host. Step 2: Enter the following command to enable the firewall rule for […]

Subscription for email

Future-proof your business by moving to AutoVM