Files on Demand randomly downloading and filling hard drives

%3CLINGO-SUB%20id%3D%22lingo-sub-251382%22%20slang%3D%22en-US%22%3EFiles%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-251382%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20an%20Office%20365%20for%20Education%20tenant%20and%20have%20been%20migrating%20users%20from%20our%20file%20servers%20to%20OneDrive%20with%20Files%20On%20Demand.%20Recently%20we%20have%20been%20finding%20files%20and%20folders%20being%20downloaded%20even%20though%20our%20OneDrive%20default%20is%20set%20to%20%22Save%20space%20and%20download%20files%20as%20you%20use%20them%22%20via%20group%20policy.%20In%20a%20few%20instances%20we%20have%20had%20users%20come%20in%20to%20work%20to%20find%20%22out%20of%20disk%20space%22%20messages%20when%20they%20log%20in.%20If%20we%20right-click%20a%20folder%20and%20select%20%22Free%20up%20space%22%20the%20files%20return%20to%20placeholders%20temporarily%2C%20then%20start%20downloading%20again%20with%20SearchProtocolHost.exe%20listed%20under%20the%20file%20being%20downloaded%20in%20the%20OneDrive%20status%20box%20(see%20screen%20clip%20below).%20This%20is%20happening%20both%20with%20folders%2Ffiles%20in%20users'%20individual%20storage%20and%20in%20shared%20storage%20in%20Office%20365%20groups.%20Some%20of%20our%20groups%20have%20very%20large%20amounts%20of%20data%20that%20exceed%20the%20capacity%20of%20their%20local%20hard%20drives%2C%20which%20is%20why%20we%20waited%20for%20Files%20on%20Demand%20before%20we%20started%20this%20migration.%20We%20can't%20continue%20until%20this%20is%20solved.%20We%20are%20running%20Windows%2010%20Version%201803%20(Build%2010.0.17134.228)%20and%20OneDrive%2018.151.0729.0006.%20We%20have%20discovered%20that%20disabling%20and%20stopping%20the%20Windows%20Search%20service%20stops%20the%20download%20problem%2C%20but%20obviously%20this%20is%20not%20an%20acceptable%20solution.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20searched%20in%20vain%20for%20another%20example%20of%20the%20problem.%20I'm%20now%20on%20my%20third%20round%20of%20tech%20support%20calls%20with%20Microsoft%20and%20have%20yet%20to%20find%20anyone%20who%20seems%20to%20be%20able%20to%20connect%20with%20the%20right%20group%20to%20resolve%20this%20issue.%20I'm%20not%20new%20at%20this%20and%20I'm%20stumped.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20388px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F49508i58FA8B4E367F6980%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SearchProtocolHost-exe.jpg%22%20title%3D%22SearchProtocolHost-exe.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-251382%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-279066%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-279066%22%20slang%3D%22en-US%22%3ERichard%2C%20replay%20was%20more%20aimed%20at%20Steve%20%3B-).%20But%2C%20the%20last%20one%20with%20clearing%20cache%20might%20be%20more%20for%20you%3F%20Make%20sure%20everything%20in%20there%20is%20clean%20and%20see%20if%20it%20change%20the%20experience.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-278741%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-278741%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20only%20Windows%20Defender%20for%20antivirus.%20The%20application%20that%20is%20downloading%20the%20files%20in%20our%20case%20is%20SearchProtocolHost.exe%2C%20which%20is%20the%20Windows%20Search%20service.%20So%20for%20I%20have%20not%20found%20a%20way%20to%20tell%20Windows%20Search%20not%20to%20try%20to%20index%20the%20files%20in%20OneDrive.%20The%20documentation%20actually%20specifically%20states%20that%20for%20FOD%20files%20only%20the%20filename%20will%20be%20indexed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tickets%20open%20with%20both%20the%20OneDrive%20and%20Windows%20teams%20and%20have%20given%20them%20extensive%20log%20files%20and%20screen%20captures%20and%20they%20haven't%20been%20able%20to%20come%20up%20with%20an%20answer.%20I%20am%20waiting%20to%20try%20out%20Windows%201809%20to%20see%20if%20the%20new%20features%20including%20Storage%20Sense%20have%20any%20impact%20on%20the%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20odd%20is%20this%20seems%20to%20happen%20to%20specific%20users%2C%20not%20computers.%20I%20have%20five%20machines%20that%20I%20use%20and%20once%20it%20started%20happening%20it%20started%20happening%20on%20all%20of%20them.%20Other%20users%20that%20have%20had%20it%20happen%20have%20the%20same%20experience.%20But%20we%20have%20dozens%20of%20users%20with%20identical%20hardware%20and%20software%20configurations%20for%20whom%20it%20is%20not%20happening.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-278715%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-278715%22%20slang%3D%22en-US%22%3EOne%20other%20tip%20if%20it%E2%80%99s%20not%20AV%20related%2C%20clear%20upload%20cache.%20For%20Office%20you%20might%20need%20to%20manually%20delete%20the%20folder%20with%20the%20cache.%20Onedrive%20try%20tips%208%20and%20lastly%209%20in%20this%20post%20%3CA%20href%3D%22https%3A%2F%2Fwww.windowscentral.com%2F9-tips-help-you-fix-onedrive-sync-problems-windows-10%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.windowscentral.com%2F9-tips-help-you-fix-onedrive-sync-problems-windows-10%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-278713%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-278713%22%20slang%3D%22en-US%22%3E%3CP%3EQuite%20sure%20that%20the%20antivirus%20are%20not%20%C2%ABfiles%20on%20demand%C2%BB%20compatible.%20Quick%20out%20of%20my%20head%20I%20see%204%20ways%20of%20fixing%20it.%20Number%20one%20and%20the%20best%2C%20use%20built%20in%20windows%20defender%20instead.%20Windows%20defender%20are%20now%20on%20of%20the%20best%20AV%2C%20had%20a%20bad%20rep%20for%20a%20while%20but%20totaly%20trustworthy%20know%20and%20free.%20Number%202%2C%20get%20a%20newer%20version%20of%20AV%20or%20another%20vendor.%20Number%203%20exclude%20the%20path%20to%20the%20onedriver%20folders%2C%20this%20might%20be%20risky%20since%20the%20files%20will%20not%20be%20scanned%20regularary%2C%20but%20most%20AV%20would%20scan%20them%20while%20they%20are%20being%20downloaded%20and%20for%20sure%20when%20been%20runned.%20Number%204%2C%20select%20only%20necessary%20folders%20to%20be%20synced%20and%20keep%20everything%20downloaded%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-278668%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-278668%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20three%20customers%20with%20the%20same%20issue%2C%20and%20myself.%20One%20I%20found%20was%20a%20Dell%20optimization%20tool%20that%20had%20Antivirus%20built%20into%20it.%20Each%20time%20the%20antivirus%20touched%20the%20file%20on%20demand%20it%20would%20download%20it.%20I%20have%20a%20couple%20open%20tickets%20with%20MS%2C%20but%20nothing%20resolved%20yet.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-253444%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253444%22%20slang%3D%22en-US%22%3E%3CP%3EOlav%20-%20thanks%20for%20the%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20not%20using%20any%20third-party%20indexing%20tools%20and%20the%20files%20and%20their%20metadata%20are%20not%20being%20modified.%20The%20files%20are%20clearly%20being%20downloaded%20by%20SearchProtocolHost.exe%2C%20which%20is%20the%20Windows%20Search%20service%2C%20even%20though%20online-only%20files%20are%20not%20supposed%20to%20be%20indexed.%20As%20far%20as%20I%20can%20tell%20we%20have%20no%20group%20policy%20that%20is%20affecting%20this%20and%20we%20have%20non-domain-joined%20machines%20that%20are%20doing%20it%20as%20well%20which%20pretty%20much%20eliminates%20that%20possibility.%20We%20do%20have%20all%20of%20the%20machines%20managed%20through%20SCCM%2C%20but%20we%20aren't%20enforcing%20anything%20non-standard%20in%20terms%20of%20indexing%20or%20anything%20like%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20now%20finding%20this%20happening%20on%20Windows%201709%20machines%2C%20too%2C%20so%20it's%20not%20just%20a%20recent%20development%20with%20rolling%20out%201803.%20I'm%20more%20suspicious%20that%20it's%20something%20in%20the%20latest%20binaries%20of%20OneDrive.%20With%20all%20of%20this%20experimentation%20I%20have%20discovered%20that%20Windows%20Search%20is%20tightly%20coupled%20to%20the%20Files%20on%20Demand%20function.%20If%20you%20disable%20Windows%20Search%2C%20the%20%22Free%20up%20space%22%20option%20will%20be%20greyed%20out%20in%20the%20menu%20unless%20you%20are%20clicking%20on%20a%20file%20or%20folder%20that%20has%20been%20made%20available%20locally.%20If%20Search%20is%20running%2C%20you%20can%20select%20%22Free%20up%20space%22%20from%20anywhere%20in%20the%20hierarchy%20and%20OneDrive%2FWindows%20will%20remove%20locally-stored%20copies%20from%20everywhere%20below%20that%20point.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20pretty%20frustrated%20as%20our%20whole%20Office%20365%20rollout%20strategy%20is%20based%20around%20this%20feature.%20I%20have%20tech%20support%20incidents%20in%20progress%20with%20both%20the%20OneDrive%20and%20Windows%20teams%20(who%20don't%20talk%20to%20each%20other!)%20and%20can't%20seem%20to%20get%20this%20escalated%20to%20someone%20who%20understands%20how%20this%20technology%20works%20better%20that%20I%20do!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-253144%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-253144%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20third%20party%20indexing%20tools%20or%20add-ons%20being%20used%20so%20the%20files%20might%20get%20modified%3F.%3C%2FP%3E%0A%3CP%3EHave%20the%26nbsp%3Bmodified%20(or%20Accessed)%20time%20been%20updated%20to%20the%20time%20when%20it%20got%20downloaded%3F%3C%2FP%3E%0A%3CP%3EAnd%20you%20are%20sure%20that%20there%20is%20no%20Group%20policy%20that%20can%20affect%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-252742%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-252742%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Vasil%20and%20thanks%20for%20responding.%3C%2FP%3E%3CP%3ENo%2C%20it%20happens%20seemingly%20randomly%20and%20with%20all%20types%20of%20files.%20Here%20are%20two%20more%20examples%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20243px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F49800iC2ABA2736BCBC5EC%2Fimage-dimensions%2F243x427%3Fv%3D1.0%22%20width%3D%22243%22%20height%3D%22427%22%20alt%3D%22onedrive-asset.jpg%22%20title%3D%22onedrive-asset.jpg%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20242px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F49799i89A740584845D690%2Fimage-dimensions%2F242x426%3Fv%3D1.0%22%20width%3D%22242%22%20height%3D%22426%22%20alt%3D%22onedrive-zip.jpg%22%20title%3D%22onedrive-zip.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20find%20the%20article%20you%20mention%2C%20but%20there%20have%20been%20no%20notifications%20which%20could%20be%20clicked%20to%20initiate%20the%20block%20until%20I%20finally%20did%20see%20one%20yesterday.%20Unfortunately%20I%20was%20not%20fast%20enough%20to%20click%20it%20and%20it%20disappeared%20and%20did%20not%20remain%20in%20the%20notification%20area.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20blocking%20SearchProtocolHost.exe%20from%20downloading%20files%20automatically%20without%20disabling%20the%20Windows%20Search%20service%20may%20be%20the%20key%20(at%20least%20temporarily)%20to%20an%20acceptable%20workaround%2C%20but%20I%20can't%20find%20a%20way%20to%20do%20that.%20This%20article%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.winhelponline.com%2Fblog%2Fonedrive-demand-block-automatic-file-downloads%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.winhelponline.com%2Fblog%2Fonedrive-demand-block-automatic-file-downloads%2F%3C%2FA%3E%3C%2FP%3E%3CP%3Edetails%20the%20registry%20key%20where%20blocked%20programs%20are%20listed%3A%3C%2FP%3E%3CP%3EHKEY_CURRENT_USER%5CSoftware%5CPolicies%5CMicrosoft%5CCloudFiles%5CBlockedApps%3C%2FP%3E%3CP%3Ebut%20our%20Windows%2010%201803%20installation%20doesn't%20even%20have%20the%20CloudFiles%20key%2C%20much%20less%20the%20BlockedApps%20key%20or%20any%20entries%20in%20it.%20If%20I%20could%20figure%20out%20how%20to%20define%20a%20value%20for%20SearchProtocolHost.exe%20(other%20than%20by%20clicking%20a%20notification%20that%20I%20have%20only%20seen%20pop%20up%20once%20for%20about%20a%20second)%20I%20think%20I%20might%20be%20on%20track%20to%20a%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-251536%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-251536%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20this%20happen%20for%20only%20PDF%20files%3F%20I've%20never%20had%20issues%20with%20the%20search%20index%20forcing%20a%20download%20of%20%22on%20demand%22%20files%2C%20however%20I've%20seen%20other%20software%20causing%20issues%20(including%20some%20of%20the%20built-in%20Windows%20apps).%20You%20have%20an%20option%20to%20%22block%22%20such%20programs%20as%20detailed%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4042378%2Fwindows-10-automatic-file-download-notifications%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4042378%2Fwindows-10-automatic-file-download-notifications%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1328414%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1328414%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F190478%22%20target%3D%22_blank%22%3E%40Richard%20Duggan%3C%2FA%3EDid%20you%20ever%20solve%20this%20issue%20or%20get%20a%20response%20from%20microsoft%3F%20I'm%20seeing%20the%20same%20issue%20with%20searchprotocolhost.exe%20downloading%20files.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1328488%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1328488%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F632442%22%20target%3D%22_blank%22%3E%40_kurt_%3C%2FA%3EI've%20paused%20search%20indexing%20for%20the%20time%20being.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1328598%22%20slang%3D%22en-US%22%3ERe%3A%20Files%20on%20Demand%20randomly%20downloading%20and%20filling%20hard%20drives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1328598%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F632442%22%20target%3D%22_blank%22%3E%40_kurt_%3C%2FA%3E%26nbsp%3BThe%20problem%20went%20away%20when%20we%20migrated%20to%20a%20newer%20version%20of%20Win%2010.%20I%20believe%20the%20problem%20emerged%20in%20the%20switch%20from%201709%20to%201803%20and%20went%20away%20with%201809.%20We're%20now%20running%201909%20in%20most%20places%20and%20not%20seeing%20the%20problem.%20The%20full%20Storage%20Sense%20integration%20that%20comes%20with%20these%20newer%20versions%20is%20also%20very%20valuable%20and%20important%20for%20other%20reasons%2C%20but%20I%20think%20the%20disconnect%20between%20the%20hooks%20for%20it%20in%20the%20client%20and%20the%20OS%20were%20the%20source%20of%20the%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

We have an Office 365 for Education tenant and have been migrating users from our file servers to OneDrive with Files On Demand. Recently we have been finding files and folders being downloaded even though our OneDrive default is set to "Save space and download files as you use them" via group policy. In a few instances we have had users come in to work to find "out of disk space" messages when they log in. If we right-click a folder and select "Free up space" the files return to placeholders temporarily, then start downloading again with SearchProtocolHost.exe listed under the file being downloaded in the OneDrive status box (see screen clip below). This is happening both with folders/files in users' individual storage and in shared storage in Office 365 groups. Some of our groups have very large amounts of data that exceed the capacity of their local hard drives, which is why we waited for Files on Demand before we started this migration. We can't continue until this is solved. We are running Windows 10 Version 1803 (Build 10.0.17134.228) and OneDrive 18.151.0729.0006. We have discovered that disabling and stopping the Windows Search service stops the download problem, but obviously this is not an acceptable solution.

 

I have searched in vain for another example of the problem. I'm now on my third round of tech support calls with Microsoft and have yet to find anyone who seems to be able to connect with the right group to resolve this issue. I'm not new at this and I'm stumped.

 

SearchProtocolHost-exe.jpg

12 Replies

Does this happen for only PDF files? I've never had issues with the search index forcing a download of "on demand" files, however I've seen other software causing issues (including some of the built-in Windows apps). You have an option to "block" such programs as detailed here: https://support.microsoft.com/en-us/help/4042378/windows-10-automatic-file-download-notifications

Hi Vasil and thanks for responding.

No, it happens seemingly randomly and with all types of files. Here are two more examples:

 

onedrive-asset.jpgonedrive-zip.jpg

 

I did find the article you mention, but there have been no notifications which could be clicked to initiate the block until I finally did see one yesterday. Unfortunately I was not fast enough to click it and it disappeared and did not remain in the notification area.

 

I think blocking SearchProtocolHost.exe from downloading files automatically without disabling the Windows Search service may be the key (at least temporarily) to an acceptable workaround, but I can't find a way to do that. This article:

https://www.winhelponline.com/blog/onedrive-demand-block-automatic-file-downloads/

details the registry key where blocked programs are listed:

HKEY_CURRENT_USER\Software\Policies\Microsoft\CloudFiles\BlockedApps

but our Windows 10 1803 installation doesn't even have the CloudFiles key, much less the BlockedApps key or any entries in it. If I could figure out how to define a value for SearchProtocolHost.exe (other than by clicking a notification that I have only seen pop up once for about a second) I think I might be on track to a solution.

Any third party indexing tools or add-ons being used so the files might get modified?.

Have the modified (or Accessed) time been updated to the time when it got downloaded?

And you are sure that there is no Group policy that can affect this?

Olav - thanks for the reply.

 

We are not using any third-party indexing tools and the files and their metadata are not being modified. The files are clearly being downloaded by SearchProtocolHost.exe, which is the Windows Search service, even though online-only files are not supposed to be indexed. As far as I can tell we have no group policy that is affecting this and we have non-domain-joined machines that are doing it as well which pretty much eliminates that possibility. We do have all of the machines managed through SCCM, but we aren't enforcing anything non-standard in terms of indexing or anything like that.

 

We are now finding this happening on Windows 1709 machines, too, so it's not just a recent development with rolling out 1803. I'm more suspicious that it's something in the latest binaries of OneDrive. With all of this experimentation I have discovered that Windows Search is tightly coupled to the Files on Demand function. If you disable Windows Search, the "Free up space" option will be greyed out in the menu unless you are clicking on a file or folder that has been made available locally. If Search is running, you can select "Free up space" from anywhere in the hierarchy and OneDrive/Windows will remove locally-stored copies from everywhere below that point.

 

I'm pretty frustrated as our whole Office 365 rollout strategy is based around this feature. I have tech support incidents in progress with both the OneDrive and Windows teams (who don't talk to each other!) and can't seem to get this escalated to someone who understands how this technology works better that I do!

