How to Disable Autorun.inf in Windows 7

Autorun function when you insert CD/DVD media can be a great security risk for your system. There are viruses which make utilize of this default Windows behavior to infect your computer. Below are the steps to disable this default Windows 7 feature for Autorun.

1. Type gpedit.msc in the Search programs and files dialog of your Windows 7
2. In the Local Group Policy Editor, navigate to User Configuration then selects Administrative Templates 
3. Choose Windows Components then selects Windows Explorer
4. Scroll down the list on the right side pane and find Default behavior for AutoRun 
5. Double click on Default behavior for AutoRun and choose Enabled
6. From the drop down list choose Do not execute any autorun commands
7. Click OK to accept the settings

How to Change Default Listening Port of RDP

In light of the most recent Microsoft's critical update MS12-020 released last March, those computers facing the Internet with Remote Desktop Protocol enabled should re-configure its default listening port other than port 3389 as a workaround. MS12-020 is labeled as critical because it could allow intruders to obtain LocalSystem control on a computer with RDP enabled.

 To change the port that Remote Desktop Protocol listens, you need to follow these steps,

  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
  3. On the Edit menu, click Modify, and then click Decimal.
  4. Type the new port number, and then click OK.
  5. Quit Registry Editor.
  6. Restart the computer.