- Forum
- Windows 10 Forums
tfwul
Posts : 971
Windows 10 x64
How to display really all activities on a specific drive?
This thread involves in fact 2 matters regarding activities on a specific drive, in this case an external USB drive.1. After "File>Exiting"all applications, I'd like to dismount/remove/eject these drives. R-click taskbar button and eject.
This regularly doesn't work, error that the drive is in use.
When checkingResource Monitor I see a number of "SearchProtocol.exe"-instances. Not sure what this is.
FWIW I have unchecked the option "Allow files on this drive to have contents indexed in addition to file properties" on all drives.
Q: What is SearchProtocol.exe doing? Can I disable it, or is it a 'must'?
Problem is, I need to wait for minutes before I can 'remove' the drive.2. As for Resource Monitor, when selecting the [Disk]-tab it will show Disk Activities on the drives.
OTOH, selecting the [CPU] tab and entering a drive in the Associated Handles box, it may (in my case) show the file manager that I use, being Opus.exe, but Opus.exe is not listed under Disk Activities.
Example: Opus.exe under 'Associated Handles' show it is active on a some drive, but Opus.exe is not listed under [Disk Activities].Q: How to -all- activities to be displayed? (if at all possible)
Thanks.
My Computer
Quote
dalchina
Posts : 46,349
Win 10 Pro (22H2) (2nd PC is 22H2)
Hi, you can disable indexing of external drives. You should be able to deselect the drive letter when shown here:and you can disable indexing of external drives (Home & Pro) using this:
Disable Adding Removable Drives to Index and Libraries in Windows 10As for safely removing them - I find
USB Safely Remove
very useful - when there are some 'system' processes still active but insignificant, it presents a dialogue listing those and a 'Forcibly Remove' option.There are the more general programs for 'unlocking' files and disks locked by certain processes too.
Also see:
Create Safely Remove Hardware shortcut in Windows 10and of course there's the 'policy' for quick removal:
Enable or Disable Disk Write Caching in Windows 10Searchprotocol.exe is a Windows system file and should not be hacked/removed... there should be no need if you disable indexing of external drives.What is SearchProtocol.exe doing? Can I disable it, or is it a 'must'?
Is SearchProtocolHost.exe safe? How to remove a SearchProtocolHost error?- you can use Procmon (free from MS) and apply a suitable filter. Not very convenient though.How can you display really all activities on a specific drive?
- you can order the list of processes given by Resource Monitor
Last edited by dalchina; 12 Jan 2023 at 06:14.
My Computers
Quote
RickC
Posts : 2,284
Windows 10 Pro 22H2
I find the easiest and quickest method is to use the free Lockhunter utility.Just
right-click on the drive you're interested in and choose What's locking this folder from the context menu.Lockhunter will open a window showing any processes involved in file activity on the drive, together with an icon in the toolbar to close the locking process(es).
Hope this helps...
My Computers
Quote
Paul Black
Posts : 18,031
Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
Hello @tfwul,A Portable
LockHunter Portable from the download section.LockHunter
version is available [ I use it ] >My Computer
Quote
tfwul
Posts : 971
Windows 10 x64
Thread Starter
@dalchina @RickC
MANY thanks indeed! Truly appreciated. Sorry for responding with some delay.I ENabled the "Do not allow locations on removable drives to be added to libraries"
then went on with the "Create Safely Remove Hardware shortcut in Windows 10" thing
and lastly downloaded the portable lockhunter tool as suggested by Rick.The "Safely Remove Hardware"-shortcut, well, it did not remove anything.
Tried a number of times.
Each time : "The WD blah-blah USB Device' device is not removable
and cannot be ejected or unplugged."Then I tried the usual r-click remove button on the taskbar, that went fine.
Note: after applying the "Do not allow locations on removable..." and before removing them I noticed that Searchprotocol.exe kept on running on the external drives, so waited until it disappeared (resource monitor). By then only I could safely remove the drives.
Likely I need to reboot to make Local Group Policy Editor change applicable(?)I assume Windows is now rebuilding the index(?), because after removal of the external drives the HDD Led blinking non stop.
My Computer
Quote
dalchina
Posts : 46,349
Win 10 Pro (22H2) (2nd PC is 22H2)
When indexed locations are removed, that does not normally result in the index being rebuilt- the indexed items are simply removed.I assume Windows is now rebuilding the index(?), because after removal of the external drives the HDD Led blinking non stop.
You can check the state of indexing by looking at Indexing Options.
There you can also see I've deselected an external drive.
As above, you can inspect the processes using your drive.
My Computers
Quote
Berton
Posts : 14,880
Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
My Computers
Quote
tfwul
Posts : 971
Windows 10 x64
Thread Starter
My Computer
Quote
tfwul
Posts : 971
Windows 10 x64
Thread Starter
Frankly, I am not sure about that.Berton said:
Just curious, if Eject or Safely remove doesn't work and not wanting to reboot, would it work to use Task Manager and Restart of File Explorer?
In my case it mostly involves 2 applications that keep on running some process one way or the other, even after a File > Exit.
This Lockhunter-tool nicely shows that,The boring thing is that it takes a while before they are actually gone and the external drive can be removed.
My Computer
Quote
Subscribe to Thread
Related Discussions
Any portable Windows tool that monitors activities on a specific HDD?
in Drivers and Hardware
Seeking advice on a (preferably) portable Windows tool that shows all activities and / or processes that are accessing a specific HDD. When launching WIndows' Resource Monitor (tab 'Disk') it will show activities on -all- drives. AFAIK there is no...
[Q] Desktop shortcut to connect to a SPECIFIC wireless display
in Customization
Hey guys! Windows 10 1909 here. Is there anything I can do to make a shortcut or a batch file that allows me to stream my Surface Go screen on my Samsung TV automatically without the need to click on the tv tab that opens on the right? I mean,...
Specific USB port doesn't recognize specific USB flash drive
in Drivers and Hardware
Windows 10 custom built system - I have two USB flash drives - a Samsung USB 2.0 and a Sandisk USB 3.0 I have 4 USB ports at the top of the computer tower (Two are USB 3.0 and Two are USB 2.0 ) The Samsung drive is recognized on USB #1,2,3,...
setting default icon to display for specific file types with registry
in General Support
Something in Windows 10 or another program has created an issue that I cannot find any way to fix. I tried the normal things for setting the default program. Both by using properties on the files as well as using the Windows Default App settings...
Share a specific folder into cloud such as one drive or google drive?
in Network and Sharing
I have an old game that keeps it's saves in a specific location that cannot be changed (mydocuments\gamename\saves in case that matters). I'm playing with 2 different PC's both carrying win10-64bit and I'm getting tired of copying the new save to a...