Windows 7 doesn't release USB stick - can't safely remove USB stick

Sometimes when I'm trying to safely remove an USB stick formatted with NTFS from any Windows 7 installation, Windows 7 refuses to release the USB device.
This occurs on host machines as well as on VM guest machines. When I'm attaching the USB stick to a virtual machine (VMware Workstation) and when this effect occurs in there I can see from Workstation's device manager that the USB stick is getting accessed
once every (approx.) five seconds. The USB stick shortly flashes up accordingly then, so there is indeed some access to the USB stick.
Now, this doesn't happen all the time. This effect only occurs, say once or twice a week.
Waiting for 5 to 10 Minutes, the low-frequent regular short flashing finally stops and I can safely remove my USB stick then.
Well, what I want to know: Which Windows service is sometimes accessing my USB stick in this manner?
This happens on several machines, some of them having almost no software installed.
When exploring the file handles with SysInternals Process Explorer, there's only a Windows Explorer handle attached to the USB device.
I suspect it might either be Windows Defender (having Search Removable Devices enabled), Windows Search or Windows Defragment. But this is only a guess.
Can anyone please enlighten me on which service is capturing my USB device for such a long time, keeping me from safely removing the USB device?
Microsoft Marketing should care for customer feedback on their consumer products, e.g.
Windows & Office.
Have had Windows 8 …  went back to Windows 7.

