Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

修改登錄表強化 Windows Vista 安全性:五大實用技巧與遠程桌面埠修改

編輯:Windows Vista 教學

第一式:全面禁用控制台

啟動登錄表編輯器 (regedit),定位至:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

在 Explorer 子項下新建「DWORD (32 位元) 值」,命名為 NoControlPanel,數值資料設為 1。登出或重啟後,「控制台」將從開始選單消失,右鍵點擊「電腦」→「屬性」亦會提示受限。

第二式:隱藏/顯示控制台指定項目

同樣在 Explorer 子項下:

  • 隱藏特定項:新建 DWORD 值 DisallowCpl = 1,再新建同名子項 DisallowCpl,其下新建字串值 1 = intl.cpl(區域與語言選項將隱藏)。
  • 僅顯示特定項:新建 DWORD 值 RestrictCpl = 1,新建子項 RestrictCpl,其下新建字串值 1 = intl.cpl(僅顯示區域與語言選項,其他隱藏)。

第三式:隱藏 Internet 選項的分頁

定位至 HKEY_CURRENT_USER\Software\Policies\Microsoft,新建子項 Internet Explorer → Control Panel。在其下新建 DWORD 值 generaltab = 1 隱藏「一般」分頁,或 securitytab = 1 隱藏「安全性」分頁。

第四式:隱藏資料夾選項

在 Explorer 子項下新建 DWORD 值 NoFolderOptions = 1,重啟後控制台中將不見「資料夾選項」。

第五式:禁止新增印表機

在 Explorer 子項下新建 DWORD 值 NOaddPrinter = 1,重啟後雖可點擊「新增印表機」但會彈出禁止提示。

進階技巧:修改遠程桌面預設埠 (3389) 提升安全性

Vista 支援遠程桌面,但預設埠 3389 極易遭掃描攻擊。修改方法:

  1. 執行 regedit,定位至:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  2. 找到右側的 PortNumber (REG_DWORD),雙擊修改為 1024~65535 之間的任意埠號(如 2007、2038),避免與系統保留埠衝突。
  3. 重啟系統生效。之後連線時需在 IP 或電腦名後加上埠號,例如 192.168.1.5:2007。


 

Copyright © Windows教程網 All Rights Reserved