|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有账号?立即注册
×
字体问题解决.zip
(2 KB, 下载次数: 2)
win10一键还原默认字体_重启OK:
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo 请求管理员权限...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "^&" "Microsoft" "YaHei" "UI" "(TrueType) /t reg_sz /d msyh.ttc /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "Bold" "^&" "Microsoft" "YaHei" "UI" "Bold" "(TrueType) /t reg_sz /d msyhbd.ttc /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "Light" "^&" "Microsoft" "YaHei" "UI" "Light" "(TrueType) /t reg_sz /d msyhl.ttc /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\FontSubstitutes /v Microsoft" "YaHei /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\FontSubstitutes /v Microsoft" "YaHei" "UI /f
win10一键修改默认字体_重启OK:
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
echo 请求管理员权限...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "^&" "Microsoft" "YaHei" "UI" "(TrueType) /t reg_sz /d simsun.ttc /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "Bold" "^&" "Microsoft" "YaHei" "UI" "Bold" "(TrueType) /t reg_sz /d simsun.ttc /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\Fonts /v Microsoft" "YaHei" "Light" "^&" "Microsoft" "YaHei" "UI" "Light" "(TrueType) /t reg_sz /d simsun.ttc /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\FontSubstitutes /v Microsoft" "YaHei /t reg_sz /d SimSun /f
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows" "NT\CurrentVersion\FontSubstitutes /v Microsoft" "YaHei" "UI /t reg_sz /d SimSun /f |
|