网络空间安全:行业资讯、技术分享、法规研讨、趋势分析……

“游侠安全网”创建了网络安全从业者QQ大群(群号:1255197) ,欢迎各位同仁加入!有其它问题如合作等,请联系站长“网路游侠”,QQ:55984512


如何删除USB的使用记录-删除U盘使用记录

2008-04-22 17:14 推荐: 浏览: 113 views 字号:

摘要: 当你在计算机上用过U盘等USB存储设备时,USB设备就已在注册表里登记了,用相关软件就可查出你用了什么存储设备。要想清除记录很简单,以下是我自作的小程序,与大大家分享: 如下几个文件,放在同一个文件夹下,便可成功:下面介绍各文件的生成 USBlog.exe ...

当你在计算机上用过U盘等USB存储设备时,USB设备就已在注册表里登记了,用相关软件就可查出你用了什么存储设备。要想清除记录很简单,以下是我自作的小程序,与大大家分享:

如下几个文件,放在同一个文件夹下,便可成功:下面介绍各文件的生成

USBlog.exe 文件,用来查看USB设备,生成的记事本文件存在桌面上。该文件下载地址:www.cppblog.com/Files/saga/USBlog.rar

比UsbLog更好用的U盘使用记录查询工具UsbViewer下载

USB-CLR.bat文件,新建一个记事本文件,再将.txt扩展名改为.bat为上图示。

文件内容:复制以下内容生成该文件即可

regini regset.ini
regini regset1.ini
regini regset2.ini
USB.REG

USB.REG文件,新建一个记事本文件,再将.txt扩展名改为.REG为上图示。

文件内容:复制以下内容生成该文件即可(USB设备不全,如果有些设备不能清除,请查注册表内设备型号)

REGEDIT4

[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\DeviceClasses]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\DeviceClasses]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_2.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_2.0&Rev_U204]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Disk&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Drive&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Kingston&Prod_DataTravelerMini&Rev_PMAP]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Multi&Prod_Flash_Reader&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Myson&Prod_CS8819A2-109__0&Rev_1.01]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_NEWMAN&Prod_FLASH__DISK&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_1.89]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Sunplus&Prod_MultiMedia-Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_USB_2.0&Prod_(HS)_Flash_Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_USB0703A&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(BW)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_USB_Flash_Drive&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_X-320&Prod_USB_DISK_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_\6&17681577&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77\6&1fa42811&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00\XQ95CG9N&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven__Generic&Prod_MSC_Recovery&Rev_0100]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(FS)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR\Disk&Ven_Newman&Prod_Flash_Disk&Rev_5.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_2.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_2.0&Rev_U204]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Disk&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Drive&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Kingston&Prod_DataTravelerMini&Rev_PMAP]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Multi&Prod_Flash_Reader&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Myson&Prod_CS8819A2-109__0&Rev_1.01]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_NEWMAN&Prod_FLASH__DISK&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_1.89]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Sunplus&Prod_MultiMedia-Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_USB_2.0&Prod_(HS)_Flash_Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_USB0703A&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(BW)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_USB_Flash_Drive&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_X-320&Prod_USB_DISK_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_\6&17681577&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77\6&1fa42811&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00\XQ95CG9N&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven__Generic&Prod_MSC_Recovery&Rev_0100]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(FS)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR\Disk&Ven_Newman&Prod_Flash_Disk&Rev_5.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_2.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\DISK&Ven_ChipsBnk&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_2.0&Rev_U204]
[-HKEY_LOCAL_MACHINE\SYSTEM\Contro
lSet003\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_Disk_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Disk&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\DISK&Ven_GENERIC&Prod_USB_FLASH_Drive&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Kingston&Prod_DataTravelerMini&Rev_PMAP]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Multi&Prod_Flash_Reader&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Myson&Prod_CS8819A2-109__0&Rev_1.01]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_NEWMAN&Prod_FLASH__DISK&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_%z!Y]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_1.89]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Sunplus&Prod_MultiMedia-Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_USB_2.0&Prod_(HS)_Flash_Disk&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_USB0703A&Prod_Flash_Disk&Rev_4.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(BW)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_USB_Flash_Drive&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_X-320&Prod_USB_DISK_DEVICE&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_\6&17681577&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Ocean&Prod_Number_DigiBar&Rev_]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77\6&1fa42811&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Teclast&Prod_Coolflash&Rev_7.77]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00\XQ95CG9N&0]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Teclast&Prod_CoolFlash&Rev_8.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven__Generic&Prod_MSC_Recovery&Rev_0100]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_USB2.0&Prod_(FS)_FLASH_DISK&Rev_1.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR\Disk&Ven_Newman&Prod_Flash_Disk&Rev_5.00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR]

regset.ini文件,新建一个记事本文件,再将.txt扩展名改为.ini为上图示。

文件内容:复制以下内容生成该文件即可

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR [17]

regset1.ini文件,新建一个记事本文件,再将.txt扩展名改为.ini为上图示。

文件内容:复制以下内容生成该文件即可

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\USBSTOR [17]

regset2.ini文件,新建一个记事本文件,再将.txt扩展名改为.ini为上图示。

文件内容:复制以下内容生成该文件即可

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBSTOR [17]

6个文件都有了,双击USB-CLR.bat文件,运行即可。

相关软件:
比UsbLog更好用的U盘使用记录查询工具UsbViewer下载

联系站长租广告位!

中国首席信息安全官


关闭


关闭