Login

AUTOVM Blog > Update > Change windows…

Change windows template DNS

By Alireza Mahdavi | 7 July 2022 | 662 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

RockyLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

AlmaLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

VMware network traffic monitoring

By having AutoVM as your infrastructure manager, you can limit your user’s virtual machine consumption regarding the transmitted and received amount of traffic through […]

Subscription for email

Future-proof your business by moving to AutoVM