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

regsvr32.exe 進程與指令完整解析

編輯:XP 常見問題解答

進程基本資訊

  • 檔案名稱:regsvr32.exe
  • 進程名稱:Microsoft DLL Registration Service
  • 類別:系統進程
  • 描述:用於註冊/反註冊動態連結庫 (DLL) 與 ActiveX 控制項至登錄。對系統穩定運行至關重要,不應終止。
  • 發行者:Microsoft Corp.
  • 安全等級:0 (無風險)

命令列使用詳解

語法:

regsvr32 [/u] [/s] [/n] [/i[:命令列]] DLL檔案名

可在「執行」對話框或批次檔中執行。

參數說明

參數功能
(無參數)註冊 DLL
/u反註冊 DLL
/s靜默模式:成功時不顯示提示視窗
/c控制連接埠 (較少用)
/i搭配 /u 時呼叫 DllInstall
/n不呼叫 DllRegisterServer,需與 /i 合用

直接執行 regsvr32.exe 會彈出「No DLL name specified」錯誤並顯示參數說明。

常見應用:註冊 ActiveX 元件 (regsvr32 xxx.ocx)、解決 DLL 遺失錯誤、手動移除惡意程式註冊的 DLL。
Copyright © Windows教程網 All Rights Reserved