Windows 11 Search Finds No Results for Files Moved to New OneDrive Folder Path
Environment
Windows 11 Pro 22H2 x64 on Lenovo laptop (local NTFS C:), OneDrive for Business (synced) relocated from default 'C:\Users\alice\OneDrive - Org' to 'D:\OneDrive_Projects' using OneDrive client settings. Search indexer configured to include D: but corporate group policy enables 'Windows Search' indexing with cloud content disabled.
Symptoms
Start menu and File Explorer searches return zero results for filenames that exist in the relocated OneDrive folder; manually opening the folder and using in‑folder search (Ctrl+F) finds files. Right-click > 'Search in Explorer' yields no indexed matches. Desktop full-text search for file contents also fails for these files.
Observations
Windows Search Service (WSearch) running. Indexing Options shows D:\OneDrive_Projects included but items pending; indexer UI lists many paths under 'Excluded: OneDrive' due to policy. Event Viewer (Application logs) records SearchIndexer warnings like 'Failed to index item' with HRESULT 0x80070005 (access denied) for files under D:\OneDrive_Projects. Files are readable by user account; OneDrive client reports 'Files are available on this device'.
Already attempted
Restarted Windows Search service, rebuilt search index, re-added folder to index, paused/resumed OneDrive sync, set files to 'Always keep on this device' (local copy), and checked NTFS permissions (Owner is current user, full control). Group Policy Editor showed Cloud Content Indexing disabled at machine level but corporate policy cannot be edited locally.
Question
Why does Windows Search fail to index or return results for files after moving the OneDrive folder to a custom drive, and what safe steps can I take to restore search functionality without data loss or disabling corporate policies?
Verified community troubleshooting
No answers yet..
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Windows29% match
Windows 11 indexer uses 100% CPU after switching OneDrive account and folder paths
Open0 answers - Windows23% match
Windows 11 Search returns no results after relocating C:\Users to D:\Users with directory junctions
Open0 answers - Windows21% match
Roaming Windows laptops fail Group Policy update: DNS suffix missing on corporate VLAN causing 'could not locate domain controller'
Open0 answers