讓安全性設定精靈(MMC 安全性範本嵌入式管理單元)能顯示並管理自訂的登錄值,方便透過群組原則或安全性範本部署。
%SystemRoot%\inf\sceregvl.inf 到他處並改名備份。sceregvl.inf。[Register Registry Values] 區段下新增一行,格式:登錄路徑,類型,顯示名稱,顯示類型,選項字串MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ScRemoveOption,1,%ScRemove%,3,0|%ScRemove0%,1|%ScRemove1%,2|%ScRemove2%[Strings] 區段定義對應字串:%ScRemove%=智慧卡移除操作%ScRemove0%=無動作%ScRemove1%=鎖定工作站%ScRemove2%=強制登出regsvr32 scecli.dll 重新註冊 DLL。sceregvl.inf,在 [Register Registry Values] 刪除該行。delete these values from the UI 區段加入該登錄路徑(如 MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ScRemoveOption)。regsvr32 scecli.dll → 在 MMC 安全性範本中確認已移除。sceregvl.inf 刪除 delete these values from current system 區段下對應路徑,再次執行 regsvr32 scecli.dll。微軟知識庫 Q214752 提供詳細編輯安全性範本模板資訊。