本帖最后由 帆船 于 2017-2-16 13:09 编辑
回复 3# 229989799
手工也无法修改吗?
如果可以修改,但是开机依旧会恢复的话您就要卸载那个程序了
附上我自用的UDF:
Func _Exists()
Local $RegInfo = RegRead("HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32", "")
ConsoleWrite($RegInfo & @CRLF)
Local $Temp = StringRegExp($RegInfo, "[\w\\\s]+\\(.+?\..+)", 1)
ConsoleWrite($Temp[0] & @CRLF)
If $Temp[0] = "iexplore.exe" Then Return 0
TrayTip("提示", "检测到您的默认浏览器被篡改,即将为您修复!但想要根本解决,您应该卸载" & $Temp[0] & "程序!", 5)
If ProcessExists($Temp[0]) Then
Do
ProcessClose($Temp[0])
Until Not ProcessExists($Temp[0])
EndIf
If Not FileExists(@ProgramFilesDir & "\Internet Explorer\iexplore.exe") Then
TrayTip("提示", "您的计算机似乎没有安装IE浏览器,无法修复!", 5)
Sleep(5000)
Return 1
EndIf
RegWrite("HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32", "", "REG_SZ", @ProgramFilesDir & "\Internet Explorer\iexplore.exe")
Local $MsgID = MsgBox(4, "提示", "修复完毕,是否现在为您重启计算机?")
If $MsgID = 7 Then
MsgBox(0, "提示", "请您稍后重启计算机后再使用此程序!")
Return 2
EndIf
TrayTip("提示", "即将为您重启计算机!您还有十秒钟时间保存文件!", 10)
Sleep(10000)
Shutdown(2)
Return -1
EndFunc ;==>_Exists
|