Notification

Icon
Error

Changing DNS Servers via CMD or PowerShell

Posted: Thursday, March 26, 2020 7:19:21 PM(UTC)
Vince

Vince

Member Original PosterPosts: 9
0
Like
A PC at one of our locations is experiencing some issues that I believe to be related to a misconfiguration to the DNS settings. I can ping the PC. The PC can reach our VM's that we have on site here, but it can not open a webpage and I can not establish a TV connection as it shows 'offline' in TV. I've talked to personnel over the phone, we've rebooted the PC several times. I've power cycled the ethernet port, nothing seems to fix the issue. This location is an hour away unfortunately and I don't want to call and give the domain admin/password to anyone on site to be able to change the DNS from the control panel or even run CMD as Administrator. Does anyone know of a script in powershell or CMD that I can run as Administrator as a deployment package that would do the job?? If this post doesn't belong here, I'm sorry in advance.
TheITGuy
#1TheITGuy Member Posts: 32  
posted: 3/31/2020 8:46:06 PM(UTC)
Do you have a Domain controller at this site running dhcp and dns? I would change it there and push it out via group policy.

Can you set up a remote connection and change it yourself?

Can you give the admin password and change it afterwards?

Found this , should work for you.

https://community.spicew...tely-change-dns-settings

Active Discussions

Lansweeper local admin users of a specific device
by  kdunnett   Go to last post Go to first unread
Last post: Today at 9:30:26 PM(UTC)
Lansweeper How to get total disk usage of all VM assets
by  Erik.T  
Go to last post Go to first unread
Last post: Today at 4:49:58 PM(UTC)
Lansweeper Windows Server 2016 & Patch Tuesday May 2020
by  Hendrik.VE   Go to last post Go to first unread
Last post: 5/22/2020 8:20:05 PM(UTC)
Lansweeper Users mapped "shared" printers
by  Andy.S  
Go to last post Go to first unread
Last post: 5/22/2020 4:16:23 PM(UTC)
Lansweeper Report on Assets in a Static Group
by  Andy.S   Go to last post Go to first unread
Last post: 5/22/2020 2:55:03 PM(UTC)
Lansweeper Windows 10 Activation
by  TruSynergy  
Go to last post Go to first unread
Last post: 5/21/2020 7:54:25 PM(UTC)
Lansweeper Filtering Report Based On Active Status
by  CyberCitizen   Go to last post Go to first unread
Last post: 5/21/2020 4:04:33 AM(UTC)
Lansweeper Windows: Unauthorized Administrators (Built-in)
by  Jackie.L  
Go to last post Go to first unread
Last post: 5/20/2020 8:01:17 PM(UTC)