Page 3 of 12 FirstFirst 12345 ... LastLast
  1.    12 Oct 2015 #21
    Join Date : Oct 2014
    Posts : 1,424
    win 10 Insider

    OK. I did see the 'Device in use' but later it worked flawlessly multiple times.

    Looking at Event Viewer/Applications I see a couple of warnings as below:-

    The application \Device\HarddiskVolume1\Program Files\Windows Defender\MsMpEng.exe with process id 2056 stopped the removal or ejection for the device USB\VID_1516&PID_1603\93E41C6E20914A881D1308E9.

    So, at least in my case, the holding prog was Defender.
      My ComputerSystem Spec
  2.    12 Oct 2015 #22
    Join Date : Jul 2014
    San Jose, California
    Posts : 2,064
    Ubuntu14.04x64 MintMate17x64 Win10Prox64

    Yes, it's H:\

    So, do I need to ID the drive letter when I sync?

    Thanks for the help.
    If no device letter is given: sync -e will eject everything
    Specifying explicit drive letter will eject only that drive.

    FYI, This is how it works. If a removable drive is currently accessed by some processes then Safely remove will display the message and you can look at the Process Explorer to find out which process is causing it then open task manager to kill it in order to remove the device so it depends on when you try to safely remove a device. That's why sometimes it works some other times it won't.
      My ComputerSystem Spec
  3.    13 Oct 2015 #23
    Join Date : Apr 2015
    Posts : 12,588
    W10Prox64

    Quote Originally Posted by topgundcp View Post
    If no device letter is given: sync -e will eject everything
    Specifying explicit drive letter will eject only that drive.

    FYI, This is how it works. If a removable drive is currently accessed by some processes then Safely remove will display the message and you can look at the Process Explorer to find out which process is causing it then open task manager to kill it in order to remove the device so it depends on when you try to safely remove a device. That's why sometimes it works some other times it won't.
    So, she would type: sync -e h: to eject the drive in question?
      My ComputerSystem Spec
  4.    13 Oct 2015 #24
    Join Date : Jul 2015
    Posts : 3,655
    10 Pro

    Is it showing as a removable drive? My external USB drive has all partitions showing as local drives on 10565 - that is why I can't eject it.

    Quote Originally Posted by simrick View Post
    So, she would type: sync -e h: to eject the drive in question?
    yes /e (or -e) is eject, /r (or -r) is flush and you can put the drives with or without the colon ( : ).

    So sync /e /r g h i will flush and eject drives g,h and i. For example.
      My ComputerSystem Spec
  5.    13 Oct 2015 #25
    Join Date : Oct 2014
    Posts : 17,171
    Windows 10 Insider Preview Build 16281
    Thread Starter

    Quote Originally Posted by halasz View Post
    Is it showing as a removable drive? My external USB drive has all partitions showing as local drives on 10565 - that is why I can't eject it.

    yes /e (or -e) is eject, /r (or -r) is flush and you can put the drives with or without the colon ( : ).

    So sync /e /r g h i will flush and eject drives g,h and i. For example.
    Two more questions: What's flush? Also, will it now tell me it's safe to remove the Flash Drive?
      My ComputerSystem Spec
  6.    13 Oct 2015 #26
    Join Date : Oct 2014
    Posts : 17,171
    Windows 10 Insider Preview Build 16281
    Thread Starter

    Well, guess what, Sports Fans! sync isn't recognized by Run nor is it recognized by the Command Prompt. Sigh . . .
      My ComputerSystem Spec
  7.    13 Oct 2015 #27
    Join Date : Jul 2015
    Posts : 3,655
    10 Pro

    Quote Originally Posted by Wynona View Post
    Well, guess what, Sports Fans! sync isn't recognized by Run nor is it recognized by the Command Prompt. Sigh . . .
    You need to open the command prompt to the directory where sync.exe is. For example mine is in C:\Users\hali\OneDrive\Programs\SysInternals

    Code:
    C:\Users\hali\OneDrive\Programs\SysInternals>sync
    
    Sync 2.2: Disk Flusher for Windows 9x/Me/NT/2K/XP
    Copyright (C) 1997-2004 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    Flushing: C D E F G H I J K
    
    C:\Users\hali\OneDrive\Programs\SysInternals>
    Quote Originally Posted by Wynona View Post
    Two more questions: What's flush? Also, will it now tell me it's safe to remove the Flash Drive?
    The flush option forces anything that is in the buffer onto disk. If you had write caching turned on (in device manager) then if you didn't flush the cache you would lose data that was in memory not on disk if you just disconnected it.

    For USBs write caching is off by default anyway.

    It will not tell you anything - it will just look like above. As long as you aren't using the disk you can disconnect it once it finishes (it takes a fraction of a second usually).
      My ComputerSystem Spec
  8.    13 Oct 2015 #28
    Join Date : Oct 2014
    Posts : 17,171
    Windows 10 Insider Preview Build 16281
    Thread Starter

    Quote Originally Posted by halasz View Post
    You need to open the command prompt to the directory where sync.exe is. For example mine is in C:\Users\hali\OneDrive\Programs\SysInternals

    Code:
    C:\Users\hali\OneDrive\Programs\SysInternals>sync
    
    Sync 2.2: Disk Flusher for Windows 9x/Me/NT/2K/XP
    Copyright (C) 1997-2004 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    Flushing: C D E F G H I J K
    
    C:\Users\hali\OneDrive\Programs\SysInternals>


    The flush option forces anything that is in the buffer onto disk. If you had write caching turned on (in device manager) then if you didn't flush the cache you would lose data that was in memory not on disk if you just disconnected it.

    For USBs write caching is off by default anyway.

    It will not tell you anything - it will just look like above. As long as you aren't using the disk you can disconnect it once it finishes (it takes a fraction of a second usually).
    Thanks for the information Halasz. I'm sorry, but this is more than any "normal" user of Windows should be asked to know and/or understand! What's wrong with requiring Windows 10 to just work; even something as menial as "Safe to Eject".

    I followed the path you gave, using my username and Sync still didn't work. Curious: Why did you use OneDrive in the path?
      My ComputerSystem Spec
  9.    13 Oct 2015 #29
    Join Date : Jul 2015
    Posts : 3,655
    10 Pro

    I used OneDrive as that is where I saved it - I use onedrive to save all these little programs to save downloading them again and again.

    If you have just download it - it will be probably still be in your downloads folder

    The important thing is the path in the administrator cmd prompt contains the sync.exe object. You can check by changing the path and then entering dir and see if you can see it. It should look like this:

    Code:
    Microsoft Windows [Version 10.0.10565]
    (c) 2016 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>cd c:\users\hali\downloads
    
    C:\Users\hali\Downloads>dir
     Volume in drive C is Windows-vm1
     Volume Serial Number is 3EA0-230C
    
     Directory of C:\Users\hali\Downloads
    
    13/10/2015  16:05    <DIR>          .
    13/10/2015  16:05    <DIR>          ..
    01/11/2006  14:05           150,328 sync.exe
                   1 File(s)        150,328 bytes
                   2 Dir(s)  14,006,308,864 bytes free
    
    C:\Users\hali\Downloads>
      My ComputerSystem Spec
  10.    13 Oct 2015 #30
    Join Date : Oct 2014
    Posts : 17,171
    Windows 10 Insider Preview Build 16281
    Thread Starter

    I've just provided Feedback on this issue: I might add that there are numerous feedback items on this issue and I've upvoted a couple or three of them.

    Feedback:

    Build 10565 - Safely Remove Hardware and Eject Media

    Prior to Build 10547 and now Build 10565, Safely Remove Hardware and Eject Media worked flawlessly. Is it too much to ask that this should continue to be so?

    No matter whether I just plug my Flash Drive in and then attempt to safely remove it, or if I have plugged it in and used it, then attempted to safely remove it, the result is always the same!

    *This device is currently in use. Close any programs or windows that might be using the device, and then try again.*

    I use my "USB Sticks/Flash Drives" extensively and this is not acceptable!
      My ComputerSystem Spec

 
