Re: Re: remothly change IP configuration with netsh
From: Omar (anonymous_at_discussions.microsoft.com)
Date: 04/12/04
- Next message: Shawn: "Adding global groups to local admin groups on remote machines"
- Previous message: Jerold Schulman: "Re: Re: remothly change IP configuration with netsh"
- In reply to: Jerold Schulman: "Re: Re: remothly change IP configuration with netsh"
- Next in thread: Frank W.: "Re: Re: remothly change IP configuration with netsh"
- Reply: Frank W.: "Re: Re: remothly change IP configuration with netsh"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 12 Apr 2004 11:59:41 -0700
Thanks Jerol I use this localy and there is no problem,
the issue is that NETSH command it haves the option to
remotly connect to any other computer the command is:
netsh , then under the netsh console I type:
set machine <PC name>
then I get the prompt: [PC name] netsh> here is where I
suppost can I change the IP or any network configuration
because if I use this under the remote machine the
changes are applied to the remote computer not the local
one using this command.
I found this in the next TechNet note, from a Cable Guy on
November 2001:
Remote configuration
One of the most useful aspects of Netsh is the ability to
remotely configure computers running Windows 2000. You can
indicate the computer to remotely configure by either
specifying the -r RemoteMachine command-line option or
using the set machine global Netsh command. In both cases,
you can specify a remote computer with a NetBIOS name, a
UNC name, a DNS domain name, or an IP address in dotted
decimal notation.
To run the commands on a remote computer, you must have
administrator permissions on the remote computer. You must
be logged on with a user account that is a member of the
Administrators group on the remote computer. Alternately,
you must have an existing connection to the remote
computer that uses a user account that is a member of the
Administrators group on the remote computer.
When you use the set machine command to specify the remote
computer, the netsh command prompt changes to indicate the
name or IP address of the remote computer on which
commands are run. Here is an example:
netsh>set machine 157.59.138.21
[157.59.138.21] netsh>interface
You can configure multiple remote computers with the same
script file by beginning each set of commands to be run on
a remote computer with the appropriate set machine
command.
Some commands, such as those in the aaaa context, cannot
be remotely executed. To reset Netsh back to the local
computer, issue the set machine command without any
parameters.
>-----Original Message-----
>
>
>See tip 2279 in the 'Tips & Tricks' at
http://www.jsiinc.com
>
>On Mon, 12 Apr 2004 07:49:24 -0700, "Omar"
<anonymous@discussions.microsoft.com>
>wrote:
>
>>Hi Jerold I didn't see your post can you send it again
>>
>>Thanks
>>>-----Original Message-----
>>>On Fri, 9 Apr 2004 14:34:42 -0700, "Omar"
>><anonymous@discussions.microsoft.com>
>>>wrote:
>>>
>>>>under technet I found a text named configurin Windows
>>2000
>>>>networking components release on November 2001, this
doc
>>>>speaks about the netsh command and on the end of the
>>text
>>>>it have a subtitle named Remote configuration here
says
>>>>that there is a way to change the ip configuration of
a
>>>>worstation or server remotly, I try to follow this but
>>>>is't works the sintaxis that I'm using is:
>>>>
>>>>netsh -r 10.113.3.0 int ip set add "Local Area
>>Connection"
>>>>static 10.113.2.115 255.255.252.0 10.113.0.1 2
>>>>
>>>>I try on this machine and other with the DHCP
>>>>configuration enabled and doesn't work too.
>>>>
>>>>This is a very interesting tool because I can change
all
>>>>my network to a static IP network or to a DHCP so I
>>whant
>>>>to know if this is still posible with netsh command.
>>>>
>>>>Thanks for your help and support.
>>>>
>>>>Have a nice day.
>>>
>>>
>>>See tip 2279 in the 'Tips & Tricks' at
>>http://www.jsiinc.com
>>>
>>>Jerold Schulman
>>>Windows: General MVP
>>>JSI, Inc.
>>>http://www.jsiinc.com
>>>.
>>>
>
>
>Jerold Schulman
>Windows: General MVP
>JSI, Inc.
>http://www.jsiinc.com
>.
>
- Next message: Shawn: "Adding global groups to local admin groups on remote machines"
- Previous message: Jerold Schulman: "Re: Re: remothly change IP configuration with netsh"
- In reply to: Jerold Schulman: "Re: Re: remothly change IP configuration with netsh"
- Next in thread: Frank W.: "Re: Re: remothly change IP configuration with netsh"
- Reply: Frank W.: "Re: Re: remothly change IP configuration with netsh"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|