The fastest fix is to disable SMB client caching using PowerShell. Run Set-SmbClientConfiguration -DirectoryCacheLifetime 0 -FileInfoCacheLifetime 0 as administrator to force immediate folder refresh without caching delays.

Fix SMB Network Folder Refresh Issues – Windows 10/11 Server 2026
Network shared folders not updating immediately due to SMB caching and offline files. Disable caching and adjust SMB client settings to force real-time folder refresh.
Understanding SMB Network Folder Refresh Issues
Network shared folder refresh problems are among the most common complaints in enterprise Windows environments. When users create, delete, or modify files on SMB shares, these changes may not appear immediately in File Explorer, causing confusion and workflow disruptions. The issue stems from Windows' aggressive caching mechanisms designed to optimize network performance, particularly the SMB client metadata cache and Offline Files feature.
The SMB Network Redirector, introduced in SMB v2.0, caches directory listings and file metadata to reduce network traffic between clients and servers. While this improves performance over slow connections, it can cause significant delays in folder refresh operations. By default, Windows maintains directory cache entries for 10 seconds and file information cache for similar periods, meaning new files may not appear until these cache intervals expire.
This comprehensive guide addresses the root causes of SMB folder refresh delays and provides proven solutions ranging from simple PowerShell commands to advanced registry modifications. Each method targets different aspects of the caching system, allowing administrators to choose the most appropriate solution based on their network environment and performance requirements.
Related: Microsoft confirms ongoing Windows 11 File Explorer flash
Related: KB5078938 — March 2026 Security Update for Windows 10
Related: Fix Windows 11 Context Menu Show More Options – File
Related: How to Add or Remove OneDrive from File Explorer Navigation
Symptoms
- New files in network folders take 3-4 minutes to appear in File Explorer
- Manual refresh with F5 key doesn't show new files immediately
- Files accessible via direct UNC path but not visible in folder view
- Deleted files still appear in folder listing for several minutes
- Renamed or moved files show old names or locations temporarily
- Multiple users report inconsistent folder contents on shared drives
Root Causes
- SMB client metadata caching enabled with default 10-second refresh intervals
- Offline Files feature caching network folder contents locally
- DirectoryCacheLifetime and FileInfoCacheLifetime registry values set too high
- Network Redirector component optimizing for slow connections
- Shared folder caching mode set to automatic or manual instead of disabled
- Large number of files causing SMB cache overflow and delayed updates
Solutions
Disable SMB Client Caching via PowerShell
This method disables SMB metadata caching on the client side to force immediate folder refresh.
- Open PowerShell as Administrator by right-clicking Start button and selecting Windows PowerShell (Admin)
- Check current SMB caching settings:
Get-SmbClientConfiguration | Select-Object DirectoryCacheLifetime, FileInfoCacheLifetime, FileNotFoundCacheLifetime - Note the current values (default is usually 10 seconds for DirectoryCacheLifetime)
- Disable directory and file info caching:
Set-SmbClientConfiguration -DirectoryCacheLifetime 0 -FileInfoCacheLifetime 0 -Confirm:$false - Restart the SMB client service to apply changes:
Restart-Service -Name lanmanworkstation -Force - Verify the changes took effect:
Get-SmbClientConfiguration | Select-Object DirectoryCacheLifetime, FileInfoCacheLifetime
Disable Offline Files on Shared Folders
Configure the server-side shared folder to prevent client-side offline caching.
- On the file server, open Server Manager → File and Storage Services → Shares
- Right-click the problematic shared folder and select Properties
- Click the Settings tab, then Advanced button
- In the Advanced Sharing dialog, click Caching button
- Change caching mode to No files or programs from the shared folder are available offline
- Click OK to apply changes
- Alternatively, use PowerShell on the server:
Set-SmbShare -Name "YourShareName" -CachingMode None - Verify the setting:
Get-SmbShare -Name "YourShareName" | Format-List CachingMode
Disable Offline Files Feature Completely
Disable the Windows Offline Files feature system-wide on client computers.
- Open Control Panel → Sync Center
- Click Manage offline files in the left panel
- In the Offline Files dialog, click Disable offline files
- Click OK and restart the computer when prompted
- For domain environments, use Group Policy:
- Open Group Policy Management Console
- Navigate to Computer Configuration → Administrative Templates → Network → Offline Files
- Enable Allow or Disallow use of the Offline Files feature and set to Disabled
- Alternatively, disable via registry:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\CSC" -Name "Start" -Value 4 - Restart the computer to apply registry changes
Adjust SMB Client Registry Settings
Manually configure SMB caching parameters through registry modification for fine-tuned control.
- Open Registry Editor by pressing Win + R, typing
regedit, and pressing Enter - Navigate to
HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters - Create or modify the following DWORD values:
- DirectoryCacheLifetime: Set to
0(disables directory caching) - FileInfoCacheLifetime: Set to
0(disables file info caching) - FileNotFoundCacheLifetime: Set to
0(disables negative caching)
- DirectoryCacheLifetime: Set to
- Right-click in the right panel → New → DWORD (32-bit) Value
- Enter the parameter name and set the value to
0 - Repeat for all three parameters
- Close Registry Editor and restart the computer
- Verify settings using PowerShell:
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters" | Select-Object DirectoryCacheLifetime, FileInfoCacheLifetime
Configure SMB Protocol Version and Optimize Settings
Optimize SMB protocol settings and ensure proper version compatibility for better refresh performance.
- Check current SMB protocol versions in use:
Get-SmbConnection | Select-Object ServerName, Dialect, Encrypted - Verify SMB client configuration:
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol - Disable SMB1 if still enabled (security risk):
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -NoRestart - Configure advanced SMB client settings:
Set-SmbClientConfiguration -RequireSecuritySignature $true -EnableSecuritySignature $true -Confirm:$false - Set optimal buffer sizes for network performance:
Set-SmbClientConfiguration -FileInfoCacheEntriesMax 0 -DirectoryCacheEntriesMax 0 -Confirm:$false - Restart SMB services to apply all changes:
Restart-Service -Name lanmanworkstation, lanmanserver -Force - Test connectivity and verify SMB version:
Test-NetConnection -ComputerName "YourFileServer" -Port 445
Verification
To confirm the fixes are working properly, perform these verification steps:
- Test immediate file visibility by creating a new file on the network share from another computer
- Refresh the folder view (F5) and verify the new file appears immediately
- Check SMB client settings:
Get-SmbClientConfiguration | Select-Object DirectoryCacheLifetime, FileInfoCacheLifetime - Verify offline files status in Control Panel → Sync Center → Manage offline files
- Monitor network traffic using
Get-SmbConnectionto ensure active connections - Test with multiple file operations (create, delete, rename) to confirm consistent behavior
Advanced Troubleshooting
If the above methods didn't resolve the issue, try these advanced troubleshooting steps:
- Network connectivity issues: Run
Test-NetConnection -ComputerName ServerName -Port 445to verify SMB port accessibility - DNS resolution problems: Use IP addresses instead of server names, or flush DNS cache with
ipconfig /flushdns - Antivirus interference: Temporarily disable real-time scanning on network folders to test if antivirus is causing delays
- Large folder optimization: For folders with thousands of files, consider using
Set-SmbClientConfiguration -DirectoryCacheEntriesMax 1024instead of 0 - Event log analysis: Check System and Application logs for SMB-related errors using Event Viewer
- Network adapter settings: Disable power management on network adapters in Device Manager
- Reset SMB configuration: Use
Reset-SmbClientConfigurationto restore default settings if issues persist
Frequently Asked Questions
Why do new files take several minutes to appear in network folders?+
Does disabling SMB caching affect network performance?+
Can I apply these fixes through Group Policy for multiple computers?+
What's the difference between server-side and client-side caching?+
Will these changes affect other network applications or services?+
Emanuel DE ALMEIDA
Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.
Further Intelligence
Deepen your knowledge with related resources
Discussion
Share your thoughts and insights
You must be logged in to comment.


