Login

AUTOVM Blog > Update > Change windows…

Change windows template DNS

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

How to upgrade ESXi through CLI

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 web traffic. Step 3: Run this command to see the VMware online depot and the different profiles you can upgrade from. Note: you can also change ESXi-7.0 to other versions, such as […]

Add Windows server 2022 to AutoVM

Add Windows server 2022 to AutoVM

Download and deploy the Windows 2022 template from LAB into your VCenter.Go to the AutoVM admin area, and go to “Template > list templates”Click on create button, and enter the fields below: Name: Windows 2022 64Username: administratorPassword: 123QWEqweClue: windows_2022_64Icon: windowsStatus: Active Click on Save and go to “Template > List scripts”Click on Create button and […]

The security breach on the old AutoVM

The security breach on the old AutoVM

In January 2020, the free version of AutoVM was released on GitHub repositories and had been under development for two years. But, due to the unauthorized activity of some people (who are still trying to sell our free software against the GPL license), our team decided to stop the free project, and we have started […]

Subscription for email

Future-proof your business by moving to AutoVM