开机更新桌面主题的批处理代码
(编辑:jimmy 日期: 2024/12/25 浏览:3 次 )
echo off
set 主题路径=" "
echo Windows Registry Editor Version 5.00 >%temp%\theme.dll
echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager] %temp%\theme.dll
echo "WCreatedUser"="1" %temp%\theme.dll
echo "ThemeActive"="1" %temp%\theme.dll
echo "LoadedBefore"="1" %temp%\theme.dll
echo "LastUserLangID"="2052" %temp%\theme.dll
echo "DllName"=%主题路径% %temp%\theme.dll
echo "ColorName"="NormalColor" %temp%\theme.dll
echo "SizeName"="NormalSize" %temp%\theme.dll
regedit /s %temp%\theme.dll
net stop Themes
net start themes
set 主题路径=" "
echo Windows Registry Editor Version 5.00 >%temp%\theme.dll
echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager] %temp%\theme.dll
echo "WCreatedUser"="1" %temp%\theme.dll
echo "ThemeActive"="1" %temp%\theme.dll
echo "LoadedBefore"="1" %temp%\theme.dll
echo "LastUserLangID"="2052" %temp%\theme.dll
echo "DllName"=%主题路径% %temp%\theme.dll
echo "ColorName"="NormalColor" %temp%\theme.dll
echo "SizeName"="NormalSize" %temp%\theme.dll
regedit /s %temp%\theme.dll
net stop Themes
net start themes
下一篇:三个不同文件停顿二秒弹出不同窗口的批处理