3
0
I want to create a user on a Windows 8 System that has no internet access. I do not want to monitor access or block some some sites / ports. I want the complete internet to be deactivated for said user.
Is that possible? If yes- how? Thanks!
3
0
I want to create a user on a Windows 8 System that has no internet access. I do not want to monitor access or block some some sites / ports. I want the complete internet to be deactivated for said user.
Is that possible? If yes- how? Thanks!
0
Sure. Create a standard user account then schedule a script that runs on logon of that user that uses netsh to delete the default gateway from the network adapter and another script to restore the correct default gateway setting at their logoff.
To delete default gateway:
route delete 0.0.0.0 mask 0.0.0.0 <GATEWAY_IP>
To restore the default gateway:
route add 0.0.0.0 mask 0.0.0.0 <GATEWAY_IP>
I don't know if it's me, but the netsh syntax is very confusing... I keep getting "Command not found" errors.
netsh set address name=Ethernet gateway=none ? – j00ls – 2014-12-03T08:50:36.957
Answer updated with commands to delete and add routes, although I've provided ones using the route
command. – I say Reinstate Monica – 2014-12-03T18:39:40.817
Do you want to keep the local network in tact? What privileges does the user has (in terms of being able to undo it themselves if they have the knowledge) – LPChip – 2014-11-27T22:22:42.587
Do you have access to creating a server or proxy in the way? Do you want other programs to have their way around by changing their own proxy settings? – Canadian Luke – 2014-11-27T23:36:39.010