https://www.yanning.wang/archives/299.html

一、远程桌面崩溃

二、Office办公软件中“开始页”变成“Home”

@echo off
title 恢复系统 REM 变量初始化
rem CSR路径
set CSRPath="" rem 自动发现WinRar安装路径
for /f "tokens=2*" %%i in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Cambridge Silicon Radio\Harmony\Default"^|findstr InstallDir') do set CSRPath=%%j if "%CSRPath%"=="" (
echo.
echo 自动发现CSR蓝牙驱动安装路径失败!
echo 按任意键退出...
Pause>nul
exit
) else (
echo 自动发现CSR蓝牙驱动安装路径成功!
echo 安装路径为:
echo %CSRPath%
) echo.
echo .将BLEtokenCredentialProvider.dll重命名为BLEtokenCredentialProvider.dll.old
rename "%CSRPath%BLEtokenCredentialProvider.dll" BLEtokenCredentialProvider.dll.old echo.
echo .反注册CSR Office组件
RegSvr32.exe /u "%CSRPath%CsrOfficePlugin.dll"
RegSvr32.exe /u "%CSRPath%CsrOfficePluginPS.dll" echo.
echo 已完成,按任意键结束!
pause>nul

--

04-25 03:39