View Full Version : netsh errors setting remote computer to dhcp


LetUsPrey
11-21-2005, 06:45 PM
I am trying to set a few remote computers from static address to DHCP
using netsh.

I use the following command:

netsh -r remotemachine interface ip set address "Local Area Connection"
dhcp

but the command errors out with:

Error obtaining configuration for interface Local Area Connection.

I'm stumped as to what this error is caused by and haven't been able to
find any information on it.

Pegasus \(MVP\)
11-22-2005, 01:20 AM
"LetUsPrey" <letusprey@gmail.com> wrote in message
news:1132598745.062200.179910@g14g2000cwa.googlegroups.com...
> I am trying to set a few remote computers from static address to DHCP
> using netsh.
>
> I use the following command:
>
> netsh -r remotemachine interface ip set address "Local Area Connection"
> dhcp
>
> but the command errors out with:
>
> Error obtaining configuration for interface Local Area Connection.
>
> I'm stumped as to what this error is caused by and haven't been able to
> find any information on it.
>

Instead of executing the command from your own machine, try
running it on the remote machine with psexec.exe (www.sysinternals.com).