Hi,
We can use USB parser in WDK8 or 8.1.
To install USB ETW parsers:
1.Determine whether you have 32-bit Windows or 64-bit Windows: ◦Open the Start Menu.
◦Right click Computer and select Properties.
◦Look at the System type field. (Note: 32-bit corresponds to “x86” for the downloads).
2.Install Netmon:
◦Go to the bottom of the Quick details on the Netmon 3.4 download page and press the Download button for your system type.
◦Download and run the exe. When it asks about setup type, Typical is fine.
3.Download and install the Windows Driver Kit for Windows 8.
4.Allow execution of PowerShell scripts:
◦Open the Start screen, type "powershell", right click on the Windows PowerShell result, and select Run as administrator.
◦Type or paste the following command:
Set-ExecutionPolicy RemoteSigned -Force
4.Close the PowerShell window
5.Open a PowerShell window (you don't need to Run as administrator) and run the following commands. Adjust the path if you installed the kit to a different location:
cd "C:\Program Files (x86)\Windows Kits\8.0\Tools\x86\Network Monitor Parsers\usb"
..\NplAutoProfile.ps1
Now you're set up! You can now launch Netmon and open an .etl trace by selecting File -> Open -> Capture.
You can also use OneDrive to upload the trace file in forum so that we can help you analyze your problem.
If you have any feedback on our support, please click
here
Alex Zhao
TechNet Community Support

Similar Messages

  • Not able to safely remove USB drive while Labview is open

    To all the Gurus,
    I am using LabView 8.5 and have made an Application which requires user to download data from USB drive/stick. So when VI runs user asked to select a .TXT file from USB to download. Here whole operation completes as desired. ONLY PROBLEM I am facing is when download completes User tries to "safely remove USB drive" where windows gives a warning saying USB is in use and cannot be removed.
    In this particular VI I am using file dialog function to browse through USB and let user select a file. I even tried using open file function but it is giving same error.
    The only way I can safely remove USB after downloading is by exiting Labview which is not feasible for my application.   
    is it a Bug in 8.5 or is there any different way to do it?
    Any type of help will be appreciated.
    Regards
    Solved!
    Go to Solution.

    You can call the SetCurrentDirectory Windows API function (see attachment), but if you follow the link you'll see it warns about using it in multi-threaded apps. I have no experience with it, so I can't comment.
    Try to take over the world!
    Attachments:
    Set Current Directory.vi ‏11 KB

  • User has a "startup on login" pref that opens a file named "apple-scc-20111227-074257".  Can't find any reference to this....any idea on what this startup file does or if it can be safely removed as a login-startup item?  thanks.

    Friend has a laptop running OSX 10.6.8, with latest software update 22Jun2012.  One of the User's items to startup on Login is a file titled "
    apple-scc-20111227-074257"
    No idea what this does or where it is located.....any ideas on what it starts up and if it can be safely removed from startup items?  Thanks for any info.

    If you mouse over the item in your Login Items you should see a tool tip indicating where it is.  Alternatively right (control) click on it and a contextual menu item, Reveal in Finder will be shown which you can select to open the folder containing the item.
    By the way the 20111227 portion of that name looks like a date -- 12/27/2011.
    I'm  sure you can delete it.  Nothing major is going to happen.  But you really should find out where it is.
    If Reveal in Finder doesn't show anything it may be because the file is invisible (which might be considered somewhat suspicious).  In that case use the finder find command (command-f) and look for kind filename plus invisible.  Or just use Find any File to find it.

  • Open in new tab or window doesn't work. How can I fix this?

    I just upgraded to 36.01. When I right click on a link the menu of options is long and confusing. When I select open in a new tab or new window, it does nothing. What can I do to reduce the options list and how to fix the open new tab or window option?

    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Try a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • How can i "Safely Remove" My Passport Ultra from my PC?

    I can't EVER "Safely Remove" my My Passport Ultra drive from my PC!
    The computer's an HP notebook (if that matters), and it's running Vista (64bit).
    I can't believe that there's NO way to eject / unmount / "Safely Remove" the drive from my computer when i need to disconnect it from the port!
    But i can't find any way to do it, other than shutting down the system entirely. Obviously, shutting down every time i want to unplug the drive is so RIDICULOUSLY impractical, i can't even consider it as an option.
    The "Knowledge Base" pages don't seem particularly knowledgeable on the subject.
    The only suggestions offereed there are to close any applications that are acccessing thedrive, including the Windows indexer and any virus/spyware programs that might be running.
    Obviously I've already done that. I've set the drive to never be idexed or scanned/monitored for viruses and spyware.
    And yet still, every time i try to eject the drive, it's the same message:
    "Problem Ejecting USB Mass Storage Device"
    "Windows can't stop your 'Generic volume' device because it is in use. Close any programs or windows that might be using the device, and then try again later."
    Sometimes, even after i manually end the WD software via the Windows services menu, they just start back up again a few seconds later (even though i set them in the services menu to only be launched manually).
    But the rest of the time, even when none of the WD software is running, Windows still tells me the drive is in use and won't let me eject it.
    There's GOTTA be a way around this.
    I've never had this problem with any OTHER external drive.
    I'm still waiting for a reply to the Support Case i submited yesterday, but i'm getting impatient.
    Does anybody else know any solutions to this problem? I can't be the only one stumped by it...

    Update:
    I think I finally solved the problem (no thanks to WD...).
    I had already excluded the My Passport Drive from being indexed by the Windows Indexer.
    And from being scanned or protected by antivirus software.
    And from being monitored by Windows Defender.
    What i didn't realize is that the WD Smartware software and the other WD applications were running automatically at startup, whether or not the drive was connected.
    And so even if i closed them manually, they relaunched automatically in the background again.
    Finally, i used a third-party program to remove all the WD applications and services from the startup and autorun lists on my computer.
    This seems to be working so far.
    I've been able to connect the drive, manually run the WD Smartware application, perform a backup, and close WD Smartware again. And then Windows allows me to "Safely Remove" (eject) the drive without any problems. I've gotta say that it makes no sense for WD's software to be ser up to run automatically, but that's the way it was set up by default when i installed it. Maybe it would make sense if WD expected its users to leave it connected and running all the time, but this is a PORTABLE drive. Leave it connected and constantly running in the background would defeat the purpose of being "portable" entirely, wouldn't it?

  • No Icon to remove safely remove usb device when on...

    i've just discovered that whenever i connect my nokia phone to pc via 'pc suite' mode, when i'm true with whatever i'm doing, if i go down the notification tray, i wont see any icon for safely removing my device. Is this an abnormality? Thanks
    wizzy

    In very critical activities Suite will inform "Do not disconnect your phone", but basically otherwise you can disconnect at any time. Basically it it not recommended to disconnect your phone if there is a progress bar indicating that some activity is not finished, but even in those cases no harm happens if you disconnect your phone. 

  • MX Revolution USB Receiver can't be removed without Kernel panic

    On my MBP 17", I can not remove the Logitech's MX Revolution USB Receiver without having a Kernel Panic ! I am using the last LCC 2.1 under OS X 10.4.7. I fixed authorizations after the installation. I did test with all three MBP USB ports. I tried without the mouse on and off. It's always the same thing... Grey... Boom... Shutdown.
    I tried the same thing with a MBP 15" running LCC 2.1 under OS X 10.4.7, the Kernel Panic did not show up ! ? !
    Any idea ?
    Cyberlolo

    As an update, I'd like to report a similar behavior on my PowerBook G4 running 10.3.9, with the difference that this does not occur every time. I've had two kernel panics and the only thing in common is that I had turned the mouse off before pulling the USB receiver. The applications mix was different although some applications might have been the same on both occasions. LCC 2.1.1.
    J. Courcoul

  • HT4106 How much current the lightning/USB adapter can supply to an USB device

    I bought a caméra terminated with a USB cable.
    I want to connect that camera to my ipad mini using lightning to USB adapter
    sold by Apple.
    What is the maximum current supplied by the ipad mini through this adapter.?
    Tks
    Michel

    The lightning to USB camera adapter cable doesn't provide output power. It only transfers the pic files from the camera. The camera's battery provides the power to operate the camera during this operation.
    The lightning to USB cable is used to charge the iPad and the charger is rated at 10 or 12Watts of 5V power. So this cable carries 2+ Amps.
    Why are you concerned?
     Cheers, Tom

  • What can I safely remove?

    Yogo 13" - 4gb 128 ss drive version.
    I don't feel comfortable in my knowledge to do a complete wipe and renistall... So what can I do to get some of this crap off here... The apps, the extra bloatware...??
    Also the mcafee - can't I just use windows defender to do the same thing and get mcafee off?

    hi Jmgilliam,
    Check this article as it contains information on how to free up some space on your Yoga 13. You can also uninstall the softwares that you don't need by going to Control Panel > Programs (check this pdf data sheet for the preloaded softwares). As for the mcafee, you can remove it also via the Control Panel or download and run Mcafee Removal Tool.
    In addition, check this thread on how to free up more space on your Lenovo Yoga 13.
    Note:
    Please create a recovery drive before modifying anything on the system.
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Can I safely remove items in /Library/Receipts/ ?

    What are the drawbacks and ramifications of removing packages in the /Library/receipts/ folder?
    Thank you in advance.
    Jeff Cameron

    Hi Jeff:
    The receipts in your Library tells Software Update what software is installed on your computer. When Software Update is launched it scans the receipts and determines whether you need to update. I believe this is also true for some third party apps. Since the receipt files take up only a very little disk space it is no real advantage to remove them, and may prove a disadvantage. For software that you have deleted from your computer, you may safely delete those if there are any. For more information see Receipts can affect what appears in Software Update (Mac OS X)
    cornelius

  • What can I safely remove from main Library

    Hi there,
    My MacBook Pro has a SSD drive which is almost full.
    I use it for music (Logic Pro) images (Aperture) and movies (FCP)
    I want to know what items I can safely delete from the main Libraries to free up disc space
    Thanks
    Sam

    I'm going to say "Nothing".
    OS X standard install in total is around 10GB. In addition to that, all the Logic samples and loops, which I guess you want to keep, are going to be a good few gigs.
    After that, it's your documents.

  • In attempting to install recommended software updates I get a message saying my startup disc is full.  I have an Intel-based desktop with 1GB memory.  What can I safely remove?

    In attempting to install recommended software updates I get a message that my startup disc is full.  I have an iMac (intel-based) with 1GB memory.  I suspect my iTunes library is using up much of the space (I have no movies installed and have already copied most of my photos to a DVD to free up space).  If I follow the instructions to move my iTunes library to an external HD (can I use a flash drive?) will I have enough working memory to plug it back in for use when I want to access the library?

    Welcome to Apple Discussions!
    Moving libraries off the boot disk while doable is not very viable.  It creates many new problems in backing up your data, as now you have more than one source to backup.    See my backup FAQ*:
    http://www.macmaps.com/backup.html
    My suggestion is to get at least two copies of all your essential data in one manner or another, and get a larger boot hard drive to replace what you currently use to be able to consolidate your libraries.  
    As for cleaning space, see my FAQ*:
    http://www.macmaps.com/diskfull.html

  • Which archivelog files can be safely removed from OS

    Hi,
    I didn't used "delete input" option when backup the archivelog files. So all archivelog files still remain on the file system. How can I identily which archivelog files I can delete using the command
    "RMAN>change archivelog '/u04/arch/arch_xxx.arc' delete; "
    where xxx is the seq I need to make sure it's safe to be removed.
    I need to make sure "restore archivelog all validate" command will still report successful afterward. The total size of archivelog files is over 20GB and I'm running out of space now. Thanks.

    The only way to delete your archlog is do not do a cross check archivelog all. Bec that will invalidate your archlogs. We have a rentetion of 28 days and we dlete archlogs after everybackup using delete input. While doing cross check we use "cross check completed before 'xxx'" and then it still keeps active in repo.
    Regards,
    http://askyogesh.com

  • I am getting a message that my startup disk is full, what files can be safely removed to open up space or can I use an external HD for my startup disk?

    Converted  a FCP X movie into a quicktime .mov file and tried to burn to DVD, message came up that I needed 26.8 GB to burn this movie. I am not sure how I used so much memory. I was not creating Blu-ray movie just a standard DVD. Anyone have any suggestions for what I did to creat such a large file?

    It needs free unfragmented space on your boot drive.
    So just what and how large and how full is it?
    And it isn't 'memory' (ie, RAM), storage is never referred to as memory.
    Your system is likely running something later than the 10.6.6 shown.
    Clone your system to another hard drive adn then try, or clean it up after backing up with CCC
    While at it, move all your home data and media folders off the boot drive (leave a mini ~/Library only)
    System
    Media and data folders and libraries
    scratch
    projects
    backup partition(s)
    etc
    more efficient and runs better.
    never let the system drive get to less than 30% free, even more.

  • Safely Remove USB Drives: Gnome

    I am using Arch-64bit-Gnome3, Shell and other gnome defaults.
    While trying to remove my External Hard Disk I noticed that there is NO "Safely Remove" in right click menu. Since I also use and have used other distros with gnome I know that this is feature has always been there. However, in Arch its not there by default. I don't know if this is the 'Arch Way'.
    I have 'Disk-Utility' intalled so I was wondering if there is any package that I need to install or any configuration to be set to get this 'Safely Remove' feature in my right click context menu. Without this and using only unmount the External Hard Disk is not completely disabled or deactivated to be safely unpluged.
    Please guide me to a proper Solution.
    Thanks...
    Last edited by fantab (2012-06-23 04:20:47)

    There are many threads regarding this. search the forums.
    try this
    https://bbs.archlinux.org/viewtopic.php?id=137449
    Last edited by hadrons123 (2012-06-23 12:26:14)

Maybe you are looking for

  • 571 Server IP is blocked HELP!

    Good Afternoon, We recently have updated our IP address which was provided to us through SoftLayer and it appears as though in 2013 the IP had been listed as a spam account; which was two years before we were using the IP. We have gone through the ap

  • RE-INSTALLING MAIL IN SNOW LEOPARD

    I want to re-install MAIL and Address Book in OS X Snow Leopard. I have tried following the instructions on Apple Support (re-start and hold down the Control and R keys) - but nothing happens, my macbook just re-starts as normal. Any advice? I am pre

  • How to determine frequency band for one's iMac?

    I recently bought a TC and (think I) want to set up two networks. The one network I haver set up presently has an older AEBS (b/g) connected to my modem and an older AX (to extend the network and play iTunes on my sound system). This network connects

  • Different flex components based on AdvancedDataGrid column value

    I have the following code snippet, here I am able to change the label of the button based on the Data Grid's Column value. I am unable to think of a way where I can add two completely different buttons, based on Data Grid's value. Any help will be gr

  • Problems with timeilne template

    Hello, I am trying to use a flash template to create a timeline, However, I am a new user and having a few issues. The Link to the Fla i am working with is below. For some reason, when you click on the first button the first time, it references "time