Notice
Recent Posts
Recent Comments
04-20 02:05
관리 메뉴

Black&White

USB 메모리 스틱 관련 드라이버 레지스트리에서 삭제하기 본문

Windows

USB 메모리 스틱 관련 드라이버 레지스트리에서 삭제하기

V.E.N 2012. 2. 28. 15:58
오래된 USB Storage 장치 관련해서 문제가 발생될 경우,

Windows 레지스트리에서 관련된 키들을 제거할 필요가 있을 때 유용한 방법이다.

먼저, 어떤 USB 장치가 사용되고 있는지 확인하는 방법은

nirsoft.net 의 USBDeview 라는 툴이 있다.


아쉽게도 이 툴을 이용해서 Uninstall 은 지원되지만, 레지스트리에 흔적이 남아 있다.

레지스트리에서 완벽히 삭제를 하기 위해서는

drivecleanup.zip

툴을 이용하면 된다.

<사용방법>

해당 파일을 다운받아, 임의의 폴더에 압축을 풀자

cmd.exe 에서 압축을 푼 폴더로 이동한다.

예를 들어, c:\temp 폴더에 압축을 풀었다고 하면,

32bit 의 경우    c:\temp\Win32\drivecleanup.exe -t
64bit 의 경우    c:\temp\x64\drivecleanup.exe -t

-t 옵션은 테스트이다. 삭제할 USB Storage 관련 장치가 어떤게 있는지 확인할 수 있다.

이외에도 다양한 옵션이 있는데, 압축을 푼 파일중 DriveCleanup.txt 파일을 보면 된다.

32bit 의 경우    c:\temp\Win32\drivecleanup.exe
64bit 의 경우    c:\temp\x64\drivecleanup.exe

옵션없이 실행하게 되면, 바로 삭제를 시작한다.

Windows 재시작한다.

<사용예>

C:\>drivecleanup.exe
DriveCleanup V0.7.0 (Win32)
Uninstalls non present storage volumes, Disk, CDROM, Floppy devices
and deletes their registry items
Freeware by Uwe Sieber - www.uwe-sieber.de

removing USB device 'USB\VID_0000&PID_0000\7&2285BC2A&0&1'
 OK
removing USB device 'USB\VID_0411&PID_00A2\WDC_WD2500_____WD-WCANKE590248'
 OK
removing USB device 'USB\VID_0BB4&PID_0C02&MI_00\6&2DD32CD2&1&0000'
 OK
removing USB device 'USB\VID_1058&PID_0702\575845313037453632383432'
 OK
removing USB device 'USB\VID_1058&PID_0702\7274787265616E206C2E3132'
 OK
removing USB device 'USB\VID_1058&PID_0702\F53A39F2AB75F5CDC4B6ABC3'
 OK
removing Disk 'USBSTOR\DISK&VEN_HTC&PROD_ANDROID_PHONE&REV_0100\7&1012C922&1&HT9A2HF00558&0'
 OK
removing Disk 'USBSTOR\DISK&VEN_WD&PROD_1600BEVEXTERNAL&REV_1.02\575845313037453632383432&0'
 OK
removing Disk 'USBSTOR\DISK&VEN_WD&PROD_N_EXTEREXTERNAL&REV_1.02\7274787265616E206C2E3132&0'
 OK
removing Disk 'USBSTOR\DISK&VEN_WD&PROD_N_EXTEREXTERNAL&REV_1.02\F53A39F2AB75F5CDC4B6ABC3&0'
 OK
removing Disk 'USBSTOR\DISK&VEN_WDC_WD25&PROD_00JS-00NCB1&REV_\WDC_WD2500_____WD-WCANKE590248&0'
 OK
removing volume 'STORAGE\REMOVABLEMEDIA\8&3152D400&0&RM'
 OK
removing volume 'STORAGE\REMOVABLEMEDIA\9&29B6E3D1&0&RM'
 OK
removing volume 'STORAGE\REMOVABLEMEDIA\9&BC53371&0&RM'
 OK
removing volume 'STORAGE\VOLUME\1&30A96598&0&SIGNATURE44FDFE06OFFSET7E00LENGTH2543150400'
 OK
removing volume 'STORAGE\VOLUME\1&30A96598&0&SIGNATUREC12C6F64OFFSET7E00LENGTH3A388A8400'
 OK
Regkey delete HKLM\System\MountedDevices\\??\Volume{91a9bc60-2535-11df-b96f-00256495135f}
 OK
Regkey delete HKLM\System\MountedDevices\\??\Volume{91a9bc61-2535-11df-b96f-00256495135f}
 OK
Regkey delete HKLM\System\MountedDevices\\??\Volume{dce40c14-30ad-11df-b973-00256495135f}
 OK
Regkey delete HKLM\System\MountedDevices\\??\Volume{d4227929-32c8-11df-b97c-00256495135f}
 OK
Regkey delete HKLM\System\MountedDevices\\??\Volume{9827b60e-34f1-11df-b983-00256495135f}
 OK
Regkey delete HKLM\System\MountedDevices\\DosDevices\Z:
 OK
Regkey delete HKLM\System\MountedDevices\\DosDevices\H:
 OK
Regkey delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\H
 OK
Regkey delete HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\Z
 OK

Removed 6 USB devices
Removed 0 USB hubs
Removed 5 Disk devices
Removed 0 CDROM devices
Removed 0 Floppy devices
Removed 5 Storage volumes
Removed 9 Keys from registry

Comments