I have three customers with the same issue, and myself. One I found was a Dell optimization tool that had Antivirus built into it. Each time the antivirus touched the file on demand it would download it. I have a couple open tickets with MS, but nothing resolved yet. 

Quite sure that the antivirus are not «files on demand» compatible. Quick out of my head I see 4 ways of fixing it. Number one and the best, use built in windows defender instead. Windows defender are now on of the best AV, had a bad rep for a while but totaly trustworthy know and free. Number 2, get a newer version of AV or another vendor. Number 3 exclude the path to the onedriver folders, this might be risky since the files will not be scanned regularary, but most AV would scan them while they are being downloaded and for sure when been runned. Number 4, select only necessary folders to be synced and keep everything downloaded

One other tip if it’s not AV related, clear upload cache. For Office you might need to manually delete the folder with the cache. Onedrive try tips 8 and lastly 9 in this post https://www.windowscentral.com/9-tips-help-you-fix-onedrive-sync-problems-windows-10

We are using only Windows Defender for antivirus. The application that is downloading the files in our case is SearchProtocolHost.exe, which is the Windows Search service. So for I have not found a way to tell Windows Search not to try to index the files in OneDrive. The documentation actually specifically states that for FOD files only the filename will be indexed.

 

I have tickets open with both the OneDrive and Windows teams and have given them extensive log files and screen captures and they haven't been able to come up with an answer. I am waiting to try out Windows 1809 to see if the new features including Storage Sense have any impact on the problem.

 

What's odd is this seems to happen to specific users, not computers. I have five machines that I use and once it started happening it started happening on all of them. Other users that have had it happen have the same experience. But we have dozens of users with identical hardware and software configurations for whom it is not happening.

Richard, replay was more aimed at Steve ;-). But, the last one with clearing cache might be more for you? Make sure everything in there is clean and see if it change the experience.

@Richard DugganDid you ever solve this issue or get a response from microsoft? I'm seeing the same issue with searchprotocolhost.exe downloading files.

@_kurt_I've paused search indexing for the time being.

@_kurt_ The problem went away when we migrated to a newer version of Win 10. I believe the problem emerged in the switch from 1709 to 1803 and went away with 1809. We're now running 1909 in most places and not seeing the problem. The full Storage Sense integration that comes with these newer versions is also very valuable and important for other reasons, but I think the disconnect between the hooks for it in the client and the OS were the source of the problem.