{"id":30,"date":"2025-08-17T02:27:19","date_gmt":"2025-08-17T02:27:19","guid":{"rendered":"http:\/\/vinpearl.ca\/?p=30"},"modified":"2025-08-17T18:59:30","modified_gmt":"2025-08-17T18:59:30","slug":"problem-ejecting-usb-attached-scsi-uas-mass-storage-device","status":"publish","type":"post","link":"https:\/\/vinpearl.ca\/index.php\/2025\/08\/17\/problem-ejecting-usb-attached-scsi-uas-mass-storage-device\/","title":{"rendered":"Problem Ejecting USB Attached SCSI (UAS) Mass Storage Device"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"406\" height=\"152\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-16-192416.png\" alt=\"\" class=\"wp-image-32\" style=\"width:840px;height:auto\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-16-192416.png 406w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-16-192416-300x112.png 300w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><\/figure>\n\n\n\n<p>Warning 8\/16\/2025 7:24:04 PM Kernel-PnP 225 (223)<\/p>\n\n\n\n<p>Log Name: System<br>Source: Microsoft-Windows-Kernel-PnP<br>Date: 8\/16\/2025 7:24:04 PM<br>Event ID: 225<br>Task Category: (223)<br>Level: Warning<br>Keywords:<br>User: SYSTEM<br>Computer: jujube<br>Description:<br>The application \\Device\\HarddiskVolume3\\Windows\\System32\\dllhost.exe with process id 9176 stopped the removal or ejection for the device USB\\VID_174C&amp;PID_55AA\\MSFT30123458DB27C1.<br>Process command line: C:\\Windows\\system32\\DllHost.exe \/Processid:{DFB65C4C-B34F-435D-AFE9-A86218684AA8}<br>List of affected devices:<\/p>\n\n\n\n<p>Event Xml:<br>225 2 3 223 0 0x8000000000000000 699231 System jujube 9176 52 \\Device\\HarddiskVolume3\\Windows\\System32\\dllhost.exe 40 USB\\VID_174C&amp;PID_55AA\\MSFT30123458DB27C1 81 C:\\Windows\\system32\\DllHost.exe \/Processid:{DFB65C4C-B34F-435D-AFE9-A86218684AA8} 0<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"494\" height=\"266\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105429.png\" alt=\"\" class=\"wp-image-36\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105429.png 494w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105429-300x162.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"382\" height=\"475\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105938.png\" alt=\"\" class=\"wp-image-37\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105938.png 382w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-105938-241x300.png 241w\" sizes=\"(max-width: 382px) 100vw, 382px\" \/><figcaption class=\"wp-element-caption\"><code>dllhost.exe<\/code>?<br>It\u2019s the <strong>COM Surrogate<\/strong> process in Windows.<br>Runs COM objects outside the main process for stability (if the COM object crashes, it won\u2019t take down Explorer).<br>Commonly used by <strong>Explorer<\/strong> to generate <strong>thumbnails, previews, and metadata<\/strong> (especially for videos, images, Office docs, PDFs, etc.).<br>So if your USB contains pictures, videos, or documents, <strong>Explorer may spawn <code>dllhost.exe<\/code> to read the files<\/strong> \u2192 and this keeps the drive \u201cbusy,\u201d blocking ejection.<br><br>Preventive Fixes<br>Disable <strong>thumbnail previews<\/strong> (since <code>dllhost<\/code> is often generating them):<\/figcaption><\/figure>\n\n\n\n<p><mark style=\"background-color:#fcb900\" class=\"has-inline-color has-black-color\">Why <code>dllhost.exe<\/code> Stays Alive After Explorer is Closed<\/mark><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"482\" height=\"624\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/image.png\" alt=\"\" class=\"wp-image-41\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/image.png 482w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/image-232x300.png 232w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-113020-1024x562.png\" alt=\"\" class=\"wp-image-44\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-113020-1024x562.png 1024w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-113020-300x165.png 300w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-113020-768x421.png 768w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-113020.png 1426w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><mark style=\"background-color:#fcb900\" class=\"has-inline-color has-black-color\">CLSID &amp; AppID<\/mark>:<strong>CLSID (Class ID)<\/strong> \u2192 points to a COM class (e.g., thumbnail handler, metadata handler). Under it you usually see <code>InProcServer32<\/code> \u2192 the DLL actually being loaded.<br><strong>AppID (Application ID)<\/strong> \u2192 groups one or more CLSIDs under a logical \u201capplication\u201d for COM security and activation. It doesn\u2019t always have a friendly name.<\/figcaption><\/figure>\n\n\n\n<p>HKEY_CLASSES_ROOT\\CLSID<br>HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"http:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-112359-1024x562.png\" alt=\"\" class=\"wp-image-43\" srcset=\"https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-112359-1024x562.png 1024w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-112359-300x165.png 300w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-112359-768x421.png 768w, https:\/\/vinpearl.ca\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-17-112359.png 1426w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><mark style=\"background-color:#fcb900\" class=\"has-inline-color has-black-color\">&#8220;Plan9FileSystem&#8221; in Windows?<\/mark><\/h2>\n\n\n\n<ul>\n<li>It\u2019s a <strong>COM object<\/strong> built into Windows.<\/li>\n\n\n\n<li>It comes from Microsoft\u2019s support for <strong>WebDAV \/ cloud-backed storage<\/strong>, based on the <strong>Plan 9 distributed file system protocols<\/strong>.<\/li>\n\n\n\n<li>In practice, this handler gets invoked when Windows Explorer or a background service (like <strong>OneDrive, WebDAV, or remote filesystem support<\/strong>) needs to read metadata from files.<\/li>\n\n\n\n<li>It runs inside <code>dllhost.exe<\/code> (COM Surrogate)<\/li>\n<\/ul>\n\n\n\n<p><mark style=\"background-color:#00d084\" class=\"has-inline-color has-black-color\">Shutting down WSL allowed me to safely remove the drive<\/mark><\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/github.com\/microsoft\/WSL\/issues\/7972\n<\/div><\/figure>\n\n\n\n<p>You can try the following: open&nbsp;<code>\\\\wsl.localhost\\&lt;linux_dist&gt;\\etc\\wsl.conf<\/code>&nbsp;and add the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;automount]\nenabled = false\n<\/code><\/pre>\n\n\n\n<p>Reference:&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/wsl-config#automount-settings\">https:\/\/learn.microsoft.com\/en-us\/windows\/wsl\/wsl-config#automount-settings<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning 8\/16\/2025 7:24:04 PM Kernel-PnP 225 (223) Log Name: SystemSource: Microsoft-Windows-Kernel-PnPDate: 8\/16\/2025 7:24:04 PMEvent ID: 225Task Category: (223)Level: WarningKeywords:User: SYSTEMComputer: jujubeDescription:The application \\Device\\HarddiskVolume3\\Windows\\System32\\dllhost.exe with process id 9176 stopped the removal or ejection for the device USB\\VID_174C&amp;PID_55AA\\MSFT30123458DB27C1.Process command line: C:\\Windows\\system32\\DllHost.exe \/Processid:{DFB65C4C-B34F-435D-AFE9-A86218684AA8}List of affected devices: Event Xml:225 2 3 223 0 0x8000000000000000 699231 System jujube 9176 52 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3],"_links":{"self":[{"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/posts\/30"}],"collection":[{"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":11,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/posts\/30\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vinpearl.ca\/index.php\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}