steelman2202
Limp Gawd
- Joined
- Oct 26, 2005
- Messages
- 349
Hello, I hope you all can help me with this odd situation that I'm stuck in.
I have a Win7x64 PC that needs access to 2 networks, but not at the same time. (there is a private VLAN that I don't want to give all users access). The user that needs to change the network configuration is in the network configuration users group.
The PC has two Ethernet adapters. I thought I would be able to script the ethernet adapters to enable and disable on logon/logoff using WMI/powershell or NETSH, but I can't. I think it requires full admin access, and not a just network configuration user role.
However, given that role - the user is able to change IP address/subnet mask/etc. And this I am able to do via NETSH, and thus script. Here's the question:
Is it possible to set such an IP address to ensure that no communication occurs over the network? The two networks are (165.x.x.x - public IP's) and (10.x.x.x).
EDIT:
To clarify - I am trying to do this, because I CANNOT script the network adapter to turn on and off via logon/logoff events without giving users admin rights.
I have a Win7x64 PC that needs access to 2 networks, but not at the same time. (there is a private VLAN that I don't want to give all users access). The user that needs to change the network configuration is in the network configuration users group.
The PC has two Ethernet adapters. I thought I would be able to script the ethernet adapters to enable and disable on logon/logoff using WMI/powershell or NETSH, but I can't. I think it requires full admin access, and not a just network configuration user role.
However, given that role - the user is able to change IP address/subnet mask/etc. And this I am able to do via NETSH, and thus script. Here's the question:
Is it possible to set such an IP address to ensure that no communication occurs over the network? The two networks are (165.x.x.x - public IP's) and (10.x.x.x).
EDIT:
To clarify - I am trying to do this, because I CANNOT script the network adapter to turn on and off via logon/logoff events without giving users admin rights.
Last edited: