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

Windows XP 透過註冊表禁止使用者修改檔案屬性

編輯:XP 系統基礎知識

電腦教室等多用戶環境,為防止學生隨意更改檔案/資料夾屬性(唯讀、隱藏、系統等),可設定註冊表:

  1. 執行 regedit。
  2. 定位 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 或 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer(若無鍵值請自行建立)。
  3. 新建/修改 DWORD 值 NoFileAssociate = 1(1=禁止修改,0=允許)。
  4. 重新開機生效。

此後使用者在資源管理器右鍵檔案→「屬性」將無法勾選/取消勾選屬性核取方塊。

Copyright © Windows教程網 All Rights Reserved