首页 | 注册 | 登录 | 归档 | 搜索 | 标签 | 在线工具
浏览模式: 标准 | 列表 Tag: 清理记录

USB记录清除方法

有些特殊部门不允许使用移动存储设备,接受检查的时候可以用这招。
删除

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f56307-b6bf-11d0-94f2-00a0c91efb8b}下的所有项
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB 下所有Vid开头的项
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR 下的所有Disk&Ven开头的项
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags 下所有项
c:\windows\setupapi.log 文件

Tags: windows, 系统, 清理记录

清除系统垃圾

@echo off
del 
///%systemdrive%*.tmp
del 
///%systemdrive%*._mp
del 
///%systemdrive%*.log
del 
///%systemdrive%*.gid
del 
///%systemdrive%*.chk
del 
///%systemdrive%*.old
del 
///%systemdrive%recycled*.*
del ///%windir%*.bak
del 
///%windir%prefetch*.*
del ///%windir%temp*.*
del //%userprofile%cookies*.*
del //%userprofile%recent*.*
del ///"%userprofile%\Local Settings\Temporary Internet Files\*.*"
del ///"%userprofile%\Local Settings\Temp\*.*"
del ///"%userprofile%\recent\*.*"

Tags: 系统, 垃圾, windows, 清理记录