Can anyone help on correct/complete netsh command to change client default
gateway IP remotely. Users are not part of administrator group on client PC.
Try to run this from one server, instead of hopping on hundreds of PCs.
Thanks!
Can anyone help on correct/complete netsh command to change client default
gateway IP remotely. Users are not part of administrator group on client PC.
Try to run this from one server, instead of hopping on hundreds of PCs.
Thanks!
First of all, I would use DHCP if I had over hundred computers. You can
use -r, for example, netsh -r <remote machine's current IP> interface ip set
address "Local Area Connection" static <IP Address> <Subnet Mask> <Default
Gateway> 1.
Since the user doesn't have administrator right, you may create a script and
run it under group policy. This post may help too.
let a non-administrator user to ...
Posted: Tue Apr 08, 2008 2:18 pm Post subject: let a non-administrator
user to add a route on ... you want to know how to let a non-administrator
user to ...
http://www.chicagotech.net/netforums...062a64c0d3e80c
--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"RayRogers" <RayRogers@news.postalias> wrote in message
news:9775B11B-7808-407D-8696-8AC4F2A80E30@microsoft.com...
> Can anyone help on correct/complete netsh command to change client default
> gateway IP remotely. Users are not part of administrator group on client
> PC.
> Try to run this from one server, instead of hopping on hundreds of PCs.
> Thanks!
Why aren't they using DHCP?
--
Phillip Windell
www.wandtv.com
The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------
"RayRogers" <RayRogers@news.postalias> wrote in message
news:9775B11B-7808-407D-8696-8AC4F2A80E30@microsoft.com...
> Can anyone help on correct/complete netsh command to change client default
> gateway IP remotely. Users are not part of administrator group on client
> PC.
> Try to run this from one server, instead of hopping on hundreds of PCs.
> Thanks!
"Phillip Windell" <philwindell@hotmail.com> wrote in message
news:uAzbz4nHJHA.2272@TK2MSFTNGP04.phx.gbl...
> Why aren't they using DHCP?
I was also thinking,...if you have "hundreds of machines" and since Ethernet
is not supposed to go 250-300 machines per subnet (typically a /24 mask or
254 host serves the purpose perfectly) then do you have over that
many?,...and if you do, do you have it broken into subnets,...and if you do
that the Default Gatreway won't be the same in different subnets,...so you'd
have to be careful with how you apply the GPO.
--
Phillip Windell
www.wandtv.com
The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------
Can administrator/password be part of the netsh command so we don;t have to
use policy? Thanks.
"Robert L. (MS-MVP)" wrote:
> First of all, I would use DHCP if I had over hundred computers. You can
> use -r, for example, netsh -r <remote machine's current IP> interface ip set
> address "Local Area Connection" static <IP Address> <Subnet Mask> <Default
> Gateway> 1.
>
> Since the user doesn't have administrator right, you may create a script and
> run it under group policy. This post may help too.
>
> let a non-administrator user to ...
> Posted: Tue Apr 08, 2008 2:18 pm Post subject: let a non-administrator
> user to add a route on ... you want to know how to let a non-administrator
> user to ...
> http://www.chicagotech.net/netforums...062a64c0d3e80c
>
>
> --
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN Troubleshooting on
> http://www.ChicagoTech.net
> How to Setup Windows, Network, VPN & Remote Access on
> http://www.HowToNetworking.com
> "RayRogers" <RayRogers@news.postalias> wrote in message
> news:9775B11B-7808-407D-8696-8AC4F2A80E30@microsoft.com...
> > Can anyone help on correct/complete netsh command to change client default
> > gateway IP remotely. Users are not part of administrator group on client
> > PC.
> > Try to run this from one server, instead of hopping on hundreds of PCs.
> > Thanks!
>
>
There are< 200 production floor PCs and needs to be on static IPs. Thanks.
"Phillip Windell" wrote:
>
> "Phillip Windell" <philwindell@hotmail.com> wrote in message
> news:uAzbz4nHJHA.2272@TK2MSFTNGP04.phx.gbl...
> > Why aren't they using DHCP?
>
> I was also thinking,...if you have "hundreds of machines" and since Ethernet
> is not supposed to go 250-300 machines per subnet (typically a /24 mask or
> 254 host serves the purpose perfectly) then do you have over that
> many?,...and if you do, do you have it broken into subnets,...and if you do
> that the Default Gatreway won't be the same in different subnets,...so you'd
> have to be careful with how you apply the GPO.
>
> --
> Phillip Windell
> www.wandtv.com
>
> The views expressed, are my own and not those of my employer, or Microsoft,
> or anyone else associated with me, including my cats.
> -----------------------------------------------------
>
>
>
"RayRogers" wrote:
> There are< 200 production floor PCs and needs to be on static IPs. Thanks.
>
If your static IP reservations are set up in DHCP you can assign a gateway
IP address to individual reservations - that's how I load share between
several broadband routers on our LAN.
This method meets your requirement of controlling from the (DHCP) server.
--
Regards,
Newell White
"RayRogers" <RayRogers@news.postalias> wrote in message
news:A79A9DE4-F122-49EC-BBA0-8991FA0CE3A8@microsoft.com...
> There are< 200 production floor PCs and needs to be on static IPs. Thanks.
Ok,
That's fine then.
--
Phillip Windell
www.wandtv.com
The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------
Sure, you can use -u and -p switch. This link may help.
netsh commandNetsh is a command-line scripting utility that allows you to,
either locally or remotely, display, modify or script the network
configuration of a computer ...
www.chicagotech.net/netsh.htm
--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"RayRogers" <RayRogers@news.postalias> wrote in message
news:C2904A32-6F61-4B4D-BA8F-0AD0FE3A0B15@microsoft.com...
> Can administrator/password be part of the netsh command so we don;t have
> to
> use policy? Thanks.
>
> "Robert L. (MS-MVP)" wrote:
>
>> First of all, I would use DHCP if I had over hundred computers. You can
>> use -r, for example, netsh -r <remote machine's current IP> interface ip
>> set
>> address "Local Area Connection" static <IP Address> <Subnet Mask>
>> <Default
>> Gateway> 1.
>>
>> Since the user doesn't have administrator right, you may create a script
>> and
>> run it under group policy. This post may help too.
>>
>> let a non-administrator user to ...
>> Posted: Tue Apr 08, 2008 2:18 pm Post subject: let a
>> non-administrator
>> user to add a route on ... you want to know how to let a
>> non-administrator
>> user to ...
>>
>> http://www.chicagotech.net/netforums...062a64c0d3e80c
>>
>>
>> --
>> Bob Lin, MS-MVP, MCSE & CNE
>> Networking, Internet, Routing, VPN Troubleshooting on
>> http://www.ChicagoTech.net
>> How to Setup Windows, Network, VPN & Remote Access on
>> http://www.HowToNetworking.com
>> "RayRogers" <RayRogers@news.postalias> wrote in message
>> news:9775B11B-7808-407D-8696-8AC4F2A80E30@microsoft.com...
>> > Can anyone help on correct/complete netsh command to change client
>> > default
>> > gateway IP remotely. Users are not part of administrator group on
>> > client
>> > PC.
>> > Try to run this from one server, instead of hopping on hundreds of PCs.
>> > Thanks!
>>
>>
Bookmarks