avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday March 3, 2021, 9:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Netlocker  (Read 3926 times)


  • Participant
  • Joined in 2007
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
IDEA: Netlocker
« on: January 19, 2007, 11:03 PM »

  Just wunderin, is there not a lil proggie none o y'all knows 'bout, that upon a 'three-key-sequence'(ie: [ctrl] + [shift] + [end]) that'll disconnect all netwurk adapters, and disable them?

  an if not, would one o u kind chaps mind makey me one?

  It'd b quite nice if the sequnce whuz usr programmable, and also covered user specified programs in its envolope. but not essential.

  I'm lurnin c++, badly. else i'd 'ave a crack @ doing it meself... but i'm nowhere near that level yut...

  Ty in advance.

It is better tu remain silent, and be thought a phewl, than it is tu open yur mouth, and remove all doubt.
« Last Edit: January 20, 2007, 04:19 AM by brotherS »


  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,482
    • View Profile
    • Mouser's Software Zone on
    • Read more about this member.
    • Donate to Member
Re: Netlocker
« Reply #1 on: January 20, 2007, 02:36 AM »
This exact request came up before and the suggestion was to install one of the firewalls with a quick BLOCKALL switch.
Zone Alarm has it, so does Outpost Agnitum.  Others too probably.  I think thats the easiest and best approach.

Maybe someone can find that old thread?


  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,238
    • View Profile
    • Donate to Member
Re: IDEA: Netlocker
« Reply #2 on: January 20, 2007, 04:23 AM »
Hi Eye-R, welcome to the forum! We prefer regular English in here (hint: t3h d4rknezZ surR0unDz m3H ISN'T, neither "y", "r", "u", "ur", "wut", "wat", "ne1", "sum1" etc.), please no SMS-speak... for your other chats get:
IDEA: Netlocker

And why are you using space at the beginning of your lines? :o


  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Netlocker
« Reply #3 on: January 27, 2007, 09:35 PM »
 :) Try ToggleNic!

It's just a quick hack, using Windows' own network folder, but it works! I'm testing Vista, and I couldn't get the menu selction to work properly, but in XP you could remove the ; before WinMenuSelectItem and add a ; before Send.

Remember to change the nic= and hotkey= lines to match your system!


; Use a hotkey to toggle your network cards' enabled state.
; Change the line nic= below to match the names of your network connections, separated by comma.
; Change the hotkey= below using !=Alt ^=Ctrl +=Shift or #=Win followed by any other key.
; For more advanced hotkeys, check the AutoHotkey help file.
;Skrommel @2007

nic=Lokal tilkobling          ;Names of the network connections, separated by comma
hotkey=^F12                   ;Ctrl-F12

TrayTip,ToggleNic,Hotkey: %hotkey%

WinSet,Transparent,0,ahk_class CabinetWClass,,Program Manager
WinMove,ahk_class CabinetWClass,,guix,guiy,,,Program Manager
WinShow,ahk_class CabinetWClass,,Program Manager
ControlGet,nics,List,Col1,SysListView321,ahk_class CabinetWClass,,Program Manager

  If A_LoopField In %nic%
    ControlFocus,SysListView321,ahk_class CabinetWClass,,Program Manager
    ControlSend,SysListView321,{Home}{Down %row%},ahk_class CabinetWClass,,Program Manager
    ;WinMenuSelectItem,ahk_class CabinetWClass,,1&,1&,,,,,,Program Manager   ;In XP, use this instead of the line below
    Send,{Alt Down}f{Alt Up}{Enter}
WinClose,ahk_class CabinetWClass,,Program Manager
« Last Edit: January 27, 2007, 09:37 PM by skrommel »