Page 3 of 12 FirstFirst 12345 ... LastLast


Similar Threads
Thread Forum
MS access to jump drive on local account
If I am logged on a local account and add a jump drive, does Microsoft have the same 'privacy' access to that drive when I log off local account and then log onto a Microsoft account? In other words, once I log onto MS account, does Microsoft...
User Accounts and Family Safety
No DVD-R drive in device manager or This PC after upgrading to Windows
Hi, I upgraded from Windows 7 to Windows 10 a few weeks ago and since that time I don't have a DVD R drive. I still have my DVD RW, but the other drive is missing from the device manager and the computer list. What happened to it? What...
Drivers and Hardware
No Audio Output Device is installed. No Realtek Device in DevManager
i have my ASUS X555LD for almost a year now, so as far as date is concerned my laptop shouldn't be too old to suffer such illness. So it came with Win8.1 x64 of course and just recently, as soon as Windows 10 was released, i upgraded quickly. but...
Drivers and Hardware
Second SATA drive showing in BIOS but not Device Manager
I've just added a 2nd HD to my Dell system with Win 10. It shows in the BIOS and Seagate tools finds it. It does not show up in Device manager or Computer Management/Storage - Disc Management or anywhere. Not sure if this si Won 10 specific. Anyone...
Drivers and Hardware
Optical Drive shows in Device Manager but does not function.
Hi, I installed Windows 10 as an upgrade the other night and am enjoying it so far. Everything seems fine except one problem - my optical drive isn't working! I don't use it that often so only noticed when i needed to burn a cd for a friend. ...
Drivers and Hardware
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:57.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums