windows系统bat批处理 清理注册表与蓝屏补丁

简介: windows系统bat批处理 清理注册表与蓝屏补丁

慎用! 此文章仅作笔记记录,有些人使用后蓝屏,请酌情使用

新建记事本 改后缀 *.bat

复制下内容

@echo off 
del/f/s/q %systemdrive%\*.tmp 
del/f/s/q %systemdrive%\*._mp 
del/f/s/q %systemdrive%\*.log 
del/f/s/q %systemdrive%\*.gid 
del/f/s/q %systemdrive%\*.chk 
del/f/s/q %systemdrive%\*.old 
del/f/s/q %windir%\*.bak 
del/f/q %systemdrive%\recycled\*.* 
del/f/q %windir%\prefetch\*.* 
rd/s/q %windir%\temp & md %windir%\tempemp% &md %temp% 
del/f/q %userprofile%\cookies\*.* 
del/f/q %userprofile%\recent\*.* 
rd/s/q \“%userprofile%\Local Settings\Temporary Internet Files\” 
cls & echo 系统垃圾清除完成:) 
echo. & pause 

蓝屏补丁:

保存reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\TSDDD]
"software"=hex:00

目录
相关文章
|
1天前
|
监控 网络安全 Windows
Windows系统命令
Windows系统命令
|
2天前
|
Python Windows
python之windows脚本启动bat
python之windows脚本启动bat
|
1天前
|
Windows
在Windows xp中即时创建系统还原点的秘技
在Windows xp中即时创建系统还原点的秘技
|
26天前
|
存储 Web App开发 调度
Windows系统新手教程:常见操作命令帮你玩转电脑
Windows系统新手教程:常见操作命令帮你玩转电脑
65 5
|
26天前
|
Linux 网络虚拟化 Windows
ccproxy windows上用的代理软件(类似linux系统上的squid)
ccproxy windows上用的代理软件(类似linux系统上的squid)
|
24天前
|
网络安全 虚拟化 Windows
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
|
1月前
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
|
1月前
|
开发框架 .NET API
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
Windows Server 2022 安装IIS 报错 访问临时文件夹 C:\WINDOWS\TEMP\3C 读取/写入权限 错误: 0x80070005
76 0
|
1月前
|
Linux Docker Windows
Windows——Docker拉取Windows Server镜像
Windows——Docker拉取Windows Server镜像
102 0
|
2月前
|
弹性计算 持续交付 Docker
阿里云云效产品使用合集之如何部署到阿里云服务器上的 Windows Server 上的 IIS
云效作为一款全面覆盖研发全生命周期管理的云端效能平台,致力于帮助企业实现高效协同、敏捷研发和持续交付。本合集收集整理了用户在使用云效过程中遇到的常见问题,问题涉及项目创建与管理、需求规划与迭代、代码托管与版本控制、自动化测试、持续集成与发布等方面。