{"id":1915,"date":"2018-01-29T19:06:17","date_gmt":"2018-01-30T03:06:17","guid":{"rendered":"https:\/\/chriscarey.com\/blog\/?p=1915"},"modified":"2022-10-01T10:36:31","modified_gmt":"2022-10-01T18:36:31","slug":"the-disk-your-disk-wasnt-ejected-because-one-or-more-programs-may-be-using-it","status":"publish","type":"post","link":"https:\/\/chriscarey.com\/blog\/2018\/01\/29\/the-disk-your-disk-wasnt-ejected-because-one-or-more-programs-may-be-using-it\/","title":{"rendered":"The disk &#8220;your disk&#8221; wasn&#8217;t ejected because one or more programs may be using it"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"167\" data-attachment-id=\"1937\" data-permalink=\"https:\/\/chriscarey.com\/blog\/2018\/01\/29\/the-disk-your-disk-wasnt-ejected-because-one-or-more-programs-may-be-using-it\/disk-not-ejected-2\/\" data-orig-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected.png\" data-orig-size=\"507,167\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"disk-not-ejected\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected-300x99.png\" data-large-file=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected.png\" src=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected.png\" alt=\"\" class=\"wp-image-1937\" srcset=\"https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected.png 507w, https:\/\/chriscarey.com\/blog\/wp-content\/uploads\/2018\/04\/disk-not-ejected-300x99.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/awmZ_9t8dI0?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><figcaption>trying to safely eject any hard drive<\/figcaption><\/figure>\n\n\n\n<p>This error message has come up on a number of occasions and I&#8217;m sure many people have wondered what is the best way to deal with this. This is for macOS, OSX, Macintosh operating system. These instructions are the same for Mavericks, Yosemite, Sierra, High Sierra, Mojave, Catalina, Big Sur, Monterey.<\/p>\n\n\n\n<p>I have found a few main things that cause this error&#8230;<\/p>\n\n\n\n<p>1) There is an application you launched with a file open on that disk. Double check you have no applications running with files open on the disk. You can try quitting applications that opened files on the removable disk.<\/p>\n\n\n\n<p>2) There is a terminal open, and you have changed directory onto the disk path in terminal. Check any open terminal windows and change directory\n\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">cd<\/div><\/div>\n\n<\/p>\n\n\n\n<p>to go back to your home folder, or\n\n<div class=\"codecolorer-container text blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"text codecolorer\">exit<\/div><\/div>\n\n<\/p>\n\n\n\n<p>to close them.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>3) There is some other application, maybe an operating system application and not one you explicitly launched, holding a file on the disk open.<\/p>\n\n\n\n<p>There is an application called &#8220;What&#8217;s keeping me&#8221; that can help you find which process is keeping your disk from ejecting <del>http:\/\/www.hamsoftengineering.com\/products\/wkm\/wkm.html<\/del> . EDIT: This link is now broken as of 2022<\/p>\n\n\n\n<p>I found <strong>QuickLookUIService<\/strong> will often hold on to the disk. QuickLookUIService is used to preview document, photos, or videos and will not properly let go of those files sometimes. In this case it will need to be Force Quit. Open Activity Monitor, sort by name, or search for QuickLookUIService, and click the x button and Force Quit! Or you can do it on the terminal with\n\n<div class=\"codecolorer-container bash blackboard\" style=\"overflow:auto;white-space:nowrap;width:565px;\"><div class=\"bash codecolorer\"><span class=\"kw2\">killall<\/span> <span class=\"re5\">-9<\/span> QuickLookUIService<\/div><\/div>\n\n<\/p>\n\n\n\n<p>Good luck ejecting your disks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This error message has come up on a number of occasions and I&#8217;m sure many people have wondered what is the best way to deal with this. This is for macOS, OSX, Macintosh operating system. These instructions are the same for Mavericks, Yosemite, Sierra, High Sierra, Mojave, Catalina, Big Sur, Monterey. I have found a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,60],"tags":[],"class_list":["post-1915","post","type-post","status-publish","format-standard","hentry","category-apple","category-macos"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prpYG-uT","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":26,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"predecessor-version":[{"id":2277,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/1915\/revisions\/2277"}],"wp:attachment":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}