Back

 

Guibord Technical Writing Services, Inc.

 

 

 

Reduce the probabilities of unauthorized access to your PC

2019 © Guibord Technical Writing Services, Inc.

 

 

When you do not use the Internet, turning OFF your PC’s network adapter reduces the probabilities of unauthorized access to your PC. It is possible, of course, to uses Windows’ Device Manager to turn your PC’s network adapter ON/OFF. But this can quickly become fastidious.

 

Here is a better option: Create two shortcuts. Shortcut one will turn your PC’s network adapter ON. Shortcut two will turn it OFF.

 

 

Shortcut one — Enable Internet Connection

Create a shortcut on the desktop (right-click > New > Shortcut) and follow the instructions in the dialog window. Name the shortcut Enable Internet Connection.

 

Right-click the shortcut and select Properties. Leave the dialog window open.

 

Go to the Control Panel and select Network and Sharing Center, then search for a link to your network connection — typically, available via the Change adapter settings link. Note the name of your local network connection.

 

Control Panel — network connections

 

Fig. 1 — Example of a Local Network Connection on a VISTA/Windows 7 Operating System

 

 

Find out where the netsh.exe file is located on your PC. Typically, it is in C:\Windows\System32\

 

Go back to the dialog window for the shortcut. In the Target field, replace the information with:

C:\Windows\System32\netsh.exe interface set interface name="Connection name" admin = enabled

Replace "Connection name" with the name of your local network connection.

NOTE: The quotation marks must be included as shown.

 

In the Start in field, insert: C:\Windows\system32, or the path where the netsh.exe file is located on your PC.

If the path is different than C:\Windows\system32, modify that too in the Target field.

 

Put the cursor in the Shortcut key field, and press on the key that you want to use as a shortcut (e.g., F1).

 

In the Run field, select Minimized.

 

Click on the Advanced... button and select Run as administrator.

 

Click on the Change Icon... button and select the icon you want to use for the shortcut.

 

Click on OK.

 

 

Shortcut two — Disable Internet Connection

Create a shortcut on the desktop (right-click > New > Shortcut). Follow the instructions in the dialog window. Name the shortcut Disable Internet Connection.

 

Use the same procedure as for the previous shortcut, except that in the Target field, use:

C:\Windows\System32\netsh.exe interface set interface name="Connection name" admin = disabled

Replace "Connection name" with the name of your local network connection.

NOTE: The quotation marks must be included as shown.

 

For the shortcut key, put the cursor in the Shortcut key field, and press on the key that you want to use as a shortcut (e.g., F2).

 

 

Once the two shortcuts have been created, place them in an appropriate location, e.g., in Windows’ Taskbar.

 

Enable/disable Internet connection shortcuts in taskbar

 

Fig. 2 — Enable/disable Internet Connection Shortcuts in Windows’ Taskbar

 

Simply click on the shortcuts to turn your PC’s Network Adapter ON/OFF.

 

 

When working properly, turning your PC’s Network Adapter ON/OFF will be reflected by the status of the Internet access icon in Windows’ notification area.

 

Disabled Internet connection icon status in notification area

 

Fig. 3 — Internet Access Icon in Windows’ Notification Area