|
安装StartisBack后,每天开机打开桌面浏览器总会出现 “Hold Escape Key to Disable StartlsBack from loading”
查询后的一种原因是StartisBack写入注册表一个二进制StartIsBack值所致。
于是,写了一个简单的补救措施,即每次开机启动另一个Fix_SB,若出现Hold错误后,运行如下代码即可。
AutoIt脚本代码如下:
; ===========Fix_SB.au3 脚本开始================
If @CPUArch=64 Then
$OSString="64"
Else
$OSString=""
EndIf
For $i=1 to 100 ;此处暂且设置到100,如果将来出现更大数值,自行替换编译即可
$result=RegRead("HKEY_CURRENT_USER" & $OSString & "\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\" & $i & "\StartIsBack", "StartTick")
If Not @Error Then
RegDelete("HKEY_CURRENT_USER" & $OSString & "\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\" & $i & "\StartIsBack", "StartTick")
RegWrite("HKEY_CURRENT_USER" & $OSString & "\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\" & $i & "\StartIsBack", "StartTick", "REG_SZ", "")
Exit
EndIf
Next
;=============Fix_SB.au3脚本结束================
为方便使用,编译后脚本见附件。若不放心,可自行编译 |
UltraDebug免责声明
✅以上内容均来自网友转发或原创,如存在侵权请发送到站方邮件9003554@qq.com处理。
✅The above content is forwarded or original by netizens. If there is infringement, please send the email to the destination 9003554@qq.com handle.
|