netsh errors setting remote computer to dhcp

Discussion in 'Microsoft Windows 2000 Networking' started by LetUsPrey, Nov 21, 2005.

  1. LetUsPrey

    LetUsPrey Guest

    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"

    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.
    LetUsPrey, Nov 21, 2005
    1. Advertisements

  2. Instead of executing the command from your own machine, try
    running it on the remote machine with psexec.exe (
    Pegasus \(MVP\), Nov 22, 2005
    1. Advertisements

  3. LetUsPrey

    LetUsPrey Guest

    This solves the problem. Thanks. I guess it would be safe to assume
    that remote netsh is broken in some way?
    LetUsPrey, Nov 22, 2005
  4. Not really. There could be lots of reasons why your command
    failed, e.g. some registry setting in the remote machine that
    prevents netsh from doing its job when executed non-locally.
    Pegasus \(MVP\), Nov 22, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.