CakeAlexSHere
Piotr
You could also additionally to ensure not accidental discover IP again by your computer to block access on router if possible (your ethernet card has unique MAC address).
For instance exclude that computer from beeing served by DHCP service on router and if possible (depends on router - creates direct rule to block it).
This method will kill the local LAN as well.
If you want to completely disable the internet you just need to disable the network adapter in device manager, that's it. Sure add a rule if you are paranoid it may get reenabled.
If you want LAN but not internet then remove the gateway.
Nope. The method is selective and addressed on router so point where internet is connected.
Ok, I have read again, so need to correct and precise what I wrote.
If PC has assigned IP by DHCP for using LAN not manually it needs of course still use it to get IP (and often automatically gateway). Sorry if I misunderstood.
Accidental (I mean Windows can be trying to get access and you could get in unpredictable moment dialog box with a question and put accidentally 'enter' if dialog get focus) changing manual do DHCP could cause reading automatically gateway hence providing Internet access.
Anyway creating rule on router to block access to Internet for PC would be additional protection.
Sorry for my English :(