Networking Forums

Networking Forums > Computer Networking > Windows Networking > remote use of NETSH

Reply
Thread Tools Display Modes

remote use of NETSH

 
 
Blake
Guest
Posts: n/a

 
      07-17-2008, 04:45 PM
The docs say I can use netsh remotely

I want to set my DNS servers on remote machines - but it doesn't work

I can set the DNS servers for my local interfaces fine

I can even connect remotely to other machines using netsh - but there seems
to be no way to set the DNS servers when connected remotely - it doesn't
understand the 'set dnsserver' command

Thoughts?

Blake


 
Reply With Quote
 
 
 
 
Masterplan
Guest
Posts: n/a

 
      07-17-2008, 06:15 PM
Hi Blake,

I also had this problem a time ago, but i solved with psexec from
Sysinternals like this:
C:\PsTools>psexec.exe \\machine_ip -u domain/user -p password netsh
interface ip set dns "Local Area Connection" static 10.0.0.1 primary

--
Have a nice day!

http://winmasterplan.blogspot.com


"Blake" wrote:

> The docs say I can use netsh remotely
>
> I want to set my DNS servers on remote machines - but it doesn't work
>
> I can set the DNS servers for my local interfaces fine
>
> I can even connect remotely to other machines using netsh - but there seems
> to be no way to set the DNS servers when connected remotely - it doesn't
> understand the 'set dnsserver' command
>
> Thoughts?
>
> Blake
>
>
>

 
Reply With Quote
 
Blake
Guest
Posts: n/a

 
      07-18-2008, 02:19 PM
Thanks - I had thought about using a sysinternals tool...

I'll try that!

Blake


"Masterplan" <(E-Mail Removed).> wrote in message
news:55959219-BF55-46F3-A3BA-(E-Mail Removed)...
> Hi Blake,
>
> I also had this problem a time ago, but i solved with psexec from
> Sysinternals like this:
> C:\PsTools>psexec.exe \\machine_ip -u domain/user -p password netsh
> interface ip set dns "Local Area Connection" static 10.0.0.1 primary
>
> --
> Have a nice day!
>
> http://winmasterplan.blogspot.com
>
>
> "Blake" wrote:
>
>> The docs say I can use netsh remotely
>>
>> I want to set my DNS servers on remote machines - but it doesn't work
>>
>> I can set the DNS servers for my local interfaces fine
>>
>> I can even connect remotely to other machines using netsh - but there
>> seems
>> to be no way to set the DNS servers when connected remotely - it doesn't
>> understand the 'set dnsserver' command
>>
>> Thoughts?
>>
>> Blake
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
netsh Mario Windows Networking 0 02-11-2009 08:29 PM
netsh Mario Windows Networking 0 02-11-2009 08:27 PM
netsh charleh \(moif\) Windows Networking 2 04-13-2005 09:34 PM
NETSH BRIDGE Ondrej Sevecek Windows Networking 5 11-26-2004 07:33 AM
netsh firewall Aaron Parker Windows Networking 1 12-11-2003 08:36 AM



1 2 3 4 5 6 7 8 9 10 11