How to fix Error 389 on Windows 11

Troubleshooting Guide: Error 389 – “The Cloud Operation Was Unsuccessful”

Why This Error Happens

Error 389 on Windows 11 typically occurs when the Cloud Files API (CldApi) cannot synchronize placeholder files, often due to corrupted sync metadata, interrupted network connectivity during a file operation, or insufficient permissions on the local cache database used by cloud storage clients (such as OneDrive). This can also result from a conflict between antivirus/firewall software and the cloud provider’s background sync process, or from a damaged reparse point on the file marked for cloud storage.

Step-by-Step Resolution Guide

  1. Restart the Cloud Sync Client
    Right-click the cloud storage icon (e.g., OneDrive) in the system tray, select Close OneDrive, then relaunch it via Start > OneDrive. This clears temporary session errors.

  2. Reset the Cloud Storage Client Cache
    Press Win + R, type:

   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Press Enter, wait 30 seconds, then manually restart OneDrive from the Start menu.

  1. Check File and Folder Permissions
    Navigate to your cloud sync folder (typically C:\Users\<YourUsername>\OneDrive), right-click it, select Properties > Security, and ensure your user account has Full Control. Adjust permissions if necessary via the Edit button.

  2. Verify Windows Cloud Files Filter Driver
    Open Command Prompt as Administrator and run:

   sc query cldflt

Ensure the service state shows as RUNNING. If it’s stopped, start it manually:

   sc start cldflt
  1. Run System File Checker
    In an elevated Command Prompt, execute:
   sfc /scannow

This repairs corrupted system files that may be interfering with the Cloud Files API.

Alternative or Verification Steps

  • Verify the fix: Attempt the failed cloud operation again (upload, sync, or download) and check the Event Viewer (eventvwr.msc) under Windows Logs > Application to confirm Error 389 no longer appears.
  • Alternative solution: If the issue persists, unlink your account from the cloud client (Settings > Account > Unlink this PC) and re-add it, forcing a fresh full resync of all cloud data.

How to fix Error 390 on Windows 11

Windows 11 Error 390: “The Operation Is Only Supported on Files Under a Cloud Sync Root”

Why This Error Happens

This error occurs when an application attempts to perform a cloud-specific file operation—such as pinning, unpinning, or checking sync status—on a file that resides outside a registered Cloud Files API sync root (like OneDrive, Dropbox, or another CFAPI-integrated provider). Essentially, the Windows Cloud Files API (CldApi.dll) rejects the request because the target file is stored on a local drive or network share that isn’t managed by any cloud sync engine. This can also happen if the sync client’s registration with the Cloud Filter Driver has become corrupted or was improperly deregistered, causing Windows to lose track of which folders are legitimate sync roots.

Step-by-Step Resolution Guide

  1. Verify the file’s actual location
    Right-click the affected file, select Properties, and check the Location field. If the path is not inside C:\Users\[YourUsername]\OneDrive (or your specific cloud provider’s folder), move the file into that directory before retrying the operation.

  2. Confirm OneDrive (or your cloud client) is running and synced
    Click the OneDrive cloud icon in the system tray. Ensure it displays “Up to date” rather than “Paused” or “Not signed in.” If it’s paused, click Resume syncing.

  3. Re-register the Cloud Filter sync root
    Sometimes the sync root registration becomes stale. Sign out of OneDrive entirely (Settings > Account > Unlink this PC), then restart the PC and sign back in to force Windows to re-register the folder with the Cloud Filter Driver.

  4. Reset the OneDrive client via Command Prompt
    Press Win + R, type the following, and press Enter:

   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait 1–2 minutes for the OneDrive icon to reappear in the tray, then relaunch it manually from the Start Menu if it doesn’t restart automatically.

  1. Check third-party sync client integration
    If using a non-Microsoft cloud provider (Dropbox, Google Drive, Box), ensure the app is updated to the latest version, as older builds may not correctly implement the Cloud Files API required for Windows 11.

Alternative or Verification Steps

  • Verify the fix: Right-click the file again and check if cloud-specific context menu options (e.g., “Always keep on this device,” “Free up space”) now appear—this confirms the file is correctly recognized under a sync root.
  • Alternative workaround: If the operation doesn’t require actual cloud storage, use a standard file operation (copy/move via File Explorer) instead of the API call that triggered Error 390, as some third-party backup or automation tools mistakenly invoke cloud-specific APIs on local files.

How to fix Error 385 on Windows 11

Troubleshooting Guide: Error 385 – “The Virtualization Operation Is Not Allowed on the File in Its Current State”

Why This Error Happens

This error occurs when Windows’ file virtualization layer (used for UAC compatibility and legacy app support) attempts to redirect or copy a file that is currently locked, in use by another process, or excluded from virtualization by policy. It commonly happens when an application tries to write to a protected directory (like Program Files) while the file is open elsewhere, has incorrect NTFS permissions, or resides on a volume where virtualization has been disabled. Corrupted file system metadata or a disabled Windows Application Compatibility service can also trigger this behavior.

Step-by-Step Resolution Guide

  1. Check if the file is locked by another process:
  • Open Task Manager (Ctrl+Shift+Esc) → Details tab.
  • Close any application that might have the file open, or use a tool like Process Explorer to find and terminate the locking handle.
  1. Verify UAC Virtualization is enabled for the app:
  • Right-click the application’s .exe → Properties → Compatibility tab.
  • Ensure “Run this program as an administrator” is unchecked if you want virtualization to apply (virtualization only works for non-elevated, non-admin apps).
  1. Check and repair NTFS permissions:
  • Navigate to the folder containing the file (e.g., C:\Program Files\YourApp\).
  • Right-click → Properties → Security tab → Advanced.
  • Ensure the Users group has “Modify” or “Write” permissions, or reset permissions to inherit from the parent object.
  1. Restart the Application Information service:
  • Press Win + R, type services.msc, press Enter.
  • Locate Application Information, right-click → Restart.
  1. Run System File Checker and DISM:
  • Open Command Prompt (Admin) and run:

    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your PC after completion.

Alternative or Verification Steps

  • Verify the fix: Try the original file operation again (save, copy, or install) and confirm Error 385 no longer appears in Event Viewer under Windows Logs → Application.
  • Alternative solution: If virtualization isn’t required, disable it entirely via Local Group Policy Editor (gpedit.msc → Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options → “User Account Control: Virtualize file and registry write failures to per-user locations” → set to Disabled), then retry the operation with proper admin rights instead.

How to fix Error 386 on Windows 11

Troubleshooting Guide: Error 386 – Cloud Sync Provider Failed User Authentication

Why This Error Happens

Error 386 typically occurs when the cached authentication token used by the Cloud Files API (CldApi.dll) becomes expired, corrupted, or desynchronized from your current account credentials. This is common after a password change, a Microsoft account re-verification, or a Windows Credential Manager entry that no longer matches the sync provider’s session. It can also occur if system time/date settings are incorrect, causing token validation with the authentication server to fail.

Step-by-Step Resolution Guide

  1. Verify System Time and Date Sync
    Incorrect clock settings break token validation with cloud servers.
  • Go to Settings > Time & language > Date & time.
  • Toggle Set time automatically off, then back on to force a resync.
  1. Clear Cached Credentials
  • Open Control Panel > User Accounts > Credential Manager.
  • Under Windows Credentials, look for entries related to your sync provider (e.g., “OneDrive Cached Credential” or similar for third-party apps like Dropbox/Box).
  • Select the entry and click Remove.
  1. Re-authenticate the Sync Client
  • Open the sync application (e.g., OneDrive) from the system tray.
  • Go to Settings > Account and select Unlink this PC (or Sign out).
  • Restart the application and sign back in with your credentials when prompted.
  1. Reset the Sync Provider’s Local Cache
  • Press Win + R, type %localappdata%\Microsoft\OneDrive\settings (adjust path for other providers), and press Enter.
  • Rename the relevant provider folder (e.g., Personal or Business1) to _Personal.old.
  • Restart the sync client to force it to rebuild a clean local database and re-authenticate.
  1. Check for Group Policy or MDM Restrictions
  • Press Win + R, type gpedit.msc, and press Enter.
  • Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive (or the relevant provider path).
  • Ensure Prevent the usage of OneDrive for file storage is set to Not Configured or Disabled.

Alternative or Verification Steps

  • Verify: Open the sync client’s activity center; if the status shows “Up to date” or files begin downloading without a login prompt, the error is resolved.
  • Alternative: If the issue persists, fully uninstall the sync client via Settings > Apps > Installed Apps, restart the PC, and perform a fresh installation of the client software.

How to fix Error 387 on Windows 11

Windows 11 Troubleshooting Guide: Cloud Sync Error 387

Why This Error Happens

Error 387 occurs when the Cloud Files API (CldApi.dll), which manages sync providers like OneDrive, cannot allocate sufficient memory, handles, or disk cache to complete a file operation. This typically results from excessive open file handles, a bloated placeholder database in the sync cache, or insufficient available RAM/virtual memory caused by other resource-heavy background processes. Corrupted sync metadata in the local %LocalAppData% cache can also trigger this error by forcing the sync engine to retry operations repeatedly, exhausting available resources.

Step-by-Step Resolution Guide

  1. Increase Virtual Memory (Paging File) Size
    Go to Settings > System > About > Advanced system settings > Performance Settings > Advanced tab > Virtual Memory > Change. Uncheck “Automatically manage paging file size,” select your system drive (usually C:), choose Custom size, and set Initial size to 1.5x your RAM (in MB) and Maximum size to 3x your RAM. Click Set, then OK, and restart.

  2. Reset the Sync Provider Cache
    Close the sync client (e.g., OneDrive) via Task Manager. Navigate to %LocalAppData%\Microsoft\OneDrive\settings and rename the folder containing your account GUID to .old. Restart the sync app to force it to rebuild a fresh cache.

  3. Run the OneDrive Reset Command
    Press Win + R, type:

   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Press Enter, wait 1–2 minutes, then manually relaunch OneDrive from the Start menu.

  1. Check for Handle Leaks via Resource Monitor
    Open Resource Monitor (type resmon in Start), go to the CPU tab, and check the Handles section for the sync process (e.g., OneDrive.exe). If handle counts exceed several thousand and keep climbing, restart the process and update the client to the latest version via Settings > Windows Update.

  2. Free Up System Resources
    Open Task Manager (Ctrl+Shift+Esc) > Startup apps tab and disable non-essential startup programs competing for RAM/CPU during sync operations. Also verify at least 15–20% free space remains on your system drive via This PC.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc), navigate to Windows Logs > Application, and confirm no new Error 387 entries appear after triggering a manual sync (right-click the sync icon in the system tray > Sync now).
  • Alternative fix: If the error persists, fully unlink and re-link your cloud account (Settings > Account > Unlink this PC), then sign back in to force a clean resync with a fresh local database.

How to fix Error 382 on Windows 11

Windows 11 Error 382: “The Operation Is Reserved for a Connected Cloud Sync Provider”

Why This Error Happens

Error 382 occurs when a file or folder operation (such as delete, move, or rename) is intercepted by a cloud sync client—typically OneDrive—because the item is flagged as “placeholder” or “cloud-only” content managed by that provider’s reparse point system. This happens when the sync engine loses connection, hangs, or becomes desynchronized while still holding a lock on the file’s metadata. It can also occur if multiple cloud sync clients (e.g., OneDrive and a third-party tool like Dropbox or Google Drive) attempt to manage the same folder simultaneously, creating a conflict over reparse point ownership.

Step-by-Step Resolution Guide

  1. Restart the OneDrive Sync Process
  • Right-click the OneDrive icon in the system tray (bottom-right corner).
  • Select Close OneDrive, then reopen it via the Start Menu by searching for “OneDrive.”
  • Wait for the sync status to show “Up to date” before retrying the file operation.
  1. Reset OneDrive via Command Line
  • Press Win + R, type the following, and press Enter:

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  • This clears the local sync cache and reparse point locks without deleting your files. OneDrive will restart automatically after 1–2 minutes; if it doesn’t, relaunch it manually from C:\Users\<YourUsername>\AppData\Local\Microsoft\OneDrive\onedrive.exe.
  1. Change Files to “Always Keep on This Device”
  • Open File Explorer and navigate to the affected file or folder.
  • Right-click the item, and if it shows a cloud icon (indicating it’s online-only), select Always keep on this device.
  • This forces the file to download fully, releasing it from cloud-only placeholder status and removing the reparse point restriction.
  1. Check for Conflicting Sync Clients
  • Open Settings > Apps > Installed Apps.
  • Verify only one cloud sync tool (OneDrive, Dropbox, Google Drive, etc.) is actively managing the target folder.
  • If duplicates exist, unlink or pause the secondary client via its settings tray icon before retrying the operation.
  1. Update OneDrive to the Latest Build
  • Go to the OneDrive tray icon > Help & Settings > Settings > About.
  • Confirm you’re on the latest version; if not, download the newest installer from Microsoft’s OneDrive page and reinstall.

Alternative or Verification Steps

  • Verify the fix: Right-click the previously affected file—if the cloud-only icon (a cloud symbol overlay) is gone and replaced with a green checkmark, the placeholder conflict is resolved.
  • Alternative fix: If Error 382 persists, temporarily unlink your OneDrive account (Settings > Account > Unlink this PC), perform the file operation locally, then re-link and allow OneDrive to resync.

How to fix Error 383 on Windows 11

Troubleshooting Guide: Cloud Sync Data Validation Failure (Error 383)

Why This Error Happens

Error 383 occurs when the Windows Cloud Files API (Cloud Filter Driver) detects a mismatch between the file hash or metadata reported by the sync provider and the actual data received during download. This is typically caused by corrupted placeholder files, an interrupted network transfer, or a damaged local sync database that fails integrity checks. Third-party antivirus software intercepting and altering files mid-download can also trigger this validation failure.

Step-by-Step Resolution Guide

  1. Restart the Cloud Sync Service and Client
    Close your sync application completely (check Task Manager to ensure no background processes remain), then reopen it to force a fresh handshake with the cloud server.

  2. Clear the Local Sync Cache/Database
    Navigate to your sync provider’s cache folder (e.g., for OneDrive: %localappdata%\Microsoft\OneDrive\settings). Rename the Business1 or Personal folder to .old, then restart the sync client to rebuild the database from scratch.

  3. Reset the Cloud Filter Driver via PowerShell
    Open PowerShell as Administrator and run:

   Get-Service -Name "CldFlt" | Restart-Service -Force

This resets the kernel-mode driver responsible for validating placeholder file data.

  1. Exclude Sync Folders from Antivirus Scanning
    Go to Windows Security > Virus & threat protection > Manage settings > Add or remove exclusions, and add your sync folder path (e.g., C:\Users\<YourName>\OneDrive) to prevent real-time scanning from corrupting files mid-transfer.

  2. Unlink and Relink Your Account
    In your sync client settings, choose Unlink this PC, then sign back in. This forces a full re-download of the file index and metadata, bypassing the corrupted local state.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc) and check Applications and Services Logs > Microsoft > Windows > CloudFiles-Filter for new Error 383 entries after triggering a manual sync.
  • Alternative: If the error persists, run sfc /scannow in an elevated Command Prompt to rule out underlying Windows system file corruption affecting the Cloud Filter API.

How to fix Error 384 on Windows 11

Troubleshooting Guide: SMB1 File Share Connection Error (Error 384)

Why This Error Happens

Windows 11 disables the SMB1 protocol by default because it is an outdated, insecure file-sharing protocol vulnerable to exploits like WannaCry ransomware. This error occurs when your PC attempts to connect to a file share (typically on an old NAS device, legacy server, or older Windows machine) that has not been upgraded to support SMB2 or SMB3. Since Microsoft removed SMB1 client/server binaries from default installations, the modern OS refuses the handshake entirely for security reasons.

Step-by-Step Resolution Guide

Option A: Fix the Server/Share (Recommended)

  1. Identify the device hosting the share (NAS, router, or old server) and check its administration panel for a “File Services” or “SMB” section.
  2. Update the firmware of the NAS/router to the latest version, as most manufacturers have patched their systems to support SMB2/SMB3 by default in recent updates.
  3. If updating isn’t possible, manually enable SMB2/SMB3 in the device’s settings (usually found under Network Services or Advanced Sharing settings).

Option B: Enable SMB1 on Windows 11 (Temporary Workaround)
Warning: Only do this if you trust the network and cannot update the server, as this re-introduces significant security risks.

  1. Press Win + R, type optionalfeatures, and press Enter to open the “Windows Features” dialog.
  2. Scroll down and locate SMB 1.0/CIFS File Sharing Support.
  3. Expand the folder and check the box for SMB 1.0/CIFS Client.
  4. Click OK and restart your computer when prompted to apply the changes.

Alternative or Verification Steps

  • Verify the Fix: After restarting, open File Explorer and enter the share path (e.g., \\ServerName\ShareName) in the address bar. If the connection succeeds without the “obsolete protocol” error, the fix was successful.
  • Safer Alternative: Instead of enabling SMB1, try mapping the drive using the device’s IP address with FTP or WebDAV protocols if the hardware supports it, as this avoids exposing your system to SMB1 vulnerabilities entirely.

How to fix Error 380 on Windows 11

Windows 11 Error 380: “The Cloud Operation Is Invalid” – Troubleshooting Guide

Why This Error Happens

Error 380 typically occurs when a cloud-integrated application (such as OneDrive or a UWP app relying on cloud storage APIs) encounters a corrupted sync token, an invalid property value passed to a cloud storage control, or a broken link between the local file index and the cloud metadata database. This is often triggered by an interrupted sync operation, a corrupted OneDrive cache, or outdated cloud storage APIs following a Windows update. In some cases, insufficient permissions on the local sync folder or a stale authentication token can also cause the cloud service to reject the operation as “invalid.”

Step-by-Step Resolution Guide

  1. Reset the OneDrive Sync Client
    Close OneDrive completely, then press Win + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. Wait 1–2 minutes for OneDrive to restart automatically; if it doesn’t, relaunch it manually from the Start menu.

  2. Clear the Cloud Cache Files
    Navigate to C:\Users\[YourUsername]\AppData\Local\Microsoft\OneDrive\setup\logs and delete temporary log files, then go to C:\Users\[YourUsername]\AppData\Local\Microsoft\OneDrive\cache and clear cached sync data (ensure OneDrive is closed before doing this).

  3. Re-authenticate Your Cloud Account
    Open Settings > Accounts > Email & accounts, remove the affected cloud account, restart your PC, then re-add the account and sign in again to refresh the authentication token.

  4. Check and Repair Local Folder Permissions
    Right-click the affected sync folder (e.g., C:\Users\[YourUsername]\OneDrive), select Properties > Security, and verify your user account has Full Control. If not, click Edit, select your username, and grant Full Control permissions.

  5. Update or Reinstall the Cloud Storage App
    Go to Settings > Apps > Installed apps, locate OneDrive (or the relevant cloud app), and select Advanced options > Repair. If the error persists, uninstall the app completely and reinstall the latest version from the Microsoft Store or official website.

Alternative or Verification Steps

  • After completing the steps above, try initiating a manual sync (right-click the cloud folder icon in File Explorer and select View online or Sync now) to confirm the operation completes without triggering Error 380 again.
  • If the error persists, run sfc /scannow in an elevated Command Prompt to repair any corrupted system files that may be interfering with the cloud storage API.

How to fix Error 381 on Windows 11

Why This Error Happens

Error 381 occurs when the Cloud Filter API (used by OneDrive Files On-Demand and other cloud sync clients) attempts to hydrate, update, or write placeholder files to a volume, but the file system has flagged that volume as read-only. This typically happens due to disk attribute corruption, a failed Windows update leaving the volume in a protected state, or third-party disk management/encryption tools (like BitLocker in a locked state) restricting write access. It can also occur if the underlying NTFS volume has dirty bits set or is running low-level CHKDSK repairs that temporarily lock write operations.

Step-by-Step Resolution Guide

  1. Check and Clear the Read-Only Attribute via DiskPart
  • Press Win + X → select Terminal (Admin).
  • Type diskpart and press Enter.
  • Run list volume, identify the affected volume (e.g., Volume 2), then run select volume 2.
  • Run attributes volume clear readonly to remove the read-only flag.
  • Exit DiskPart by typing exit.
  1. Run CHKDSK to Repair File System Errors
  • In an elevated Terminal, run:

    chkdsk C: /f /r
  • Replace C: with the affected drive letter. Restart the PC if prompted, since CHKDSK may need to run on next boot.
  1. Verify BitLocker Status
  • Go to Control Panel → System and Security → BitLocker Drive Encryption.
  • Ensure the volume is fully unlocked and not in a “Suspended” or “Locked” state, as this can force read-only behavior on cloud sync operations.
  • If locked, unlock it using your recovery key and resume protection.
  1. Reset OneDrive Sync Engine
  • Press Win + R, type:

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  • Wait 1–2 minutes, then manually relaunch OneDrive from the Start Menu.
  1. Check Group Policy / Storage Sense Restrictions
  • Run gpedit.msc (if available on your Windows 11 edition).
  • Navigate to Computer Configuration → Administrative Templates → Windows Components → OneDrive.
  • Ensure no policy is inadvertently restricting write access or forcing files to remain online-only in a way that conflicts with volume permissions.

Alternative or Verification Steps

  • After applying the fixes, right-click the affected drive in File Explorer → Properties, and confirm the Read-only checkbox (if visible) is unchecked, then try syncing or saving a file to trigger the cloud operation again.
  • If the error persists, back up your data and consider reformatting the volume (via Disk Management) to rule out deep-seated file system corruption, then reconfigure OneDrive from scratch.

How to fix Error 377 on Windows 11

Windows 11 Troubleshooting Guide: Error 377 – File Not in Sync with Cloud

Why This Error Happens

Error 377 typically occurs when OneDrive’s sync engine cannot reconcile a local file with its cloud counterpart due to a locked file handle, corrupted sync database, or interference from third-party antivirus software. This often happens when a file is held open by another process (such as a background indexing service) or when Windows Search/Defender scans lock the file during the sync handshake. In some cases, the OneDrive cache itself becomes corrupted, preventing the client from properly comparing local and cloud file states.

Step-by-Step Resolution Guide

  1. Close all applications that might have the file open, including background processes like Microsoft Office’s AutoSave or PDF readers. Check Task Manager (Ctrl+Shift+Esc) under the “Details” tab to confirm no lingering processes reference the file.

  2. Restart the OneDrive sync client:

  • Right-click the OneDrive cloud icon in the system tray (bottom-right corner).
  • Select Close OneDrive, then reopen it via Start > OneDrive.
  • This forces a fresh sync handshake with Microsoft’s servers.
  1. Reset the OneDrive sync engine using the built-in reset command:
  • Press Win + R, type the following, and press Enter:

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  • Wait 1–2 minutes for the OneDrive icon to disappear and reappear in the system tray, indicating the cache has rebuilt.
  1. Exclude OneDrive folders from third-party antivirus scanning:
  • Open your antivirus software’s settings and add an exclusion for:

    C:\Users\<YourUsername>\OneDrive
  • This prevents real-time scanning from locking files mid-sync.
  1. Check file path length and special characters. Navigate to the affected file’s location and ensure the full path doesn’t exceed 260 characters and doesn’t contain unsupported characters (e.g., # % & * : < > ? / \ { | }). Rename or move the file if necessary, as OneDrive silently fails to sync files violating these limits.

Alternative or Verification Steps

  • Verify the fix: Right-click the OneDrive icon in the system tray and select View sync problems. If Error 377 no longer appears in the list, the issue is resolved. You can also right-click the specific file and confirm the status icon shows a green checkmark (synced) instead of a red exclamation mark.
  • Alternative fix: If the error persists, unlink your account via OneDrive Settings > Account > Unlink this PC, then sign back in. This forces a complete re-download of the sync metadata without deleting local files.

How to fix Error 378 on Windows 11

Troubleshooting Guide: Error 378 – “The Cloud Sync Root Is Already Connected with Another Cloud Sync Provider”

Why This Error Happens

This error occurs because Windows 11 uses the Cloud Filter API (CfAPI) to register sync roots (like OneDrive, Dropbox, or Google Drive folders) with the system, and only one cloud sync provider can claim a specific folder path at a time. Error 378 is triggered when a previous sync client failed to properly deregister its sync root—often due to an abrupt uninstall, crash, or forced termination—leaving stale registry entries or metadata that still “lock” the folder. As a result, when a new or reinstalled sync provider tries to bind to that same directory, Windows rejects the request because it believes the folder is still owned by the original provider.

Step-by-Step Resolution Guide

  1. Fully close all cloud sync clients: Right-click each cloud sync app icon (OneDrive, Dropbox, Google Drive, etc.) in the system tray and select “Quit” or “Close.” Confirm via Task Manager that no related .exe processes are running.

  2. Unlink the conflicting sync folder from the old provider: Open the settings of the previously used cloud sync app (if still installed) and manually “Unlink this PC” or “Remove Account” to release the folder claim before uninstalling.

  3. Clean stale sync root registrations from the registry:

  • Press Win + R, type regedit, and navigate to:
    HKEY_CURRENT_USER\Software\SyncEngines\Providers\
  • Look for subkeys referencing the conflicting provider (e.g., OneDrive, Box, etc.) and the folder path in question. Export the key as backup, then delete the stale entry.
  • Restart your PC to clear cached CfAPI bindings.
  1. Rename or move the conflicting folder: If the registry cleanup doesn’t fully resolve it, rename the affected folder (e.g., C:\Users\<YourName>\Dropbox to Dropbox_old) and let the new sync client recreate a fresh folder at the original path.

  2. Reinstall the sync client properly: Uninstall the new cloud sync application completely via Settings > Apps > Installed Apps, restart Windows, then reinstall the latest version and select a fresh (non-conflicting) sync location during setup.

Alternative or Verification Steps

  • Verify the fix: Open the cloud sync app and confirm the folder shows a green checkmark or “Up to date” status without triggering Error 378 again; also check Event Viewer > Windows Logs > Application for absence of related sync errors.
  • Alternative fix: If the error persists, use a completely new folder name/path for the sync root (e.g., Documents\CloudSync_New) instead of reusing the original conflicted directory.

How to fix Error 379 on Windows 11

Troubleshooting Guide: Error 379 – “The Operation Is Not Supported by the Cloud Sync Provider”

Why This Error Happens

This error occurs when the Windows Cloud Files API (CldFlt driver) is unable to process a placeholder file operation, typically because the cloud sync provider (OneDrive, or a third-party client like Dropbox/Google Drive) has become desynchronized from the file’s on-disk attributes. This usually happens after abrupt shutdowns, disk corruption, or when a file’s reparse point metadata is corrupted, causing the OS to request an action (like hydration or deletion) that the sync engine no longer recognizes as valid. It can also occur if multiple cloud storage providers attempt to manage placeholders in the same directory simultaneously.

Step-by-Step Resolution Guide

  1. Reset the OneDrive Sync Engine:
    Open the Run dialog (Win + R) and enter the following command to force OneDrive to reset its local cache and reconnect to the cloud service:

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
    

    Wait 1-2 minutes for the icon to disappear and reappear in the system tray before reopening the app.

  2. Check File System Integrity:
    Since this error is often tied to file system reparse points, run a disk check to repair underlying corruption. Open Command Prompt (Admin) and run:

    chkdsk C: /f /r
    

    You will likely need to schedule this to run on the next restart.

  3. Un-pin and Re-pin the Problematic Folder:
    If the error is specific to one folder (e.g., Desktop or Documents), right-click the folder in File Explorer and select “Free up space” to remove the local cache, then right-click again and select “Always keep on this device” to force a clean re-download of the placeholders.

  4. Update the Cloud Storage Client:
    Ensure you are running the latest build of OneDrive or your third-party provider. Navigate to Settings > Windows Update > Optional updates to check for OneDrive-specific patches, as Microsoft frequently ships fixes for the Cloud Filter API in these updates.

  5. Restart the Cloud Filter Service:
    Open Services (services.msc), locate “Windows Cloud Files Filter Driver” or restart the Explorer.exe process via Task Manager to clear any hung file handles preventing the sync provider from responding to the OS request.

Alternative or Verification Steps

  • Verification: After resetting, right-click the affected file/folder and check the Status column in File Explorer. It should show a green checkmark (synced) rather than a red ‘x’ or the blue cloud (sync error) icon.
  • Alternative: If the error persists specifically during a file move/copy, try performing the action via the OneDrive web interface (onedrive.com) instead of the local File Explorer to bypass the local sync provider limitation entirely.

How to fix Error 375 on Windows 11

Troubleshooting Guide: Error 375 – “The Version of the Cloud File Property Store Is Not Supported”

Why This Error Happens

Error 375 occurs when the Cloud Filter API (CldApi) encounters a mismatch between the property store schema version expected by a cloud sync provider (such as OneDrive) and the version actually present in the file’s metadata cache. This typically happens after an incomplete update, a corrupted placeholder file database, or when a cloud sync client is downgraded or reinstalled without properly clearing its old sync state. The underlying cache database (often located in the provider’s local AppData folder) becomes desynchronized with the current Windows 11 Cloud Files Filter driver (cldflt.sys), causing read failures on file property metadata.

Step-by-Step Resolution Guide

  1. Pause and restart the cloud sync client
    Right-click the OneDrive (or relevant cloud provider) icon in the system tray, select “Pause syncing,” wait 30 seconds, then resume. This forces a clean re-read of the property store.

  2. Reset the OneDrive client cache
    Press Win + R, type:

   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Press Enter. Allow the OneDrive icon to disappear and reappear in the taskbar (may take 1–2 minutes), then relaunch it manually from Start if it doesn’t restart automatically.

  1. Clear the corrupted Cloud Files metadata cache
    Close the sync client entirely, then navigate to:
   %localappdata%\Microsoft\OneDrive\logs
   %localappdata%\Microsoft\OneDrive\settings

Rename the settings folder to settings.old (do not delete outright in case rollback is needed), then restart the sync client to regenerate a fresh property store.

  1. Update or reinstall the sync client
    Ensure you’re running the latest build via Settings > Apps > Installed apps, or download the newest installer directly from the provider’s official site. Uninstall the current version first, reboot, then perform a clean install.

  2. Verify the Cloud Filter driver is current
    Run winver and confirm Windows 11 is fully updated (Settings > Windows Update > Check for updates). The cldflt.sys driver is serviced through cumulative updates, and an outdated driver version is a common root cause.

Alternative or Verification Steps

  • Verify the fix: Open File Explorer and check that cloud files show correct sync status icons (checkmark/cloud) without error overlays, and confirm the specific file/folder that triggered Error 375 opens without a property read failure.
  • Alternative: If the error persists, unlink the account entirely (Settings > Sync backup > Manage sync settings > Unlink this PC), reboot, then re-link and allow a full resynchronization — this rebuilds the property store from scratch.

How to fix Error 376 on Windows 11

Windows 11 Troubleshooting Guide: Error 376 — “The File Is Not a Cloud File”

Why This Error Happens

Error 376 occurs when the Windows Cloud Filter driver (cldflt.sys) attempts to perform a placeholder operation—such as hydration, pinning, or attribute checks—on a file that lacks the required cloud file metadata (reparse point tags). This typically happens when a file has been stripped of its “placeholder” status due to corruption in the sync provider’s local database, improper migration from another cloud service, or manual manipulation of files outside the sync client (e.g., using third-party backup tools that strip NTFS reparse attributes). It can also occur if OneDrive, or another Cloud Files API-based provider, loses sync with its metadata cache while the file still resides in a synced folder.

Step-by-Step Resolution Guide

  1. Force a OneDrive/Cloud Provider Reset
    Press Win + R, type the following, and press Enter:
   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait 1–2 minutes for the OneDrive icon to disappear from the system tray and reappear, indicating the sync database has rebuilt.

  1. Check File Attributes via Command Prompt
    Open Command Prompt as Administrator and navigate to the affected file’s directory. Run:
   attrib "C:\Users\<YourUsername>\OneDrive\path\to\file.ext"

If the output does not show a P (pinned) or cloud reparse attribute, the file has lost its cloud file linkage and needs to be re-synced (see Step 3).

  1. Move the File Out and Back Into the Synced Folder
    Cut the affected file and paste it into a non-synced location (e.g., C:\Temp). Then copy it back into the OneDrive (or other cloud provider) folder. This forces Windows to re-register the file with the Cloud Filter driver and reassign proper placeholder metadata.

  2. Unregister and Re-register the Cloud Filter Driver
    In an elevated PowerShell window, run:

   Get-WindowsDriver -Online | Where-Object {$_.OriginalFileName -like "*cldflt*"}
   pnputil /enum-drivers

If cldflt.sys shows as corrupted or missing, run System File Checker to restore it:

   sfc /scannow
  1. Check for Sync Provider Conflicts
    Open Settings > Apps > Installed Apps and check for multiple cloud sync clients (Dropbox, Google Drive, OneDrive) managing the same folder tree. Having overlapping Cloud Files API providers on the same directory can cause metadata mismatches. Uninstall or repoint conflicting clients to separate folders.

Alternative or Verification Steps

  • Verify the Fix: Right-click the file in File Explorer — under the “General” tab in Properties, confirm the “Attributes” section no longer flags an inconsistent cloud status, and check that the OneDrive status icon (cloud/checkmark) displays correctly next to the file.
  • Alternative Fix: If the error persists, unlink your account via Settings > Accounts > OneDrive > Unlink this PC, restart the machine, then re-link and allow a full resync — this rebuilds the entire placeholder database from scratch.

How to fix Error 373 on Windows 11

Troubleshooting Guide: Error 373 – GDI Handle Leak on Windows 11

Why This Error Happens

Error 373 occurs when an application creates GDI objects (pens, brushes, device contexts, bitmaps) but fails to release them properly using functions like DeleteObject() or ReleaseDC(). Each process on Windows is limited to 10,000 GDI handles by default, and a poorly coded application that continuously allocates new handles without freeing old ones will eventually exhaust this quota, triggering the leak warning in Event Viewer. This is typically a symptom of a bug in the application’s rendering or UI update loop rather than a Windows configuration problem.

Step-by-Step Resolution Guide

  1. Identify the offending process using Task Manager:
  • Right-click the taskbar → Task Manager → Details tab.
  • Right-click the column header → Select columns → check GDI objects.
  • Sort by this column and watch which process’s count climbs continuously over a few minutes.
  1. Check Event Viewer for details on the specific application:
  • Open eventvwr.msc → Windows Logs → Application.
  • Locate Event ID 373, note the source application name, PID, and timestamp to correlate with the Task Manager data.
  1. Update or patch the application:
  • Check the vendor’s website or Windows Update for a newer build, since GDI leaks are almost always fixed via code patches, not registry tweaks.
  • If it’s a Microsoft component, run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth from an elevated Command Prompt to repair corrupted system files that may be causing abnormal rendering behavior.
  1. Increase the GDI handle quota (temporary workaround):
  • Open regedit and navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
  • Add/modify a DWORD value named GDIProcessHandleQuota and set it to a higher value (e.g., 20000, max 65536 in decimal).
  • Restart the affected application (a full reboot may be required for the change to take effect).
  1. Isolate third-party interference:
  • Perform a Clean Boot (msconfig → Services tab → check Hide all Microsoft services → Disable all) to rule out conflicting background apps or overlays (e.g., RGB software, screen recorders) that hook into GDI calls.

Alternative or Verification Steps

  • Verify the fix: Reopen the application, monitor the GDI objects column in Task Manager for 15–20 minutes of normal usage — it should stabilize rather than continuously increase.
  • Alternative: If the app is unsupported or can’t be patched, run it in a sandboxed environment (Windows Sandbox) or restart the process periodically via Task Scheduler to prevent it from hitting the handle ceiling and crashing.

How to fix Error 374 on Windows 11

Troubleshooting Guide: Error 374 – “Maximum Number of Cloud File Properties Has Been Reached”

Why This Error Happens

This error occurs when the Cloud Files API (CldApi), used by cloud sync clients like OneDrive, exceeds the fixed limit of placeholder metadata properties that can be attached to a single file or folder record. Each sync attribute, tag, or custom property (such as availability status, ETags, or provider-specific metadata) consumes a slot, and once the internal property table for that placeholder is full, Windows refuses new writes and throws Error 374. This is typically caused by a corrupted or bloated placeholder database, conflicting sync engines writing to the same files, or a buggy third-party cloud provider app stacking duplicate metadata entries.

Step-by-Step Resolution Guide

  1. Pause and restart the cloud sync client
    Right-click the OneDrive (or third-party cloud provider) icon in the system tray → Pause syncing → wait 30 seconds → resume. This clears transient in-memory property caches.

  2. Reset the OneDrive placeholder cache
    Open Run (Win + R) and execute:

   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

This rebuilds the local placeholder database without deleting cloud data.

  1. Unlink and re-link the account
    Go to Settings > Accounts in OneDrive settings (or Settings app > Accounts) → Unlink this PC → sign back in. This forces Windows to regenerate the Cloud Files metadata table from scratch.

  2. Check for conflicting sync clients
    Ensure no two cloud services (e.g., OneDrive and a third-party backup tool) are managing the same folder path. Remove duplicate sync roots via Settings > Apps > Installed Apps, uninstalling any redundant cloud sync agent.

  3. Clear corrupted placeholder files manually
    If the issue persists on a specific folder, right-click it → Free up space (if using Files On-Demand), then re-download the folder to force regeneration of clean placeholder entries.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc) → Windows Logs > Application, and confirm Error 374 no longer appears after triggering a sync of the previously affected folder.
  • Alternative: If the error persists across all folders, perform a clean reinstall of the OneDrive client via Settings > Apps > Installed Apps > OneDrive > Uninstall, then reinstall from the Microsoft Store.

How to fix Error 371 on Windows 11

Windows 11 Troubleshooting Guide: Error 371 – File System Virtualization Provider Busy

Why This Error Happens

Error 371 occurs when the Windows Projected File System (ProjFS) driver, which manages virtualized file operations for services like OneDrive, Git Virtual File System (GVFS), or WSL, becomes overloaded or unresponsive. This typically happens due to excessive concurrent I/O requests, a stuck background sync process, or corruption in the ProjFS filter driver stack. In some cases, third-party antivirus software intercepting file system calls can also cause the virtualization provider to time out.

Step-by-Step Resolution Guide

  1. Restart the Projected File System Service and related processes:
  • Press Win + R, type services.msc, and press Enter.
  • Locate any services related to your virtualization client (e.g., OneDrive, Git Credential Manager), right-click, and select Restart.
  • Open Task Manager (Ctrl + Shift + Esc) and end any hung processes like OneDrive.exe or git.exe before relaunching them.
  1. Verify ProjFS is properly enabled:
  • Open Settings > Apps > Optional Features > More Windows Features (or run optionalfeatures.exe).
  • Ensure Windows Projected File System is checked. If it was already enabled, uncheck it, restart your PC, then re-enable it and restart again to reset the driver.
  1. Check for driver conflicts via Command Prompt (Admin):
  • Run fsutil devdrv query to inspect virtualization-related drivers.
  • Run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth to repair corrupted system files that may be interfering with the ProjFS filter.
  1. Temporarily disable third-party antivirus/EDR software:
  • Some security tools hook into the file system filter stack and cause contention. Disable real-time protection temporarily to see if the error persists.
  1. Update or reinstall the client application:
  • If the error is tied to a specific app (e.g., Git for Windows, OneDrive), update to the latest version, as vendors frequently patch ProjFS-related race conditions.

Alternative or Verification Steps

  • Verify the fix: Reproduce the original action (e.g., syncing files, cloning a repo) and confirm Error 371 no longer appears in Event Viewer under Windows Logs > Application.
  • Alternative fix: If the issue persists, perform a clean boot (msconfig > Selective Startup, disable all non-Microsoft services) to isolate whether a background application is monopolizing the ProjFS driver.

How to fix Error 372 on Windows 11

Windows 11 Troubleshooting Guide: Error 372 – Unknown File System Virtualization Provider

Why This Error Happens

Error 372, with the message “The provider that supports file system virtualization is unknown,” typically occurs when the Windows Projected File System (ProjFS) optional feature is either disabled or not properly registered with the OS. This component is essential for applications that use virtualized file systems, such as Git (for large repositories), OneDrive Files On-Demand, or certain developer tools like WSL and Docker. The error surfaces when the associated filter driver (prjflt.sys) fails to load, is corrupted, or the feature was never enabled during Windows setup.

Step-by-Step Resolution Guide

  1. Enable the Windows Projected File System Feature
  • Press Win + R, type optionalfeatures, and hit Enter.
  • Scroll down to find Windows Projected File System.
  • Ensure the checkbox is ticked. If it’s already checked, uncheck it, click OK, restart your PC, then re-enable it and restart again.
  1. Enable via PowerShell (Alternative Method)
  • Open PowerShell as Administrator.
  • Run the following command:
    powershell
    Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -NoRestart
  • Restart your computer once the command completes successfully.
  1. Verify the ProjFS Driver Service is Running
  • Open the Services app (services.msc).
  • Locate Windows Projected File System Mini Filter Driver.
  • Ensure the Startup type is set to System or Automatic and the status shows Running (if applicable to your system configuration).
  1. Check and Repair System File Corruption
  • Open Command Prompt as Administrator.
  • Run the System File Checker to repair corrupted system files:
    cmd
    sfc /scannow
  • Follow up with a DISM health check:
    cmd
    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your PC after both commands complete.
  1. Update Windows 11
  • Navigate to Settings > Windows Update.
  • Install any pending updates, as Microsoft frequently patches driver registration issues related to ProjFS in cumulative updates.

Alternative or Verification Steps

  • Verify the fix: Open PowerShell and run Get-WindowsOptionalFeature -Online -FeatureName Client-ProjFS. The State should read Enabled. Then, relaunch the application that triggered Error 372 (e.g., Git or Docker) to confirm the virtualization process completes without errors.
  • Alternative fix: If the error persists, try re-registering the driver manually via an elevated Command Prompt using fltmc load prjflt, then reboot the system.

How to fix Error 368 on Windows 11

Troubleshooting Guide: Error 368 – Storage Device Data Loss / Persistence Failure

Why This Error Happens

Error 368 typically occurs when Windows 11 fails to properly commit write operations to a storage device, causing data to appear “written” in the cache but never actually persisted to disk. This is commonly caused by a corrupted disk cache controller driver, an unstable connection to external/USB storage, or file system journal corruption (NTFS/ReFS) that prevents transaction logs from finalizing. In some cases, this also stems from fast startup or improper device removal interrupting the storage stack before write-back cache flushes complete.

Step-by-Step Resolution Guide

  1. Check Disk for File System Errors
    Open Command Prompt as Administrator and run:
   chkdsk C: /f /r /x

Replace C: with the affected drive letter. Restart when prompted, as this requires a reboot to scan the volume offline.

  1. Update or Reinstall the Storage Controller Driver
    Go to Device Manager > Disk drives (or Storage controllers), right-click the affected device, select Update driver > Search automatically. If an update doesn’t resolve it, choose Uninstall device, then restart Windows 11 to force a clean driver reinstall.

  2. Disable Fast Startup
    Navigate to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, then uncheck Turn on fast startup. This prevents incomplete write-cache flushing during shutdown, a common trigger for Error 368 on external drives.

  3. Verify Write-Caching Policy
    In Device Manager, right-click the storage device > Properties > Policies tab. Ensure Better performance is paired with Enable write caching on the device, and enable Turn off Windows write-cache buffer flushing on the device only if the drive has its own battery backup (not recommended for standard external drives).

  4. Check Event Viewer for Correlating Logs
    Open Event Viewer > Windows Logs > System, filter by Event ID 368, and review the source (usually disk or ntfs). Cross-reference the timestamp with any recent driver updates, power loss, or unsafe ejections to isolate the trigger.

Alternative or Verification Steps

  • Verify the fix: Copy a large test file (1GB+) to the drive, safely eject it, reconnect, and confirm the file opens without corruption or missing data.
  • Alternative fix: If the issue persists, back up all data immediately and reformat the drive using NTFS with default allocation unit size via Disk Management, as underlying sector-level corruption may not be repairable through CHKDSK alone.

How to fix Error 369 on Windows 11

Windows 11 Error 369: File System Virtualization Provider Unavailable

Why This Error Happens

Error 369 occurs when the Windows Projected File System (ProjFS) driver fails to load or initialize correctly. This component is required by applications that use virtualized file systems—most commonly Git (for large repositories using VFS/GVFS), OneDrive Files On-Demand, or WSL. The root cause is typically that the ProjFS optional feature is disabled, the underlying driver (prjflt.sys) is corrupted, or the service is stuck in a stopped/disabled state due to a botched Windows Update or third-party antivirus interference.

Step-by-Step Resolution Guide

  1. Enable the Windows Projected File System feature
  • Press Win + R, type optionalfeatures, and hit Enter.
  • Scroll to Windows Projected File System, check the box, click OK, and restart your PC.
  1. Enable it via PowerShell (Admin) as a more reliable alternative
   Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -NoRestart

Restart the machine after this command completes.

  1. Check and start the PrjFlt service manually
  • Open services.msc.
  • Locate Windows Projected File System Filter Driver (prjflt).
  • Set Startup type to Automatic and click Start. If it fails to start, proceed to step 4.
  1. Repair the driver via DISM and SFC
   DISM /Online /Cleanup-Image /RestoreHealth
   sfc /scannow

This repairs corrupted system files, including prjflt.sys, located in C:\Windows\System32\drivers\.

  1. Re-register the driver manually (if still failing)
   fltmc filters

Confirm PrjFlt appears in the loaded filters list. If missing, reinstall it with:

   Disable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS
   Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -All

Restart once more.

Alternative or Verification Steps

  • Verify the fix: Run fltmc filters in an elevated PowerShell/Command Prompt — PrjFlt should appear in the output list, confirming the driver is loaded and active.
  • Alternative fix: If the error persists, check for pending Windows Updates (Settings > Windows Update) and install any cumulative updates, as a missing update package is a common cause of this specific driver failing to initialize.

How to fix Error 370 on Windows 11

Windows 11 Error 370: File System Virtualization Metadata Corruption

Why This Error Happens

Error 370 occurs when the metadata used by the Windows Projected File System (ProjFS) or Cloud Filter driver becomes corrupted, typically due to an improper system shutdown, disk write errors, or interrupted sync operations. This is common with applications that rely on file system virtualization, such as OneDrive Files On-Demand, Git Virtual File System (GVFS/VFSForGit), or Windows Sandbox/Containers. The underlying reparse point data and placeholder metadata stored in the NTFS volume become desynchronized from the actual virtualization provider, making the files unreadable to the OS.

Step-by-Step Resolution Guide

  1. Identify the affected virtualization provider by opening Event Viewer (eventvwr.msc) and navigating to Windows Logs > System, filtering for Event ID 370 to see which service (CldFlt, PrjFlt) triggered it.
  2. Restart the Cloud Filter and Projected File System services via an elevated PowerShell window:
   Restart-Service -Name "CldFlt" -Force
   Restart-Service -Name "PrjFlt" -Force
  1. Run CHKDSK on the affected volume to repair underlying NTFS metadata corruption:
   chkdsk C: /f /r

(Schedule this on reboot if the volume is in use, and restart the machine.)

  1. Reset the virtualization root if the issue persists with a specific app (e.g., OneDrive):
  • Close the application completely.
  • Navigate to the sync root folder (e.g., %UserProfile%\OneDrive).
  • Unlink and relink the account via Settings > Accounts to force Windows to rebuild the placeholder metadata from scratch.
  1. Verify ProjFS feature integrity by re-enabling the optional feature in an elevated PowerShell:
   Disable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS
   Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -All

Restart the PC after this step.

Alternative or Verification Steps

  • Verify the fix: Reopen the previously inaccessible files/folders and check Event Viewer to confirm no new Event ID 370 entries appear after 24 hours of normal use.
  • Alternative: If corruption persists, back up user data and perform an in-place upgrade repair using Windows 11 installation media (setup.exe from a mounted ISO), which repairs system files without wiping user data.

How to fix Error 366 on Windows 11

Windows 11 Error 366: Cloud File Property Checksum Mismatch

Why This Error Happens

Error 366 occurs when the Cloud Filter API (CldFlt.sys) detects that the metadata checksum stored for a placeholder file does not match the checksum computed at read time, indicating the on-disk cloud file property has been corrupted. This typically happens due to abrupt shutdowns, disk errors, or interrupted sync operations that leave the NTFS reparse point data and its associated placeholder metadata in an inconsistent state. Third-party antivirus or backup tools that scan or lock files mid-sync can also corrupt these cloud placeholder attributes.

Step-by-Step Resolution Guide

  1. Pause and restart the sync client (OneDrive, or third-party cloud provider using Cloud Filter API):
  • Right-click the cloud icon in the system tray → Pause syncing → wait 1 minute → Resume syncing.
  1. Run OneDrive’s built-in reset command (fixes corrupted placeholder metadata):
  • Press Win + R, enter:

    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  • Wait for the OneDrive icon to disappear and reappear in the taskbar (may take a few minutes). If it doesn’t restart automatically, relaunch it via Win + R → onedrive.exe.
  1. Check disk integrity to rule out underlying corruption:
  • Open Command Prompt as Administrator and run:

    chkdsk C: /f /r
  • Schedule the scan on next restart if prompted, then reboot.
  1. Unpin and re-pin the affected file/folder to force regeneration of the placeholder metadata:
  • Right-click the corrupted file → “Always keep on this device” (to force full download), then toggle back to “Free up space” if desired.
  1. Clear the Cloud Filter cache via PowerShell (if the error persists across multiple files):
  • Run PowerShell as Administrator:
    powershell
    Get-Service CldFlt | Restart-Service -Force
  • Restart the machine afterward to fully reinitialize the filter driver.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc) → Windows Logs → Application, and confirm Error 366 no longer recurs after triggering a fresh sync cycle on the affected file/folder.
  • Alternative fix: If the error persists, unlink your account from OneDrive Settings → Account → “Unlink this PC,” then sign back in — this forces a complete re-download of all placeholder metadata from the cloud, bypassing local corruption entirely.

How to fix Error 367 on Windows 11

Windows 11 Troubleshooting Guide: Error 367 – Process Creation Blocked

Why This Error Happens

Error 367 typically occurs when a security policy—such as Windows Defender Application Control (WDAC), AppLocker, or a third-party antivirus/EDR solution—blocks the creation of a process because it violates a defined rule (e.g., unsigned binary, untrusted path, or blocked hash). This can also happen if Group Policy restricts execution from certain folders (like Temp or Downloads) or if the executable’s digital signature is missing, invalid, or has been revoked. In some cases, a corrupted Software Restriction Policy (SRP) cache in the registry causes legitimate processes to be flagged incorrectly.

Step-by-Step Resolution Guide

  1. Check Windows Event Viewer for details
    Open Event Viewer → navigate to Applications and Services Logs > Microsoft > Windows > AppLocker (or CodeIntegrity for WDAC). Locate the Event ID matching Error 367 and note the exact file path and rule that triggered the block.

  2. Verify AppLocker/WDAC Policies
    Press Win + R, type secpol.msc, and press Enter. Go to Application Control Policies > AppLocker. Review the Executable Rules and Packaged App Rules to see if the blocked application’s path or publisher is explicitly denied. Adjust or add an “Allow” rule for the legitimate application.

  3. Check Group Policy Software Restriction Settings
    Run gpedit.msc → Computer Configuration > Windows Settings > Security Settings > Software Restriction Policies. If a policy is blocking execution from a specific directory (like %TEMP% or %APPDATA%), either whitelist the required path or temporarily disable the restriction to test.

  4. Re-register or Repair the Application
    If the issue is isolated to one program, reinstall or repair it via Settings > Apps > Installed Apps, then run:

   sfc /scannow

in an elevated Command Prompt to fix any corrupted system files that might be interfering with process validation.

  1. Check Antivirus/EDR Exclusions
    If using Windows Defender or a third-party antivirus, add an exclusion for the blocked executable’s path under Windows Security > Virus & threat protection > Manage settings > Exclusions.

Alternative or Verification Steps

  • Verify the fix: Attempt to launch the previously blocked application/process again and confirm no Error 367 appears in Event Viewer under the AppLocker or CodeIntegrity logs.
  • Alternative: If the issue persists, boot into Safe Mode and attempt the same action—if it succeeds, a third-party security tool or driver is likely the root cause, and you should update or temporarily disable it to isolate the conflict.

How to fix Error 364 on Windows 11

Troubleshooting Guide: Error 364 – Cloud File Metadata Too Large

Why This Error Happens

Error 364 occurs when the Cloud Files API (CldApi) on Windows 11 encounters a placeholder file whose associated metadata—such as file attributes, reparse point data, or sync provider tags—exceeds the size limit allowed by the Cloud Filter driver (cldflt.sys). This is typically caused by a corrupted sync database, an overloaded placeholder file created by a third-party cloud sync client (OneDrive, Dropbox, Google Drive, etc.), or file system corruption in the placeholder’s reparse point. It can also occur if a cloud provider writes excessive custom metadata (e.g., long file paths, extended attributes, or version history tags) into the placeholder beyond what NTFS reparse points can support.

Step-by-Step Resolution Guide

  1. Identify the affected file/folder
    Open the cloud sync client’s activity log (e.g., OneDrive: click the cloud icon in the system tray → Help & Settings → View sync problems) to locate the specific file triggering Error 364.

  2. Unpin and re-download the problematic file
    Right-click the flagged file/folder → select Free up space (or “Always keep on this device” then back to “Free up space”). This forces Windows to discard the corrupted placeholder and re-fetch clean metadata from the cloud.

  3. Reset the Cloud Filter cache via CMD
    Open Command Prompt as Administrator and run:

   %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset

(Substitute with the equivalent reset command for your specific cloud provider if not using OneDrive.) Wait for the client to restart and resync.

  1. Check and repair NTFS reparse points
    Run a file system integrity check on the affected drive:
   chkdsk C: /f /r

Restart when prompted. This repairs corrupted reparse point structures that may be inflating metadata size.

  1. Update the Cloud Filter driver and sync client
    Go to Settings → Windows Update → Check for updates to ensure cldflt.sys is current, and update your cloud sync application to the latest version, as older clients are known to write oversized metadata blocks.

Alternative or Verification Steps

  • Verify the fix: After resyncing, right-click the file → Properties and confirm the “Always keep on this device” status applies without triggering Error 364 in Event Viewer (Windows Logs → Application, filter for Event ID 364).
  • Alternative: If the error persists, uninstall and cleanly reinstall the cloud sync client (removing local cache folders like %userprofile%\OneDrive after backup) to rebuild the metadata database from scratch.

How to fix Error 365 on Windows 11

Windows 11 Troubleshooting Guide: Error 365 – “The Cloud File Property Is Too Large”

Why This Error Happens

Error 365 occurs when a file synced through a cloud provider (such as OneDrive) using the Cloud Files API exceeds the maximum allowed size for custom file properties or metadata stored in the placeholder file. This typically happens when extended attributes, tags, or custom metadata attached to a file surpass the 4KB/8KB limit imposed by the Cloud Filter Driver (cldflt.sys). It can also occur due to corrupted placeholder metadata or a sync client attempting to write oversized property data during reconciliation.

Step-by-Step Resolution Guide

  1. Pause Cloud Sync Temporarily
    Right-click the sync client icon (e.g., OneDrive) in the system tray, select Pause syncing, and choose 2 hours to stop active reconciliation while you troubleshoot.

  2. Identify the Problematic File
    Open Event Viewer (Win + X → Event Viewer) and navigate to:
    Applications and Services Logs > Microsoft > Windows > CloudFiles-Diagnostic
    Look for Event ID 365 entries and note the file path referenced in the details.

  3. Strip Excess Metadata from the File

  • Right-click the affected file → Properties → Details tab.
  • Click Remove Properties and Personal Information → Remove the following properties from this file → select All → click OK.
  • This clears custom tags, GPS data, or extended attributes that may be inflating the metadata size.
  1. Reset the Cloud Sync Client Cache
  • Close the sync client completely (End Task via Task Manager).
  • Open Run (Win + R), type %localappdata%\Microsoft\OneDrive\settings, and rename the folder (e.g., settings_old).
  • Restart the sync client to force it to rebuild sync metadata and re-download placeholders.
  1. Move the File Outside the Synced Folder and Re-Add It
    Cut the problematic file from the cloud-synced directory, paste it into a local (non-synced) folder, then manually re-add it to the synced folder. This forces the creation of a fresh placeholder with reset metadata.

Alternative or Verification Steps

  • Verify the Fix: Resume syncing and check the sync client’s activity center for the file — if it uploads/downloads without triggering Error 365 again, the issue is resolved.
  • Alternative Fix: If the error persists, run sfc /scannow in an elevated Command Prompt to repair corrupted system files related to the Cloud Filter Driver, then restart the PC and retry the sync.

How to fix Error 361 on Windows 11

Troubleshooting Guide: Error 361 – “The Volume Has Active DAX Mappings”

Why This Error Happens

This error occurs when attempting to dismount, format, or modify a volume that supports Direct Access (DAX), a feature typically used with persistent memory (PMEM) devices to allow applications to memory-map files directly for byte-addressable access. Windows blocks the operation because one or more processes still hold active memory-mapped file handles pointing to that volume. Until every application releases its DAX-based memory mappings, the system treats the volume as “in use” and will not release exclusive control for the requested disk operation.

Step-by-Step Resolution Guide

  1. Identify processes using the volume: Open Task Manager → Details tab, or use Resource Monitor (resmon.exe) → CPU tab → Associated Handles, and search for the drive letter (e.g., E:\) to find processes holding open handles.
  2. Close applications with memory-mapped files: Manually close any database engines, virtualization software, or custom applications (e.g., SQL Server with PMEM support, Hyper-V VMs using vPMEM) that are known to use DAX-mapped storage.
  3. Use Handle.exe (Sysinternals) for forced detection: Run handle.exe <drive_letter> from an elevated Command Prompt to pinpoint the exact process IDs (PIDs) with open mappings, then terminate them safely via taskkill /PID <pid> /F if they cannot be closed normally.
  4. Dismount the volume via PowerShell: Once handles are cleared, run:
   Dismount-Volume -DriveLetter E

If the error persists, reboot the system to force-release any lingering kernel-level mappings.

  1. Reformat or reconfigure DAX mode (if required): If you need to disable DAX formatting on the volume, use:
   Format-Volume -DriveLetter E -FileSystem NTFS -Force

Note: This is destructive and will erase data—ensure backups are taken first.

Alternative or Verification Steps

  • Verify the fix: After completing the steps, re-run Get-Volume in PowerShell and confirm the volume shows a “Healthy” status with no pending operations, then retry the original dismount/format action.
  • Alternative: If the issue persists after a reboot, boot into Safe Mode and attempt the volume operation there, as this prevents most third-party applications from re-establishing DAX mappings on startup.

How to fix Error 362 on Windows 11

Troubleshooting Guide: Error 362 – “Cloud File Provider Is Not Running”

Why This Error Happens

Error 362 occurs when the Windows Cloud Files API (CldFlt.sys filter driver) fails to load or communicate with the associated sync engine, such as OneDrive, typically because the underlying service has crashed, been disabled, or is blocked by a corrupted filter driver registration. This can also happen if the cloud storage provider’s placeholder files became corrupted or if a recent Windows update reset the filter driver bindings. In most cases, the OS cannot properly attach the virtual filesystem layer needed to manage cloud-synced placeholder files, resulting in this error being thrown by File Explorer or any app trying to access cloud-backed folders.

Step-by-Step Resolution Guide

  1. Restart the Cloud Filter Driver Service
    Open Services (services.msc), locate Cloud Files Mini Filter Driver — if not visible, instead restart the OneDrive process:
  • Press Ctrl+Shift+Esc → find Microsoft OneDrive → End Task
  • Relaunch via Win + R → type %localappdata%\Microsoft\OneDrive\OneDrive.exe
  1. Verify the Cloud Filter Driver Is Enabled
    Open Command Prompt as Administrator and run:
   sc query cldflt

If the state shows STOPPED, start it manually:

   sc start cldflt

If it errors out, check driver integrity via:

   sfc /scannow
  1. Reset OneDrive (or your cloud provider app)
    Run the following in the Run dialog (Win + R):
   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait 1–2 minutes, then manually relaunch OneDrive from the Start Menu.

  1. Check Filter Driver Registration in the Registry
    Navigate to:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cldflt

Confirm the Start value is set to 0 or 1 (not 4, which means disabled). Change it if necessary and reboot.

  1. Run Windows Update and DISM Repair
    Outdated system files can prevent the cloud filter driver from initializing correctly:
   DISM /Online /Cleanup-Image /RestoreHealth

Reboot once complete, then re-check cloud sync status.

Alternative or Verification Steps

  • Verify the fix: Open File Explorer and check if cloud folders (e.g., OneDrive) show proper sync status icons instead of red X or error overlays.
  • Alternative fix: If the issue persists, uninstall and reinstall the OneDrive client (or third-party cloud app) completely via Settings > Apps > Installed Apps, then sign back in to restore sync functionality.

How to fix Error 363 on Windows 11

Windows 11 Error 363: Cloud File Metadata Corrupt and Unreadable

Why This Error Happens

Error 363 typically occurs when the Cloud Filter Driver (cldflt.sys) that manages placeholder files for cloud storage services (OneDrive, and other CFAPI-integrated providers) encounters a mismatch between the local metadata cache and the actual file state on disk. This is often caused by an interrupted sync operation, abrupt shutdown, or disk-level corruption that leaves the reparse point data inconsistent with the NTFS file record. Additionally, a damaged Sync Root registration in the Windows registry can prevent the system from correctly resolving placeholder attributes, resulting in unreadable metadata.

Step-by-Step Resolution Guide

  1. Restart the Cloud Filter Driver and related services
    Open Command Prompt as Administrator and run:
   net stop CldFlt
   net start CldFlt

Then restart the associated sync client (e.g., OneDrive) via Task Manager.

  1. Reset the OneDrive client cache (if using OneDrive as the sync provider)
    Press Win + R, type the following, and press Enter:
   %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

Wait 1–2 minutes, then manually relaunch OneDrive from the Start Menu.

  1. Run CHKDSK to repair underlying disk corruption
    In an elevated Command Prompt, run:
   chkdsk C: /f /r

Schedule the scan on next restart if prompted, then reboot the system.

  1. Clear corrupted placeholder metadata via PowerShell
    Open PowerShell as Administrator and run:
   Get-ChildItem -Path "C:\Users\<YourUsername>\OneDrive" -Recurse -Attributes ReparsePoint | Remove-Item -Force -Recurse

This forces the client to re-download fresh metadata on next sync (ensure files are backed up first).

  1. Re-register the Cloud Filter API components
    In an elevated Command Prompt, run:
   regsvr32 /u cldapi.dll
   regsvr32 cldapi.dll

Restart your PC to apply the changes.

Alternative or Verification Steps

  • Verify the fix: Open File Explorer and navigate to the previously affected cloud folder. Confirm files show correct sync status icons (checkmark/cloud) instead of a warning overlay, and open a few files to confirm metadata loads correctly.
  • Alternative fix: If the error persists, unlink your account from the sync client (Settings > Account > Unlink this PC) and re-add the account, forcing a full metadata re-download from the cloud service.

How to fix Error 359 on Windows 11

Windows 11 Error 359: Device in Maintenance Mode

Why This Error Happens

Error 359 typically occurs when a device driver or hardware component has been placed into a maintenance/service state by the Windows Device Management stack, often due to a stalled firmware update, a corrupted driver package, or a Group Policy/MDM configuration that flags the device as pending servicing. This can also happen when Windows Update leaves a device driver in an inconsistent state after an interrupted installation, causing the Plug and Play manager to lock the device until maintenance tasks are cleared. Additionally, if the device is managed by an enterprise MDM solution (like Intune), a sync conflict can incorrectly report the device as being “in maintenance.”

Step-by-Step Resolution Guide

  1. Check Device Manager for the affected device:
  • Press Win + X and select Device Manager.
  • Locate the device showing the error (look for a yellow warning icon or “This device is in maintenance mode” in its status).
  • Right-click the device and select Properties > Driver tab to confirm driver status.
  1. Run the Windows Update Troubleshooter:
  • Go to Settings > System > Troubleshoot > Other troubleshooters.
  • Run the Windows Update troubleshooter to detect and clear stuck update/maintenance flags.
  1. Clear the Windows Update cache manually:
  • Open Command Prompt as Administrator.
  • Run the following commands in order:

    net stop wuauserv
    net stop bits
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    net start bits
  • Restart the PC and check if the device exits maintenance mode.
  1. Uninstall and reinstall the affected driver:
  • In Device Manager, right-click the flagged device and select Uninstall device.
  • Check Attempt to remove the driver for this device (if available).
  • Restart the computer to let Windows reinstall the driver automatically.
  1. Check Group Policy / MDM enrollment status (for managed devices):
  • Run gpupdate /force in Command Prompt to refresh policy settings.
  • If enrolled in Intune, go to Settings > Accounts > Access work or school, and verify sync status or trigger a manual sync.

Alternative or Verification Steps

  • After completing the steps, reopen Device Manager and confirm the device no longer shows a maintenance mode warning; also check Event Viewer (eventvwr.msc) under Windows Logs > System to ensure Error 359 is no longer being logged.
  • If the issue persists, perform a System Restore to a point before the error appeared, or use DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow to repair underlying system file corruption.

How to fix Error 360 on Windows 11

Why This Error Happens

Error 360 occurs when an application or system process tries to perform an NTFS operation—such as enabling compression, creating sparse files, using Transactional NTFS (TxF), or running deduplication/VSS snapshots—on a volume mounted in DAX (Direct Access) mode. DAX volumes are designed for byte-addressable access to persistent memory (PMem/NVDIMM) and intentionally skip the traditional file system caching layer, so several standard NTFS features are unsupported by design. This isn’t corruption; it’s a feature-compatibility limitation between the requested operation and the way the volume was formatted.

Step-by-Step Resolution Guide

  1. Confirm the volume is in DAX mode.
    Open an elevated Command Prompt and run:
   fsutil fsinfo volumeinfo D:

Replace D: with the drive letter from the error. Look for Is DAX Volume : YES in the output.

  1. Identify the unsupported operation.
    Check the application or script log right before Error 360 appears. Common triggers include:
  • Enabling NTFS compression or sparse file attributes
  • Running vssadmin snapshots or backup software on the DAX volume
  • Attempting deduplication or TxF transactions
  1. Reformat the volume without DAX mode (if the feature is required).
    Back up all data first, then use PowerShell to recreate the volume in standard mode:
   Format-Volume -DriveLetter D -FileSystem NTFS -IsDax $false -Confirm:$false

This converts the volume to normal NTFS behavior, restoring support for compression, sparse files, and shadow copies.

  1. Update persistent memory drivers.
    Go to Device Manager > Persistent memory devices, right-click your NVDIMM/PMem controller, and select Update driver. Outdated drivers can misreport volume capabilities and trigger unnecessary DAX-restricted calls.

  2. Adjust the application configuration.
    If reformatting isn’t an option, configure the offending application (backup tool, dedup job, etc.) to exclude the DAX volume from operations that require compression, sparse allocation, or snapshotting.

Alternative or Verification Steps

  • After reformatting or reconfiguring, re-run the failing operation and confirm Error 360 no longer appears in Event Viewer > Windows Logs > System.
  • If you need to keep the volume in DAX mode, redirect the specific workload (e.g., backups, dedup) to a standard NTFS volume instead of trying to force compatibility on the persistent memory volume.

How to fix Error 357 on Windows 11

Windows Information Protection Error 357 Troubleshooting Guide

Why This Error Happens

Error 357 occurs when Windows Information Protection (WIP) under Lock enforces a policy requiring device-level authentication (such as a PIN or biometric credential) before encrypted corporate data can be accessed, but no valid PIN currently exists on the device. This typically happens because the user skipped Windows Hello PIN setup, the PIN credential became corrupted, or a Group Policy/MDM configuration change pushed the “WIP under Lock” requirement to a device that hasn’t completed the enrollment/authentication setup. Without this PIN, the device fails the compliance check enforced by the WIP policy, blocking access to protected files and apps.

Step-by-Step Resolution Guide

  1. Verify Windows Hello PIN Status
  • Go to Settings > Accounts > Sign-in options.
  • Check if a PIN (Windows Hello) entry exists. If missing or showing an error, click Add and follow the prompts to create a new PIN.
  1. Repair a Corrupted PIN
  • Under Sign-in options, click on PIN (Windows Hello) > I forgot my PIN (or Remove, then re-add).
  • Restart the device after removing the PIN, then set up a new one immediately upon reboot.
  1. Check Group Policy / MDM Enrollment Sync
  • Run gpupdate /force in an elevated Command Prompt to ensure the latest WIP and PIN-complexity policies are applied.
  • If managed via Intune/MDM, go to Settings > Accounts > Access work or school, select your organization account, and click Info > Sync.
  1. Validate TPM and Credential Guard Status
  • Open tpm.msc to confirm the TPM chip is present, enabled, and functioning (Status: “The TPM is ready for use”).
  • If TPM shows errors, clear/reset it via tpm.msc > Actions > Clear TPM, then recreate the PIN.
  1. Reset WIP Enrollment (if PIN creation still fails)
  • Go to Settings > Accounts > Access work or school, select the connected account, and click Disconnect.
  • Restart the device and re-enroll in the work/school account to refresh WIP under Lock provisioning.

Alternative or Verification Steps

  • Verify the fix: After creating the PIN, try opening a protected corporate file or app; Error 357 should no longer appear, and the PIN prompt should authenticate successfully.
  • Alternative: If the error persists, contact your IT administrator to check the WIP policy configuration in Intune/Configuration Manager—the “under lock” requirement may need to be temporarily relaxed or the device may need to be re-targeted in the compliance policy.

How to fix Error 358 on Windows 11

Windows 11 Troubleshooting Guide: Cloud Sync Root Metadata Corruption (Error 358)

Why This Error Happens

Error 358 occurs when the Cloud Filter API (CldApi.dll) database that tracks placeholder files and sync states becomes corrupted, typically due to an improper shutdown, disk error, or abrupt termination of the sync client process. This corruption breaks the link between the local sync root registration in the Windows registry and the actual file system metadata, preventing Windows from correctly identifying which files are cloud-only placeholders versus fully downloaded files. Third-party antivirus software interfering with the sync engine’s database writes can also trigger this metadata mismatch.

Step-by-Step Resolution Guide

  1. Unregister the corrupted sync root: Open PowerShell as Administrator and run Get-SyncRootInfo (from the Storage module) to identify the corrupted sync root’s Path and Id, then use Remove-Item on the associated registry key found at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager\.
  2. Clear the local sync cache: Close the cloud sync application completely (verify via Task Manager), then navigate to %LocalAppData%\[YourSyncApp]\Cache and delete the folder contents, or use the app’s built-in “Reset Sync” feature if available in Settings.
  3. Flush the Windows Search and Cloud Filter cache: Run ie4uinit.exe -show and restart the “CloudNotification.dll” related services by executing net stop CloudNotification and net start CloudNotification in an elevated Command Prompt.
  4. Re-register the sync engine: Reinstall or repair the sync client application (e.g., OneDrive, Dropbox) via Settings > Apps > Installed Apps, selecting “Modify” or “Repair” to force it to re-create the sync root metadata cleanly.
  5. Rebuild the placeholder database: Restart Windows Explorer via Task Manager (explorer.exe process) after the reinstall to force File Explorer to re-read the newly created sync root attributes.

Alternative or Verification Steps

  • Verify the fix: Open File Explorer and check that cloud files display the correct sync status icons (cloud, check mark, or sync arrows) instead of a red “X” or warning overlay; also confirm the sync client’s activity center shows “Up to date” with no error banners.
  • Alternative fix: If the error persists, boot into Safe Mode, fully uninstall the sync client, delete any residual folders in %UserProfile%\[SyncFolderName], restart the PC, and perform a fresh installation of the sync application to force a complete metadata rebuild.

How to fix Error 354 on Windows 11

Windows Information Protection Error 354: Access Denied to Network Resource

Why This Error Happens

Error 354 occurs when Windows Information Protection (WIP) classifies the network resource (file share, SharePoint site, or web endpoint) as “Personal” rather than “Work,” causing the policy to block access as a data leak prevention measure. This typically results from a misconfigured or incomplete WIP policy where the resource’s IP range, URL, or domain wasn’t properly added to the protected/enterprise network boundary definitions in Intune or Group Policy. It can also occur due to a corrupted WIP policy cache on the local device or a stale Azure AD token that hasn’t refreshed the current enterprise network configuration.

Step-by-Step Resolution Guide

  1. Verify the resource is defined in the WIP policy scope
    Open the Microsoft Endpoint Manager admin center → Apps → App protection policies → select your WIP policy → Required settings → check that the network resource (e.g., \\fileserver\share or sharepoint.contoso.com) is listed under Network perimeter (Enterprise Cloud Resources, Enterprise IP Ranges, or Enterprise Network Domain Names).

  2. Add the missing resource to the correct network boundary
    If the resource is missing, add it under the appropriate category:

  • For file shares: add IP range under Enterprise IP Ranges.
  • For cloud apps: add the domain under Enterprise Cloud Resources, formatted as resource.com|resource.com.
  • Push the updated policy and allow 15–30 minutes for sync via Settings > Accounts > Access work or school > Info > Sync.
  1. Force a policy refresh on the Windows 11 device
    Run the following in an elevated Command Prompt to sync the latest MDM/WIP policy:
   gpupdate /force

Or trigger an Intune sync manually:
Settings → Accounts → Access work or school → [Your Org] → Info → Sync

  1. Clear the local WIP policy cache
    Navigate to Settings → Accounts → Access work or school, select your work account, click Disconnect, restart the device, then reconnect the account to force a clean policy re-download.

  2. Check for conflicting WIP enforcement mode
    In the Endpoint Manager policy, confirm the WIP-work only or Allow overrides mode is selected (not Block) if you’re still testing the policy, as strict Block mode with an incomplete boundary list will hard-fail access attempts like Error 354.

Alternative or Verification Steps

  • Verify the fix: Attempt to access the same network resource again and confirm the file/app opens without the WIP prompt; check Event Viewer → Applications and Services Logs → Microsoft → Windows → EDP-Audit-Regular for successful access logs instead of Error 354.
  • Alternative: If the issue persists, use Get-MDMPolicy PowerShell cmdlets (via elevated PowerShell with RSAT installed) to manually inspect and confirm which network boundary rules are actively applied to the device, then compare against the Intune policy to find sync mismatches.

How to fix Error 355 on Windows 11

Why This Error Happens

Error 355 occurs when the Plug and Play (PnP) subsystem attempts to retrieve a device’s “hint name” (a friendly identifier used during device enumeration) but the buffer allocated by the calling application or driver is smaller than the actual string returned by the Device Installation API. This typically results from a corrupted or bloated device instance record in the registry, an outdated or third-party driver that miscalculates buffer sizes when calling SetupDiGetDeviceInterfaceDetail or similar SetupAPI functions, or a damaged SetupAPI device cache. It is most commonly triggered when connecting USB devices, docking stations, or Bluetooth peripherals with unusually long device path names.

Step-by-Step Resolution Guide

  1. Update the device driver causing the conflict
  • Open Device Manager (right-click Start → Device Manager).
  • Locate the device throwing the error (often under Universal Serial Bus controllers, Bluetooth, or Other devices).
  • Right-click → Update driver → Search automatically for drivers.
  1. Clear the SetupAPI device cache
  • Press Win + R, type services.msc, and stop the Plug and Play service temporarily (if allowed).
  • Navigate to C:\Windows\System32\DriverStore\Temp and delete temporary staging files (do not touch FileRepository).
  • Restart the PC to force Windows to rebuild device hint metadata.
  1. Reset the device instance in the registry
  • Open regedit and back up the registry first.
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum.
  • Locate the malfunctioning device’s subkey (identified via its Hardware ID from Device Manager → Properties → Details tab).
  • Delete the specific device instance key, then reboot to let Windows re-enumerate it cleanly.
  1. Run the Hardware and Devices Troubleshooter
  • Go to Settings → System → Troubleshoot → Other troubleshooters.
  • Run Hardware and Devices (may need to enable via Command Prompt: msdt.exe -id DeviceDiagnostic if not listed).
  1. Update Windows 11 and chipset/USB controller drivers
  • Go to Settings → Windows Update and install all pending updates.
  • Visit your motherboard/laptop manufacturer’s site for the latest chipset and USB 3.x controller drivers, as generic Microsoft drivers sometimes trigger this buffer mismatch.

Alternative or Verification Steps

  • Verify the fix: Reconnect the affected device and check Event Viewer (Windows Logs → System) to confirm Error 355 no longer appears when the device initializes.
  • Alternative fix: If the error persists, try connecting the device to a different USB port/controller or, for Bluetooth devices, remove and re-pair them entirely — this forces Windows to generate a fresh, correctly-sized device hint name.

How to fix Error 356 on Windows 11

Troubleshooting Guide: Error 356 – Windows Information Protection Policy Block

Why This Error Happens

Error 356 occurs when Windows Information Protection (WIP), formerly known as Enterprise Data Protection (EDP), blocks an action because the app, file, or operation is not classified as “Work” (enterprise-protected) or is not included in your organization’s allowed app list. This typically happens when trying to copy corporate data into a personal app, save a protected file to an unmanaged location, or when the WIP policy pushed via Intune/MDM has restrictive settings for that specific file type or application. It can also occur if the app attempting the action lacks the necessary Enterprise ID association required by the WIP policy.

Step-by-Step Resolution Guide

  1. Identify the Blocked Action: Determine exactly what operation triggered the error (e.g., copy-paste, file save, opening a link) and which app was involved. This helps determine if the app is unlisted or misconfigured in the WIP policy.

  2. Check the File/Data Ownership Mode:

  • Right-click the file in question and check if it shows a “Work” briefcase icon (indicating WIP-protected status).
  • If you are trying to move data to a personal app, this is expected behavior; use only apps listed in your organization’s “Protected Apps” list instead.
  1. Verify Allowed Apps via Settings (if you have local admin rights):
  • Go to Settings > Accounts > Access work or school.
  • Select your work account and click Info.
  • Under “Device management,” click the Manage link (if available) to sync the latest management policies, or click Sync to refresh WIP settings that may be outdated.
  1. Check Windows Event Viewer for Specifics:
  • Open Event Viewer (eventvwr.msc).
  • Navigate to Applications and Services Logs > Microsoft > Windows > EDP-Audit-Regular or EDP-Audit-TCB.
  • Look for the Event ID matching the timestamp of Error 356 to identify the specific app path or file that was blocked.
  1. Contact IT/System Administrator for Policy Adjustment:
  • If the app is legitimately needed for business use, provide your admin with the app’s publisher name and product name (found via PowerShell: Get-AppxPackage | Select Name, PackageFamilyName).
  • The admin will need to add this to the Protected Apps list in the Intune WIP policy (Endpoint security > App protection policies).

Alternative or Verification Steps

  • Verify the Fix: After the admin updates the policy, force a policy sync on your device by going to Settings > Accounts > Access work or school > [Your Account] > Info > Sync, then retry the original action to confirm the WIP block is resolved.
  • Alternative Workaround: If immediate access is needed and the destination app cannot be whitelisted, use the organization’s approved “Enterprise” version of the browser or app (e.g., Edge for Business) which is typically pre-authorized under most WIP policies.

How to fix Error 352 on Windows 11

Windows 11 Restart Failure – Error 352

Why This Error Happens

Error 352 during a restart operation typically occurs when a pending Windows Update installation conflicts with system shutdown processes, or when a corrupted system file prevents the OS from properly closing background services. This can also result from insufficient permissions on the executing process, particularly when third-party applications or scheduled tasks interfere with the shutdown sequence. In some cases, a corrupted Component Based Servicing (CBS) store or Group Policy restriction blocks the restart command from completing.

Step-by-Step Resolution Guide

  1. Run System File Checker (SFC) and DISM
    Open Command Prompt as Administrator (right-click Start > Terminal (Admin)) and run:
   sfc /scannow

Once complete, run:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC after both commands finish.

  1. Check for Pending Updates Blocking Restart
    Navigate to Settings > Windows Update and manually install any pending updates. If an update is stuck, go to C:\Windows\SoftwareDistribution\Download and delete its contents (after stopping the Windows Update service via services.msc).

  2. Verify Shutdown/Restart Permissions via Group Policy
    Open gpedit.msc and navigate to:
    Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
    Confirm your user account is listed under “Shut down the system”. Add your account if missing.

  3. Disable Fast Startup
    Go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, and uncheck “Turn on fast startup.” This resolves conflicts caused by hybrid shutdown states.

  4. Check Event Viewer for Conflicting Processes
    Open eventvwr.msc, navigate to Windows Logs > System, and filter for Event ID 352 to identify which process or service triggered the failure. Disable or update the flagged application.

Alternative or Verification Steps

  • After applying the fixes, test by manually restarting via Start > Power > Restart. If successful, the system should reboot without displaying Error 352 in Event Viewer.
  • If the issue persists, try restarting from Command Prompt using shutdown /r /t 0 — if this succeeds while the GUI restart fails, the issue is likely tied to Windows Explorer or a shell extension conflict rather than the OS core.

How to fix Error 353 on Windows 11

Troubleshooting Guide: Error 353 – Maximum Number of Sessions Reached

Why This Error Happens

Error 353 occurs when the maximum number of concurrent connections or sessions allowed by a service, application, or Remote Desktop configuration has been exceeded. This is commonly caused by orphaned or “ghost” sessions that were not properly terminated after a previous disconnect, stale user tokens held open in the background, or a licensing/connection limit set too low in the system or application configuration. On Windows 11, this frequently relates to Remote Desktop Services (RDP), VPN clients, or third-party session-based software (like database or terminal server clients) that fail to release session handles.

Step-by-Step Resolution Guide

  1. Check and Close Active/Orphaned Sessions
    Open Command Prompt as Administrator and run:
   query session

Identify any sessions in a “Disc” (disconnected) state that are consuming a slot. Terminate them using:

   logoff [SESSION_ID]
  1. Restart the Relevant Service
    Press Win + R, type services.msc, and press Enter. Locate the service tied to the error (e.g., Remote Desktop Services or the specific application service). Right-click it, select Restart, and confirm the sessions are cleared in Task Manager under the Users tab.

  2. Increase the Session Limit (If Applicable)
    If using Remote Desktop, open gpedit.msc and navigate to:
    Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections
    Enable and configure “Limit number of connections” to a higher value, then run gpupdate /force to apply changes.

  3. Clear Application Cache/Session Data
    For third-party software throwing Error 353, navigate to the app’s local data folder (commonly %AppData%\[AppName]\Sessions) and clear any stale session or lock files, then restart the application.

  4. Reboot the Host System
    If the issue persists, perform a full restart of the machine hosting the session limit (server or local PC) to forcibly clear all session tokens from memory.

Alternative or Verification Steps

  • Verify the Fix: Re-open the application or reconnect via RDP; if successful, check query session again to confirm the session count is below the maximum threshold.
  • Alternative Solution: If the problem recurs frequently, check for a corrupted user profile causing sessions to hang improperly, or contact your system administrator to increase the licensed session count on the server side.

How to fix Error 350 on Windows 11

Windows 11 Troubleshooting Guide: Error 350 – “No Action Was Taken, System Reboot Required”

Why This Error Happens

Error 350 occurs when the Windows Installer or Update service detects a pending reboot flag in the registry that hasn’t been cleared from a previous installation, update, or system change. This flag prevents new installation or configuration actions from executing because Windows assumes the system is in an inconsistent state until the restart completes. Common triggers include incomplete Windows Updates, unfinished file rename/delete operations queued via PendingFileRenameOperations, or a component-based servicing (CBS) transaction that never finalized.

Step-by-Step Resolution Guide

  1. Perform a Full Restart (Not Sleep/Hibernate)
    Click Start > Power > Restart. Avoid “Shut Down” alone, as some systems with Fast Startup enabled don’t fully clear the pending state on shutdown.

  2. Check and Clear the Pending Reboot Registry Keys
    Open the Registry Editor (regedit) and inspect the following locations:

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired

  • HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

    If these keys exist and a restart doesn’t clear them, back up the registry, then manually delete the RebootPending or RebootRequired keys (not the parent folders) and restart again.

  1. Run the Windows Update Troubleshooter
    Go to Settings > System > Troubleshoot > Other troubleshooters > Windows Update > Run. This resets update-related components that may be stuck mid-transaction.

  2. Repair the Component Store (CBS)
    Open Command Prompt as Administrator and run:

   DISM /Online /Cleanup-Image /RestoreHealth
   sfc /scannow

This repairs corrupted system files that may be preventing the pending operation from completing, then restart once finished.

  1. Disable Fast Startup (If Restarts Don’t Resolve It)
    Go to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, then uncheck Turn on fast startup. Fast Startup can prevent the kernel session from fully resetting, leaving the reboot-pending flag active across restarts.

Alternative or Verification Steps

  • Verify the fix: Re-check the registry paths listed in Step 2 — if RebootPending/RebootRequired keys are gone and PendingFileRenameOperations is empty, retry the original action that triggered Error 350.
  • Alternative: If the error persists after multiple restarts, boot into Safe Mode (Settings > Recovery > Advanced Startup > Restart Now > Troubleshoot > Advanced Options > Startup Settings) and attempt the installation/update from there, as Safe Mode bypasses non-essential services that may be holding the reboot flag active.

How to fix Error 351 on Windows 11

Why This Error Happens

Error 351 during shutdown typically occurs when a background process, service, or driver fails to terminate correctly, causing the Windows shutdown sequence to hang or abort. This is often triggered by corrupted system files, a pending Windows Update installation that conflicts with the shutdown routine, or a third-party application (commonly antivirus or virtualization software) blocking the “System Shutdown” call in the Local Security Policy. In some cases, a faulty driver fails to release hardware resources, forcing the OS to log the failure instead of completing the power-off sequence.

Step-by-Step Resolution Guide

  1. Run the System File Checker (SFC) and DISM:
    Open Command Prompt as Administrator and run:
   sfc /scannow

Once complete, run:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC afterward to see if the error persists.

  1. Check the Event Viewer for the specific faulting module:
    Navigate to Event Viewer > Windows Logs > System, filter for Event ID 351 (or the associated Kernel-Power/User32 event), and check the “Source” field. This identifies whether a specific .sys driver or .exe process is preventing shutdown.

  2. Verify “Shut down the system” User Rights Assignment:
    Some third-party security software strips this permission from the Administrators group.

  • Press Win + R, type secpol.msc, and press Enter.
  • Navigate to Local Policies > User Rights Assignment.
  • Double-click Shut down the system and ensure “Administrators” and “Users” are listed.
  1. Disable Fast Startup:
    Fast Startup can sometimes cause conflicts with drivers during the power-off state, triggering shutdown errors.
  • Go to Control Panel > Power Options > Choose what the power buttons do.
  • Click “Change settings that are currently unavailable.”
  • Uncheck Turn on fast startup (recommended) and save changes.
  1. Update or Roll Back Device Drivers:
    If the Event Viewer (Step 2) pointed to a specific device, open Device Manager, right-click the flagged hardware (commonly GPU or Network adapters), and select Update driver. If the issue started recently, try Roll Back Driver instead.

Alternative or Verification Steps

  • To verify the fix: Restart your PC 3–5 times consecutively and check Event Viewer to confirm Error 351 no longer appears in the System logs during the shutdown timestamp.
  • Alternative fix: If the error persists, perform a Clean Boot (via msconfig) to isolate whether a third-party startup application is interfering with the shutdown process, then re-enable services one-by-one to identify the culprit.

How to fix Error 348 on Windows 11

Troubleshooting Guide: Error 348 – “The requested operation failed because the file stream is marked to disallow writes”

Why This Error Happens

This error occurs when the NTFS file system flags a specific file stream as read-only at a low level, typically due to file corruption, an interrupted write operation (such as a sudden shutdown or crash during disk I/O), or a conflict caused by antivirus/backup software locking the stream. It can also result from bad sectors or logical inconsistencies in the disk’s Master File Table (MFT) that prevent Windows from safely writing new data to that specific file location. In most cases, this is a file system integrity issue rather than a standard user-permissions problem.

Step-by-Step Resolution Guide

  1. Run CHKDSK to Repair File System Errors
    Open Command Prompt as Administrator (right-click Start > Terminal (Admin)) and run:
   chkdsk C: /f /r

Since the volume is likely in use, type Y when prompted to schedule the scan on the next restart, then reboot your PC.

  1. Verify and Repair System Image Health
    After CHKDSK completes, run the System File Checker and Deployment Image Servicing tool to fix underlying corruption:
   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth
  1. Check File/Folder Attributes and Permissions
    Locate the specific file causing the error. Right-click it, select Properties, and ensure the Read-only checkbox (under the General tab) is unchecked. Additionally, go to the Security tab, click Advanced, and verify your user account has Full Control permissions.

  2. Temporarily Disable Third-Party Antivirus/Backup Software
    Some security or backup tools lock file streams to prevent modification during a scan. Temporarily disable real-time protection or backup agents (e.g., via the system tray icon) and attempt the file operation again.

  3. Check for Disk Hardware Errors
    Open Settings > System > Storage > Advanced Storage Settings > Disks & volumes, select the drive, and run a health check. If using an SSD, ensure firmware is updated via the manufacturer’s utility (e.g., Samsung Magician, Crucial Storage Executive).

Alternative or Verification Steps

  • Verify the fix: Attempt to save, copy, or modify the file that previously triggered Error 348. If the operation completes without the write-restriction message, the file stream lock has been cleared.
  • Alternative: If the error persists on a specific file, copy the file’s data into a newly created file (e.g., open in a text editor and “Save As” a new filename) and delete the original corrupted file/stream.

How to fix Error 349 on Windows 11

Troubleshooting Guide: Error 349 – “The Requested Operation Failed with an Architecture-Specific Failure Code”

Why This Error Happens

Error 349 typically occurs when a 32-bit application or driver component attempts to execute an operation on Windows 11’s 64-bit architecture without proper compatibility translation, often due to WOW64 (Windows 32-bit on Windows 64-bit) subsystem conflicts. This can result from corrupted system files, mismatched driver architectures, or a service attempting to load an incompatible binary. It is also commonly triggered when Component Object Model (COM) registrations point to the wrong architecture-specific DLL or executable path.

Step-by-Step Resolution Guide

  1. Run the System File Checker (SFC) and DISM tools
    Open Command Prompt as Administrator and run:
   sfc /scannow

Follow this with:

   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be causing architecture mismatches.

  1. Verify WOW64 Subsystem Integrity
    Navigate to C:\Windows\SysWOW64 and confirm wow64.dll, wow64win.dll, and wow64cpu.dll are present and not corrupted. If missing or damaged, an in-place OS repair (Step 4) will be required.

  2. Check Application/Driver Compatibility Mode
    Right-click the executable throwing the error → Properties → Compatibility tab. Ensure “Run this program in compatibility mode” is unchecked unless specifically required, and verify the correct architecture version (x86 vs x64) is being launched from C:\Program Files (x86)\ versus C:\Program Files\.

  3. Re-register Affected COM Components
    If the error stems from a specific application, open an elevated Command Prompt and re-register the relevant DLL using the correct regsvr32 path:

  • For 64-bit: C:\Windows\System32\regsvr32.exe "path\to\file.dll"
  • For 32-bit: C:\Windows\SysWOW64\regsvr32.exe "path\to\file.dll"
  1. Perform an In-Place Upgrade/Repair
    If the above steps fail, use Windows 11 installation media to run Setup.exe and select “Keep personal files and apps” to repair core system architecture files without a full reinstall.

Alternative or Verification Steps

  • Verify the fix: Reopen the application or re-trigger the action that caused Error 349, and check Event Viewer (eventvwr.msc → Windows Logs → Application) to confirm no recurrence of Event ID 349.
  • Alternative solution: If the issue is isolated to one application, uninstall it completely (including leftover files in %ProgramFiles% and %ProgramFiles(x86)%), then reinstall using the correct architecture-specific installer for your system.

How to fix Error 345 on Windows 11

Troubleshooting Guide: Error 345 – Storage Topology ID Mismatch

Why This Error Happens

Error 345 typically occurs when the Storage Spaces or clustered storage subsystem detects a discrepancy between the topology ID recorded in the pool metadata and the ID expected by the storage driver or Cluster Shared Volume (CSV) manager. This mismatch commonly arises after an unclean shutdown, a failed firmware/driver update on the storage controller, or when a disk pool was moved/imported from another system without properly updating its metadata. In virtualized or clustered environments, it can also result from stale cached topology information held by the Virtual Disk Service (VDS) or Cluster service.

Step-by-Step Resolution Guide

  1. Check Event Viewer for context
    Open Event Viewer → Windows Logs → System, filter for Event ID 345, and note the associated storage pool GUID or disk identifiers referenced in the details tab.

  2. Restart the Storage and Cluster services
    Open PowerShell as Administrator and run:

   Restart-Service -Name "vds" -Force
   Restart-Service -Name "ClusSvc" -Force -ErrorAction SilentlyContinue

This clears cached topology data held in memory by the Virtual Disk Service.

  1. Validate and repair the Storage Pool
    Run the following to inspect pool health and force a metadata resync:
   Get-StoragePool | Where-Object {$_.HealthStatus -ne 'Healthy'}
   Update-StoragePool -FriendlyName "<PoolName>"

Replace <PoolName> with the name identified in step 1.

  1. Re-import the disk topology manually
    If the pool was migrated from another host, force Windows to rescan and rebuild the topology database:
   diskpart
   rescan
   list disk
   exit

Then re-run Get-StoragePool to confirm the topology ID has been regenerated correctly.

  1. Update storage controller drivers/firmware
    Go to Settings → Windows Update → Advanced options → Optional updates → Driver updates, and install any pending storage controller (RAID/SAS/NVMe) driver updates, as outdated drivers frequently cause topology ID desync.

Alternative or Verification Steps

  • After completing the steps, re-check Get-StoragePool -FriendlyName "<PoolName>" | Select HealthStatus, OperationalStatus — it should report Healthy/OK with no repeat of Event 345 in Event Viewer over the next reboot cycle.
  • If the mismatch persists, back up data and recreate the storage pool from scratch (New-StoragePool), as a corrupted metadata partition may require a full topology rebuild rather than a repair.

How to fix Error 346 on Windows 11

Windows 11 Error 346: “The Operation Was Blocked by Parental Controls”

Why This Error Happens

Error 346 occurs when Microsoft Family Safety settings, content restrictions, or app/game limits configured on a Microsoft account are actively preventing an application, website, or file from being accessed or executed. This typically happens because the signed-in account is designated as a “Child” account under a Family Group, and the requested content, screen time, or app category falls outside the permissions set by the organizer/parent account. It can also occur due to residual restriction policies left behind after an account type change, or cached permission tokens that haven’t synced with updated Family Safety settings.

Step-by-Step Resolution Guide

  1. Check Account Type
    Go to Settings > Accounts > Family and verify whether the signed-in account is listed as a “Child” account. If unexpected, this may explain the restriction.

  2. Review Microsoft Family Safety Settings Online
    Visit family.microsoft.com while signed in with the family organizer account. Navigate to the affected child’s profile and check:

  • Screen time limits (may block apps even if content is otherwise allowed)

  • Content filters (apps, games, websites)

  • Activity reporting restrictions

    Adjust or temporarily disable the relevant restriction category, then click Save.

  1. Force a Settings Sync
    Since Family Safety settings sync periodically, force an update by:
  • Signing out and back into the Windows 11 device (Settings > Accounts > Sign-in options > Sign out)
  • Or running gpupdate /force in an elevated Command Prompt if the device is domain/Azure AD joined with policy-based restrictions
  1. Check Microsoft Store & Edge-Specific Restrictions
    Open Microsoft Store > Settings and confirm content restrictions aren’t separately configured there. Similarly, check Edge > Settings > Profiles > Family Safety for browser-level blocks that duplicate Windows-level ones.

  2. Clear Cached Permission Data
    If the restriction persists despite updated settings, clear the local cache by navigating to:

   C:\ProgramData\Microsoft\Windows\AccountPictures

and restarting the Family Safety service via services.msc (locate “Microsoft Account Sign-in Assistant” and restart it).

Alternative or Verification Steps

  • Verify the fix: Attempt to reopen the blocked app or website immediately after saving changes on family.microsoft.com—allow up to 15 minutes for full propagation across devices.
  • Alternative solution: If the account was mistakenly set to “Child,” have the family organizer change it to an “Adult” role via family.microsoft.com > Family Member > Change to adult, which immediately lifts all Family Safety restrictions.

How to fix Error 347 on Windows 11

Why This Error Happens

Error 347 (ERROR_BLOCK_TOO_MANY_REFERENCES) occurs on ReFS (Resilient File System) volumes that use block cloning technology for fast copy operations (such as Hyper-V checkpoints, Storage Spaces, or deduplication). Each cloned data block can only be referenced by a finite number of files before ReFS’ internal reference counter hits its hard limit, after which no new clone references can point to that block. This typically happens after repeated fast-copy/clone operations (e.g., frequent VM checkpoint merges or Copy-Item with block cloning) are performed on the same underlying data without ever triggering a full physical copy.

Step-by-Step Resolution Guide

  1. Identify the affected volume by checking Event Viewer (Windows Logs > System, filter for Event ID 347) to confirm it’s tied to ReFS block cloning and note the file/drive path involved.
  2. Force a full physical copy of the file instead of a cloned copy. Open PowerShell as Administrator and run:
   Copy-Item -Path "C:\Path\To\File" -Destination "D:\NewLocation\File" -Force

This bypasses the block-cloning API and creates fresh, non-shared blocks.

  1. Run ReFS integrity check and repair using CHKDSK with the ReFS-specific verification flag:
   chkdsk D: /scan
   chkdsk D: /forceofflinefix

Replace D: with your affected ReFS volume letter.

  1. Rewrite the file to reset its block reference count by copying it off the volume to a different (non-ReFS) drive, deleting the original, then copying it back:
   Copy-Item -Path "D:\File.vhdx" -Destination "E:\Temp\File.vhdx"
   Remove-Item -Path "D:\File.vhdx"
   Copy-Item -Path "E:\Temp\File.vhdx" -Destination "D:\File.vhdx"
  1. If using Hyper-V, merge or consolidate any pending checkpoints/snapshots on the affected VM, since chained AVHDX files are the most common cause of hitting the reference limit.

Alternative or Verification Steps

  • Verify the fix by repeating the operation that previously failed (e.g., checkpoint creation or file copy) — it should complete without triggering Event ID 347.
  • If the error persists, back up the data and reformat the volume as NTFS instead of ReFS, since NTFS does not use block cloning and is not subject to this reference count ceiling.

How to fix Error 343 on Windows 11

Why This Error Happens

Error 343 with the “external backing provider is not recognized” message typically occurs when Windows 11 cannot properly authenticate or communicate with a registered storage, credential, or virtualization provider (such as a mounted virtual drive, a third-party backup agent, or a security provider tied to Windows Hello/Credential Manager). This usually stems from a corrupted provider registration entry in the Windows Registry, a mismatched or outdated provider DLL, or missing permissions that prevent the Windows Service Control Manager from loading the provider at startup. It can also occur after a Windows Update replaces or removes a dependency the provider relies on, breaking the link between the OS and the external component.

Step-by-Step Resolution Guide

  1. Verify the Provider Service Is Running
  • Press Win + R, type services.msc, and press Enter.
  • Locate the service associated with your external provider (e.g., a backup tool, VPN driver, or storage virtualization service).
  • Right-click it and select Restart. If it fails to start, right-click → Properties → set Startup type to Automatic, then click Start.
  1. Re-register the Provider DLL
  • Open Command Prompt as Administrator.
  • Navigate to the provider’s installation folder (commonly under C:\Program Files\<VendorName>\).
  • Run: regsvr32 providername.dll (replace with the actual file name from the vendor documentation).
  • Restart the computer after registration completes.
  1. Check Registry Provider Entries
  • Press Win + R, type regedit, and press Enter.
  • Navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
    or
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ProviderName>
  • Confirm the provider’s key exists and its ImagePath value points to a valid, existing file. If missing or corrupted, reinstall the provider software to regenerate this key.
  1. Update or Reinstall the Provider Software
  • Uninstall the external provider application via Settings > Apps > Installed apps.
  • Download the latest Windows 11–compatible version from the vendor’s official site.
  • Reinstall and reboot to allow Windows to re-establish the provider handshake.
  1. Run Windows Update and SFC Scan
  • Go to Settings > Windows Update and install all pending updates.
  • Open Command Prompt (Admin) and run: sfc /scannow to repair any corrupted system files that may affect provider recognition.

Alternative or Verification Steps

  • After completing the steps, reopen the application or feature that triggered Error 343 and confirm the provider now initializes without the “not recognized” message appearing.
  • If the issue persists, check Event Viewer (eventvwr.msc) under Windows Logs > System for related warnings tied to Event ID 343, and cross-reference the source name with the vendor’s support documentation for a provider-specific patch.

How to fix Error 344 on Windows 11

Troubleshooting Guide: “Compressing This Object Would Not Save Space” (Error 344)

Why This Error Happens

This message appears when Windows NTFS compression evaluates a file or folder and determines that compressing it would yield negligible or no storage savings. This commonly occurs with files that are already compressed (such as ZIP, JPG, MP4, or other pre-compressed formats), very small files where compression overhead exceeds any benefit, or files with high-entropy data (like encrypted content) that don’t compress well. While technically a warning rather than a critical error, it can be logged as Event ID 344 when compression operations are attempted programmatically or via batch scripts and fail to achieve their intended result.

Step-by-Step Resolution Guide

  1. Identify the file type causing the issue
  • Right-click the affected file/folder → Properties → General tab
  • Check the file extension and current size to determine if it’s already a compressed format (.zip, .rar, .jpg, .mp4, .mp3, .7z, etc.)
  1. Skip compression for already-compressed files
  • If the file is a media or archive format, compression is unnecessary—click OK or Cancel on the compression dialog to bypass it safely
  • No further action is needed; this is expected behavior, not a malfunction
  1. Manually verify compression settings via Properties
  • Right-click the file/folder → Properties → General tab → Advanced
  • Uncheck “Compress contents to save disk space” if compression isn’t needed
  • Click Apply, then choose Apply changes to this folder, subfolders and files if applicable
  1. Use PowerShell to check compression status in bulk
  • Open PowerShell as Administrator
  • Run: compact /q /s:"C:\Path\To\Folder" to query compression status of all files
  • Identify files already compressed (marked with a “C”) and exclude them from future compression attempts
  1. Disable compression attempts via Group Policy (for scripted/automated environments)
  • Press Win + R, type gpedit.msc, press Enter
  • Navigate to Computer Configuration → Administrative Templates → System → Filesystem
  • Review compression-related policies if automated scripts are triggering this on incompatible files repeatedly

Alternative or Verification Steps

  • Verify the fix: Right-click the file → Properties → confirm the Advanced compression checkbox reflects your intended setting, and check file size remains stable (no ballooning from failed compression attempts).
  • Alternative approach: If bulk-compressing a folder, use compact /c /s /i in PowerShell (the /i flag ignores errors on incompressible files) to skip files like this one automatically without manual intervention.

How to fix Error 341 on Windows 11

Troubleshooting Guide: Error 341 – “The Supplied PEP Information Version Is Invalid”

Why This Error Happens

Error 341 occurs when the Policy Enforcement Point (PEP) metadata used by Windows’ security and licensing subsystems becomes outdated, corrupted, or mismatched with the current build of Windows 11. This is typically caused by a failed Windows Update that left behind incomplete component manifests, corruption in the Component Based Servicing (CBS) store, or a version conflict between system files and cached policy definitions. It can also occur if third-party security software has modified or interfered with system policy files.

Step-by-Step Resolution Guide

  1. Run the System File Checker (SFC) to repair corrupted files:
    Open Command Prompt as Administrator and run:
   sfc /scannow

Allow the scan to complete fully before restarting your PC.

  1. Repair the Windows Component Store using DISM:
    In the same elevated Command Prompt, run:
   DISM /Online /Cleanup-Image /RestoreHealth

This resolves underlying corruption that SFC alone cannot fix, which often triggers PEP version mismatches.

  1. Clear the Windows Update cache and cached policy data:
  • Stop the Windows Update service: net stop wuauserv
  • Navigate to C:\Windows\SoftwareDistribution and rename the folder to SoftwareDistribution.old
  • Restart the service: net start wuauserv
  • This forces Windows to rebuild update and policy metadata from scratch.
  1. Check and reset Group Policy cache (if applicable):
    Navigate to C:\Windows\System32\GroupPolicy and rename the folder to GroupPolicy.old, then run:
   gpupdate /force

This regenerates policy files, which can resolve invalid PEP version references.

  1. Install the latest cumulative update manually:
    Visit the Microsoft Update Catalog, download the latest cumulative update for your Windows 11 build, and install it directly. This ensures your PEP definitions are synchronized with the current OS version.

Alternative or Verification Steps

  • Verify the fix: Re-run sfc /scannow — it should return “Windows Resource Protection did not find any integrity violations.” Also check Event Viewer (eventvwr.msc) under Windows Logs > System to confirm Error 341 no longer appears after a restart.
  • Alternative solution: If the error persists, perform an in-place upgrade repair by mounting the latest Windows 11 ISO and running setup.exe, selecting “Keep personal files and apps” — this refreshes all system and policy files without a full reinstall.

How to fix Error 342 on Windows 11

Windows Error 342: “This object is not externally backed by any provider”

Why This Error Happens

This error typically occurs when the Windows Projected File System (ProjFS) attempts to access a file or directory that is expected to be “virtualized” or backed by an external storage provider (such as OneDrive, Git Virtual File System, or Dev Drive) but finds no active provider attached to it. This commonly happens after an abrupt system shutdown, a corrupted virtualization instance, or when a sync client (like OneDrive) crashes or is improperly uninstalled while placeholder files remain on disk. It can also occur on Dev Drive volumes formatted with ReFS when the associated container or storage sense provider becomes disconnected from the volume.

Step-by-Step Resolution Guide

  1. Restart the associated sync/virtualization service. If the error relates to OneDrive placeholders, close OneDrive completely via the system tray icon (Right-click > Close OneDrive), then reopen it from the Start Menu to reinitialize the provider connection.
  2. Check ProjFS feature status. Open Windows Features (optionalfeatures.exe), scroll to Windows Projected File System, and ensure it is checked/enabled. If it’s already enabled, uncheck it, restart your PC, re-enable it, and restart again to reset the driver binding.
  3. Run System File Checker and DISM. Open an elevated Command Prompt or PowerShell (Win + X > Terminal (Admin)) and run:
   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that manage virtualization filters.

  1. Inspect the specific file/folder for orphaned placeholders. Navigate to the reported file path in File Explorer, right-click the parent folder, and check Properties > Advanced to see if “Free up space” attributes are stuck. If found, copy the file to a new location (forcing a full local copy) and delete the original orphaned placeholder.
  2. For Dev Drive/ReFS-specific errors: Open Disk Management (diskmgmt.msc), verify the Dev Drive volume is mounted correctly, then run fsutil devdrv commands in an elevated terminal to confirm the volume’s trust and filter status is active.

Alternative or Verification Steps

  • Verify the fix: Re-attempt to access the specific file or folder that triggered Error 342. If using OneDrive, check that the cloud icon overlay (checkmark or cloud symbol) has returned to the file, indicating a provider is now attached.
  • Alternative fix: If the error persists on a specific folder, unlink your account (e.g., “Unlink this PC” in OneDrive settings) and relink it. This forces Windows to rebuild the placeholder database and reattach the external provider from scratch.

How to fix Error 339 on Windows 11

Why This Error Happens

Error 339 is generated by the Storage Spaces driver when the metadata on one of the physical disks in a storage pool no longer matches the other copies (mirrored or parity data). This desynchronization typically occurs after an unexpected power loss, an improper disk removal, or a failing physical drive that didn’t complete its last write operation. Windows locks the volume from further writes as a safety measure to prevent further data corruption until a repair scan validates consistency across all copies.

Step-by-Step Resolution Guide

  1. Open PowerShell as Administrator and check the health of your storage pool:
   Get-VirtualDisk | Get-StorageJob
   Get-PhysicalDisk | Select FriendlyName, HealthStatus, OperationalStatus

Look for any disk marked as “Unhealthy” or “Lost Communication.”

  1. Manually trigger a repair job on the affected virtual disk:
   Repair-VirtualDisk -FriendlyName "YourVirtualDiskName"

Replace "YourVirtualDiskName" with the name shown in Get-VirtualDisk. This forces Windows to run the data integrity scan immediately instead of waiting for the background scheduled task.

  1. Check Task Scheduler for the automatic repair task: Navigate to
    Task Scheduler Library > Microsoft > Windows > StorageSpaces > SpaceManager
    and manually run the task if it shows as “Ready” but hasn’t executed.

  2. Inspect the physical disk for hardware failure using:

   Get-PhysicalDisk | Get-StorageReliabilityCounter | Select DeviceId, Wear, ReadErrorsTotal, Temperature

If read/write error counts are high, the disk should be replaced and removed from the pool before it fails completely.

  1. If the scan won’t complete, remove the problematic disk from the pool (if you have redundancy) and let Storage Spaces rebuild parity onto a healthy replacement disk:
   Remove-PhysicalDisk -StoragePoolFriendlyName "YourPoolName" -PhysicalDisks (Get-PhysicalDisk -FriendlyName "DiskX")

Alternative or Verification Steps

  • After running Repair-VirtualDisk, confirm the fix by re-checking Get-VirtualDisk | Select HealthStatus — it should return “Healthy” instead of “Warning” or “Unhealthy.”
  • If repair fails repeatedly, back up all accessible data immediately and recreate the storage pool from scratch, as this indicates likely physical media failure rather than a simple metadata desync.

How to fix Error 340 on Windows 11

Windows 11 Error 340: “The Supplied Kernel Information Version Is Invalid”

Why This Error Happens

Error 340 typically occurs when there is a mismatch between the Windows kernel version and the drivers or system files attempting to interface with it, often following an incomplete Windows Update or a botched driver installation. This can also result from corrupted system files in the WinSxS store or a kernel-mode driver that was compiled against a different Windows build than the one currently installed. In some cases, third-party virtualization or security software (like antivirus kernel hooks) fails to recognize the updated kernel version signature after a feature update.

Step-by-Step Resolution Guide

  1. Run the System File Checker (SFC) and DISM tools
    Open Command Prompt as Administrator and run:
   sfc /scannow

Followed by:

   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files and restores the WinSxS component store, which often resolves kernel version mismatches.

  1. Update or Roll Back Recent Drivers
    Go to Settings > Windows Update > Advanced options > Optional updates > Driver updates. If the error started after a driver update, open Device Manager, locate the recently updated driver (commonly display, storage, or virtualization drivers), right-click it, select Properties > Driver tab > Roll Back Driver.

  2. Check for Pending Windows Updates
    Navigate to Settings > Windows Update and ensure your system is fully patched. Partial updates can leave kernel files out of sync with associated drivers. Install any pending Cumulative or Feature Updates and restart.

  3. Uninstall Recently Added Virtualization or Security Software
    If you use Hyper-V, WSL2, VMware, or third-party antivirus with kernel-level hooks, temporarily disable or uninstall these via Control Panel > Programs > Turn Windows features on or off (for Hyper-V/WSL) or the vendor’s uninstaller. Restart and check if Error 340 persists.

  4. Perform an In-Place Upgrade Repair
    If the error remains, download the Windows 11 Installation Assistant from Microsoft’s official site and choose the “Keep personal files and apps” option. This refreshes all kernel-related system files without wiping your data.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc), navigate to Windows Logs > System, and confirm Error 340 no longer appears after a fresh restart and triggering the action that previously caused it.
  • Alternative: If the error persists only within a specific application (e.g., a VM tool), check that application’s changelog for a kernel-compatible update, as it may need patching to support the current Windows 11 build version (run winver to confirm your build number).

How to fix Error 336 on Windows 11

Why This Error Happens

Error 336 (ERROR_DIRECTORY_NOT_SUPPORTED) occurs when an application or script attempts to perform a file-specific operation—such as opening, reading, or writing data—on a path that Windows recognizes as a directory rather than a file. This commonly happens due to a hardcoded or misconfigured file path in an application, a broken symbolic link/junction point, or a backup/sync tool trying to treat a folder as if it were a single file. It can also surface when File Explorer or a third-party utility encounters a corrupted directory entry in the NTFS file table.

Step-by-Step Resolution Guide

  1. Identify the exact path causing the error
    Check the application log or error dialog for the specific file/folder path. In most cases, this appears in %LOCALAPPDATA%\[AppName]\Logs or Event Viewer under Windows Logs > Application.

  2. Verify the path type using Command Prompt
    Open Command Prompt as Administrator and run:

   dir "C:\path\to\suspected\file"

If the output shows <DIR> next to the item, the application is incorrectly treating a folder as a file.

  1. Check for broken symbolic links or junctions
    Run the following to list reparse points that might be misconfigured:
   fsutil reparsepoint query "C:\path\to\suspected\file"

If it returns a junction/symlink pointing to an invalid target, remove it with:

   rmdir "C:\path\to\suspected\file"

(Only use rmdir, not del, to safely remove a link without deleting the target’s contents.)

  1. Repair the file system to rule out NTFS corruption
    Run:
   chkdsk C: /f /r

Restart when prompted. This resolves cases where a corrupted MFT entry causes a file to be misidentified as a directory.

  1. Update or reinstall the affected application
    If the error originates from a specific program (e.g., a backup tool or IDE), update it to the latest version, as this is often a known bug related to hardcoded path assumptions. If updating doesn’t help, reinstall the application to reset its default path configurations.

Alternative or Verification Steps

  • After applying the fix, retry the original action (file open, backup job, or sync task) and confirm Error 336 no longer appears in the Event Viewer or application log.
  • If the issue persists, try renaming or moving the folder in question, then recreate the expected file manually at that path to force the application to generate a fresh, correctly typed file entry.

How to fix Error 337 on Windows 11

Troubleshooting Guide: Error 337 – “The Specified Copy of the Requested Data Could Not Be Read”

Why This Error Happens

Error 337 typically occurs when Windows 11 attempts to read data from a source (such as a system file, registry hive, or backup snapshot) that is either corrupted, locked by another process, or inaccessible due to insufficient permissions. This is commonly seen with Volume Shadow Copy Service (VSS) operations, System Restore, or file synchronization tasks where the underlying data block has become unreadable due to disk errors or file system inconsistencies. In many cases, this stems from a damaged copy in the Volume Shadow Copy storage or corrupted system files that prevent Windows from retrieving a valid, complete copy of the requested data.

Step-by-Step Resolution Guide

  1. Run System File Checker (SFC) and DISM
    Open Command Prompt as Administrator and run:
   sfc /scannow

Follow this with:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC once both commands complete.

  1. Check and Repair Disk Errors
    Open Command Prompt as Administrator and run:
   chkdsk C: /f /r

Confirm the scan on next restart (type Y when prompted), then reboot to allow the scan to complete.

  1. Rebuild Volume Shadow Copy Service (if related to backups/restore points)
  • Open Services (services.msc), locate Volume Shadow Copy, right-click and select Restart.
  • Then open Command Prompt as Administrator and run:

    vssadmin delete shadows /for=C: /oldest
  • Recreate a fresh restore point via Control Panel > System > System Protection > Create.
  1. Verify Folder/File Permissions
    Navigate to the file or folder path mentioned in the error log (commonly under C:\Windows\System32\config\ or C:\System Volume Information\), right-click → Properties → Security tab, and ensure your user account and SYSTEM have Full Control.

  2. Check Event Viewer for Correlated Errors
    Open Event Viewer (eventvwr.msc) → Windows Logs > Application/System, filter for Event ID 337, and note any accompanying error codes (e.g., disk I/O errors) to pinpoint the exact failing component (backup, VSS, or file system).

Alternative or Verification Steps

  • Verify the fix: Re-run the failed operation (backup, restore, or file copy) and confirm Error 337 no longer appears in Event Viewer.
  • Alternative fix: If the issue persists and involves System Restore, disable System Protection, delete all existing restore points, then re-enable and create a new restore point from scratch.

How to fix Error 338 on Windows 11

Windows 11 Error 338: “The Specified Data Could Not Be Written to Any of the Copies”

Why This Error Happens

Error 338 is typically associated with failures in redundant storage systems, such as Storage Spaces, RAID configurations, or clustered/replicated data volumes on Windows 11. The error occurs when the system attempts to write data across multiple copies (mirrors) for redundancy, but all target disks or copy locations fail the write operation—usually due to disk corruption, a failing physical drive, insufficient disk space, or a broken storage pool. It can also surface when underlying disk permissions are restricted or when the storage subsystem loses connection to one or more physical disks mid-write.

Step-by-Step Resolution Guide

  1. Check Physical Disk Health
    Open Settings > System > Storage > Advanced storage settings > Disks & volumes, and inspect the health status of each disk. Alternatively, run wmic diskdrive get status in Command Prompt (Admin) to check for “OK” status on all drives.

  2. Run CHKDSK on Affected Volumes
    Open Command Prompt as Administrator and run:

   chkdsk C: /f /r /x

Replace C: with the affected drive letter. This scans for and repairs file system errors and bad sectors. Restart if prompted.

  1. Inspect Storage Spaces/Pool Health
    If using Storage Spaces, go to Control Panel > System and Security > Storage Spaces, and check if any pool shows a “Warning” or “Unhealthy” status. Right-click the affected pool and select Repair if available, or use PowerShell:
   Get-VirtualDisk | Repair-VirtualDisk
  1. Verify Free Disk Space
    Ensure each physical disk in the pool/array has sufficient free space (at least 10-15%). Low space can prevent successful redundant writes. Delete unnecessary files or expand the storage pool if needed.

  2. Check Event Viewer for Underlying Disk Errors
    Open Event Viewer > Windows Logs > System, filter by “Disk” or “Storage Spaces” source, and look for correlating hardware errors (Event IDs 7, 51, or 153) that indicate a failing physical drive requiring replacement.

Alternative or Verification Steps

  • Verify the fix: Re-run the operation that triggered Error 338 (e.g., file copy, backup job, or volume write), and confirm no error is logged in Event Viewer afterward.
  • Alternative solution: If a specific disk in the pool is confirmed failing, remove it from the storage pool via Storage Spaces settings, replace the physical drive, and re-add it to restore full redundancy.

How to fix Error 334 on Windows 11

Troubleshooting Guide: Error 334 – “The specified operation is not supported on a resident file”

Why This Error Happens

This error occurs when an application attempts to perform an operation—such as setting a reparse point, sparse attribute, or cloud placeholder attribute—on a file that is still fully “resident” within the Master File Table (MFT) structure of NTFS, rather than existing as a standard file with allocated clusters on disk. It is commonly triggered by cloud sync clients (like OneDrive), backup software, or deduplication tools trying to convert very small files into placeholders or sparse files before Windows has migrated them out of MFT-resident storage. Corrupted NTFS metadata or an outdated filesystem driver can also prevent the file from being properly recognized as non-resident, causing this operation to fail.

Step-by-Step Resolution Guide

  1. Identify the affected file/folder: Check the application log (Event Viewer → Windows Logs → Application, filter for Error 334) to determine the exact file path causing the issue.

  2. Run CHKDSK to repair NTFS metadata:

  • Open Command Prompt as Administrator.
  • Run: chkdsk C: /f /r
  • Restart your PC to allow the scan to complete before Windows boots fully.
  1. Force the file to become non-resident by making it slightly larger than the MFT resident threshold (~700–800 bytes depending on filename length):
  • Copy the file to a new location: copy "C:\path\to\file.ext" "C:\temp\file.ext"
  • Append a few bytes of data (e.g., open in Notepad, add a space, save).
  • Replace the original file with this modified version.
  1. Update NTFS/storage drivers:
  • Go to Settings → Windows Update → Advanced options → Optional updates → Driver updates.
  • Install any pending storage controller or filesystem driver updates.
  1. Pause or reset cloud sync clients (if using OneDrive/Dropbox/etc.):
  • Right-click the sync client icon in the system tray → Pause syncing.
  • Run %localappdata%\Microsoft\OneDrive\onedrive.exe /reset (for OneDrive) via Run dialog, then restart the client.

Alternative or Verification Steps

  • Verify the fix: Re-run the original operation (backup, sync, or dedup job) and confirm Error 334 no longer appears in Event Viewer.
  • Alternative fix: If the issue persists, move the file off the NTFS volume and back on again (e.g., to an exFAT USB drive and back), which forces Windows to rebuild its resident/non-resident allocation from scratch.

How to fix Error 335 on Windows 11

Troubleshooting Guide: Error 335 – “The Specified Operation Is Not Supported on a Compressed File”

Why This Error Happens

Error 335 occurs when an application attempts to perform a low-level file operation—such as sparse file allocation, extending a file with SetFileValidData, or direct disk I/O—on a file or folder that has NTFS compression enabled. Windows’ NTFS compression feature is incompatible with certain system calls used by databases, virtual disk files (VHD/VHDX), and backup software, because compressed files cannot be mapped to contiguous disk clusters the way these operations require. This most commonly affects SQL Server database files, Hyper-V virtual hard disks, and large media files stored in a compressed folder.

Step-by-Step Resolution Guide

  1. Identify the affected file or folder.
    Check the application log or error dialog for the exact file path (e.g., C:\ProgramData\SQL Data\mydatabase.mdf or D:\VMs\VirtualDisk.vhdx).

  2. Check if NTFS compression is enabled.

  • Right-click the file or parent folder → Properties → General tab → Advanced.
  • Look for the checkbox labeled “Compress contents to save disk space.”
  1. Disable compression on the file/folder.
  • Uncheck “Compress contents to save disk space” and click OK, then Apply.
  • When prompted, choose “Apply changes to this folder, subfolders and files” to ensure all nested files are decompressed.
  • Alternatively, use Command Prompt (run as Administrator):

    compact /u /s:"C:\Path\To\Folder" /a /i
  1. Move the file to an uncompressed volume (if disabling fails).
    If compression can’t be removed (e.g., disk space constraints trigger auto-compression), move the file to a different NTFS volume or partition that doesn’t have compression policies applied, then update the application’s configuration to point to the new location.

  2. Restart the dependent service or application.
    Restart the service that reported the error (e.g., SQL Server service via services.msc, or Hyper-V Virtual Machine Management service) so it re-reads the file without the compression attribute.

Alternative or Verification Steps

  • Verify the fix: Right-click the file → Properties → Advanced, and confirm the compression checkbox is now unchecked. Re-run the operation that previously failed and confirm Error 335 no longer appears.
  • Alternative: If you must keep compression for storage savings, use a dedicated uncompressed folder for application-critical files and configure the application to store its data files there instead of relying on compact/decompress cycles.

How to fix Error 332 on Windows 11

Windows 11 Error 332: Scrub Disabled on Specified File

Why This Error Happens

Error 332 typically occurs when the Data Deduplication or Storage Spaces “scrub” (data integrity/repair scan) feature is unable to run against a specific file because it has been explicitly excluded or flagged as unsupported. This usually happens due to file attributes (such as encryption, sparse file flags, or reparse points) that conflict with scrubbing operations, or because the file resides on a volume/path that has been manually excluded from the Data Deduplication or ReFS integrity streams configuration. Corruption in the file’s metadata or an interrupted previous scrub job can also cause the system to mark the file as permanently exempt.

Step-by-Step Resolution Guide

  1. Check File Attributes
    Open PowerShell as Administrator and run:
   Get-Item "C:\Path\To\File" | Select-Object Attributes

If the file shows Encrypted, SparseFile, or ReparsePoint, these may need to be removed before scrubbing can resume. Use Cipher /D "C:\Path\To\File" to decrypt if applicable.

  1. Verify Integrity Stream Settings (ReFS Volumes)
    If the file is on a ReFS-formatted volume, check whether integrity is disabled:
   Get-Item "C:\Path\To\File" -Stream ":$integrity"

Re-enable it with:

   Set-FileIntegrity "C:\Path\To\File" -Enable $true
  1. Inspect Data Deduplication Exclusions
    Navigate to Server Manager > File and Storage Services > Volumes, right-click the affected volume, and select Configure Data Deduplication. Check the Exclusion list under file extensions or folders and remove the specific file/folder path if listed.

  2. Run Manual Scrub via PowerShell
    Force a manual scrub job on the volume to reset the file’s scrub status:

   Start-DedupJob -Volume "D:" -Type Scrubbing -Memory 50

Monitor progress using Get-DedupJob.

  1. Check Disk Health and Repair Metadata
    Run chkdsk D: /scan (replace D: with the affected drive letter) to identify and repair underlying volume corruption that may be preventing the scrub engine from processing the file.

Alternative or Verification Steps

  • After completing the steps above, re-run Get-DedupStatus -Volume "D:" to confirm the file is no longer listed under unprocessed or excluded items, and check Event Viewer (Applications and Services Logs > Microsoft > Windows > Storage) for Event ID 332 to ensure it no longer recurs.
  • If the issue persists, copy the file to a new location on the same volume (which regenerates its metadata) and delete the original, then re-verify scrub eligibility with Get-FileIntegrity.

How to fix Error 333 on Windows 11

Why This Error Happens

Event ID 333 is generated by the spaceport driver and indicates that a Storage Spaces pool has dropped out of its configured resiliency level (Mirror or Parity). This typically occurs when one or more physical disks in the pool go offline, are disconnected, or report failing health status, leaving the remaining disks unable to maintain redundant copies of data. It can also occur after a sudden power loss, a failing SATA/USB controller, or firmware issues on one of the pool members.

Step-by-Step Resolution Guide

  1. Check Storage Spaces Health
    Open Settings > System > Storage > Advanced storage settings > Storage Spaces (or run Get-StoragePool in an elevated PowerShell). Look for pools marked “Warning” or “Unhealthy.”

  2. Identify the Failed Disk
    Run the following in an elevated PowerShell window to list physical disks and their operational status:

   Get-PhysicalDisk | Select FriendlyName, HealthStatus, OperationalStatus

Any disk showing Lost Communication, Unhealthy, or Removed is the likely cause.

  1. Reconnect or Replace the Faulty Drive
  • If the disk shows “Lost Communication,” check physical cables, SATA ports, or USB enclosures.
  • If the drive is failing, physically replace it with a new disk of equal or greater capacity.
  1. Add the Replacement Disk Back to the Pool
    Use Disk Management or PowerShell to add the new disk to the existing storage pool:
   Add-PhysicalDisk -StoragePoolFriendlyName "YourPoolName" -PhysicalDisks (Get-PhysicalDisk -CanPool $True)
  1. Repair the Virtual Disk
    Trigger a resync/repair to restore redundancy:
   Repair-VirtualDisk -FriendlyName "YourVirtualDiskName"

Monitor progress via Storage Spaces Control Panel or Get-StorageJob.

Alternative or Verification Steps

  • After repair completes, re-run Get-VirtualDisk | Select FriendlyName, HealthStatus, ResiliencySettingName — the HealthStatus should now read Healthy.
  • If the pool cannot be repaired, back up all accessible data immediately and recreate the storage pool from scratch using healthy disks, then restore data from backup.

How to fix Error 330 on Windows 11

Troubleshooting Guide: Error 330 – Invalid Path to Target Device (Windows 11)

Why This Error Happens

Error 330 typically occurs when the Windows I/O Manager attempts to send a command to a storage device (commonly optical drives, USB controllers, or disk devices) through a device path that no longer exists in the system’s device tree. This usually results from a corrupted or stale entry in the Windows Registry under the device’s class GUID, an outdated or mismatched storage/chipset driver, or a device that was improperly removed/re-enumerated without updating its associated port or symbolic link. In many cases, this is triggered after a Windows Update, driver rollback, or when a virtual/physical drive mapping becomes orphaned in the SYSTEM\CurrentControlSet\Enum tree.

Step-by-Step Resolution Guide

  1. Check Device Manager for Errors
    Open devmgmt.msc, expand Disk drives, DVD/CD-ROM drives, and Storage controllers. Look for any device with a yellow warning icon. Right-click it → Uninstall device → check “Attempt to remove the driver” → restart your PC to force re-enumeration.

  2. Update or Reinstall the Storage Controller Driver
    Go to Device Manager → Storage controllers → right-click your SATA/NVMe/USB controller → Update driver → Search automatically. If that doesn’t resolve it, download the latest chipset driver directly from your motherboard/laptop manufacturer’s website and install it manually.

  3. Clear Stale Device Entries from the Registry
    Press Win + R, type regedit, and navigate to:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SCSI
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR

Look for entries with a LEGACY or duplicate device tag that no longer corresponds to a connected device. Back up the registry first, then delete only the orphaned keys.

  1. Run the Hardware and Devices Troubleshooter
    Go to Settings → System → Troubleshoot → Other troubleshooters, run Hardware and Devices. This can automatically detect and repair broken device paths.

  2. Check for Corrupted System Files
    Open Command Prompt as Administrator and run:

   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be interfering with device path resolution.

Alternative or Verification Steps

  • Verify the fix: Reconnect the affected device (or reboot if internal), then check Event Viewer (eventvwr.msc) under Windows Logs → System to confirm Error 330 no longer appears after the next command attempt.
  • Alternative: If the error persists, perform a clean boot (via msconfig) to rule out third-party driver conflicts, or use System Restore to roll back to a point before the error started occurring.

How to fix Error 331 on Windows 11

Windows 11 Error 331: “The Command Specified a Number of Descriptors That Exceeded the Maximum Supported by the Device”

Why This Error Happens

This error typically occurs when a storage device driver (commonly related to SCSI, storage controllers, or USB mass storage devices) receives an I/O request with a scatter-gather list containing more descriptors than the hardware controller can process in a single operation. This is often triggered by outdated or mismatched storage/controller drivers, corrupted device driver configurations, or a device attempting to negotiate transfer parameters that exceed its actual hardware capabilities. It can also surface after a Windows Update that changes storage stack behavior without the device driver being updated to match.

Step-by-Step Resolution Guide

  1. Update the Storage Controller Driver
  • Press Win + X and select Device Manager.
  • Expand Storage controllers and/or Disk drives, right-click the affected device, and select Update driver.
  • Choose Search automatically for drivers. If Windows finds nothing, visit the manufacturer’s website (Intel, AMD, or the specific RAID/NVMe controller vendor) for the latest chipset/storage driver.
  1. Roll Back or Reinstall the Driver
  • In Device Manager, right-click the device → Properties → Driver tab.
  • If the issue started after a recent update, click Roll Back Driver.
  • If unavailable, click Uninstall Device (check “Delete the driver software for this device” if prompted), then restart your PC to force a clean reinstall.
  1. Check for Firmware Updates
  • Identify the affected device (external drive, SSD, or controller) via Device Manager or msinfo32.
  • Visit the manufacturer’s support page and download the latest firmware update utility, as this error is often resolved at the firmware level rather than the OS level.
  1. Modify Registry for Queue Depth (Advanced Users Only)
  • Press Win + R, type regedit, and navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[YourStorageDriver]\Parameters\Device
  • Look for a MaximumSGList or similar value. If present and set higher than the hardware default (usually 0xFF), reduce it to 0xFF (255) or the vendor-recommended value.
  • Restart the computer for changes to take effect.
  1. Run Windows Update and SFC Scan
  • Go to Settings > Windows Update and install all pending updates, including optional driver updates.
  • Open Command Prompt as Administrator and run:

    sfc /scannow
  • This repairs corrupted system files that may be malforming the I/O request stack.

Alternative or Verification Steps

  • Verify the Fix: Open Event Viewer (eventvwr.msc) → Windows Logs > System, and confirm Error 331 no longer appears after performing a full read/write test on the affected drive (e.g., copying a large file).
  • Alternative Fix: If the error persists on an external device, try connecting it to a different USB port/controller (preferably a native USB 3.0+ port rather than a hub) to rule out a port-specific descriptor limitation.

How to fix Error 328 on Windows 11

Why This Error Happens

Error 328, with the message “The command specified an invalid field in its parameter list,” typically occurs when a system utility, script, or application command references a field name or parameter that doesn’t match the expected schema — often due to an outdated WMI repository, a corrupted driver/API definition, or a syntax mismatch introduced by a recent Windows Update. This is common when automation tools (PowerShell, WMIC, or third-party scripts) pass parameters that were valid in a previous OS build but have since been deprecated or renamed. In rare cases, it stems from registry corruption affecting the command’s parameter mapping table.

Step-by-Step Resolution Guide

  1. Verify the exact command syntax: Open the script or command prompt entry that triggered the error and cross-check field names against current documentation (e.g., wmic <alias> get /? or the relevant PowerShell cmdlet’s Get-Help <cmdlet> -Full). Correct any deprecated or misspelled parameters.

  2. Rebuild the WMI Repository (if the error originates from WMI-based commands):

  • Open Command Prompt as Administrator.
  • Run: winmgmt /verifyrepository
  • If it reports inconsistency, run: winmgmt /salvagerepository
  • Restart the Windows Management Instrumentation service via services.msc.
  1. Run System File Checker and DISM to repair corrupted system components that may be causing parameter mismatches:
   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth

Restart Windows 11 after completion.

  1. Check for pending Windows Updates: Go to Settings > Windows Update and ensure all cumulative updates are installed, as Microsoft occasionally patches parameter definitions for system commands.

  2. Update or reinstall the driver/application issuing the command, since third-party software (e.g., backup tools, RMM agents) may be using outdated parameter libraries incompatible with Windows 11’s current build.

Alternative or Verification Steps

  • Re-run the original command or script after each step; if Error 328 no longer appears and the expected data/output is returned, the fix was successful.
  • If the issue persists, isolate whether it’s OS-level or application-level by running the same command on a clean Windows 11 test VM — if it works there, the problem lies with a corrupted local WMI repository or third-party software config, not Windows itself.

How to fix Error 329 on Windows 11

Troubleshooting Guide: Error 329 – “An Operation Is Currently in Progress With the Device”

Why This Error Happens

Error 329 typically occurs when Windows 11 detects that a device driver or hardware component is locked by a pending operation that hasn’t released its handle properly. This is commonly triggered by a stalled driver installation, an unresponsive background service (such as the Print Spooler or Plug and Play service), or a device that was disconnected improperly while Windows was still writing to it. In most cases, the root cause is a corrupted or “stuck” device state in the Windows Device Manager registry entries, preventing the OS from recognizing that the previous operation has actually completed.

Step-by-Step Resolution Guide

  1. Restart the Plug and Play Service
  • Press Win + R, type services.msc, and press Enter.
  • Locate Plug and Play, right-click it, and select Restart.
  • If the option is greyed out, restart the Windows Management Instrumentation service instead, then reboot your PC.
  1. Safely Disconnect and Reconnect the Device
  • Open Settings > Bluetooth & devices > Devices.
  • Locate the affected device, click the three-dot menu, and select Remove device.
  • Physically disconnect the device (unplug USB or power cycle if wireless), wait 10 seconds, then reconnect it to allow Windows to reinitialize the connection.
  1. Update or Reinstall the Device Driver
  • Open Device Manager (Win + X → Device Manager).
  • Find the device showing an error, right-click it, and choose Uninstall device.
  • Check Attempt to remove the driver for this device, then click Uninstall.
  • Restart your PC — Windows will automatically reinstall a fresh driver.
  1. Clear Pending Operations via Command Prompt
  • Open Command Prompt as Administrator.
  • Run the following to reset the device enumeration cache:

    pnputil /enum-devices
    pnputil /remove-device "Device Instance ID"
  • Reboot and reconnect the device.
  1. Check for Windows Updates
  • Go to Settings > Windows Update > Check for updates.
  • Install any pending driver or cumulative updates, as this error is sometimes tied to an outdated Plug and Play subsystem.

Alternative or Verification Steps

  • Verify the fix: Reopen Device Manager and confirm the device no longer shows a yellow warning icon, and try performing the original action (e.g., copying files, printing, syncing) without the error reappearing.
  • Alternative fix: If the issue persists, run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt to repair underlying system file corruption that may be interfering with device communication.

How to fix Error 324 on Windows 11

Troubleshooting Guide: Error 324 – Kernel and Normal EA Conflict in Same Operation

Why This Error Happens

Error 324 occurs when an application or system process attempts to modify a KERNEL-type Extended Attribute (EA) and a normal EA on the same file or directory within a single I/O operation. Windows NTFS strictly separates these two EA classes at the filesystem driver level, and the NTFS/IO manager rejects any request that tries to combine them, returning STATUS_EA_CORRUPT_ERROR (mapped to Win32 Error 324). This typically stems from a buggy filesystem filter driver, a malfunctioning backup/antivirus agent, or corrupted EA metadata left behind by an improperly terminated write operation.

Step-by-Step Resolution Guide

  1. Identify the offending file/process
    Open Event Viewer (eventvwr.msc) → Windows Logs → Application/System, and filter for Error 324. Note the file path and the process name (e.g., backup agent, AV scanner) listed in the event details.

  2. Check and repair NTFS metadata
    Open an elevated Command Prompt and run:

   chkdsk C: /f /r

Reboot when prompted. This rebuilds corrupted EA structures NTFS maintains in the $EA and $EA_INFORMATION attributes.

  1. Update or roll back filesystem filter drivers
    Run fltmc filters in an elevated Command Prompt to list all active filter drivers (antivirus, backup, DLP tools often inject here). Update each associated third-party agent to its latest build, since this error is commonly triggered by outdated EA-handling code in these drivers.

  2. Strip corrupted Extended Attributes manually
    For the specific flagged file, use a tool like fsutil to inspect/reset EAs:

   fsutil file queryEA "C:\Path\To\File.ext"

If EAs appear malformed, copy the file’s contents to a new file (which won’t carry over corrupted EA metadata) and replace the original.

  1. Disable third-party EA-writing software temporarily
    Boot into Safe Mode (Settings → System → Recovery → Advanced startup) and disable/uninstall recently installed backup, encryption, or antivirus software that may be issuing conflicting EA write calls, then retest the original operation.

Alternative or Verification Steps

  • After applying fixes, retry the original file operation (backup job, copy, or application task) and confirm no Error 324 entries appear in Event Viewer over the next 24 hours.
  • If the issue persists, run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth to rule out corrupted system files interacting with the NTFS driver stack.

How to fix Error 326 on Windows 11

Why This Error Happens

This error occurs when Windows attempts to send a file-level TRIM command to a storage device (typically during disk optimization or defragmentation) that either doesn’t support this specific TRIM implementation or has it disabled at the controller/driver level. It commonly appears with older SSDs, certain USB-to-SATA/NVMe enclosures, RAID configurations, or drives connected through controllers that only support the older “whole-device” TRIM rather than granular file-level TRIM. Outdated or generic storage drivers (rather than vendor-specific ones) are also a frequent cause, since they may not properly relay TRIM capability information to the OS.

Step-by-Step Resolution Guide

  1. Verify TRIM status via Command Prompt
    Open Command Prompt as Administrator and run:
   fsutil behavior query DisableDeleteNotify

A result of 0 means TRIM is enabled at the OS level; 1 means it’s disabled.

  1. Update the storage driver
    Go to Device Manager > Disk Drives, right-click your drive, select Update Driver > Search automatically for drivers. If using an SSD, download the manufacturer-specific driver/toolbox (e.g., Samsung Magician, Crucial Storage Executive, Intel Rapid Storage Technology) instead of relying on the generic Microsoft driver.

  2. Check the connection interface
    If the drive is external (via USB enclosure or dock), TRIM commands often don’t pass through USB-to-SATA bridge chips. Try connecting the drive directly to a SATA or NVMe/M.2 slot on the motherboard to confirm if the error persists.

  3. Update firmware and chipset drivers
    Visit the drive manufacturer’s website and install the latest firmware for the SSD, then update your motherboard’s chipset drivers (especially AHCI/NVMe controller drivers) from the OEM support page.

  4. Disable scheduled optimization for unsupported drives (workaround)
    Open Settings > System > Storage > Advanced Storage Settings > Optimize Drives. Select the affected drive and click Change settings, then uncheck it from the scheduled optimization list to prevent the error from recurring, since forcing TRIM on unsupported hardware provides no benefit.

Alternative or Verification Steps

  • After updating drivers/firmware, manually run Optimize Drives (search it in the Start menu) on the affected disk and confirm it completes without throwing Error 326.
  • If the drive still doesn’t support file-level TRIM after driver/firmware updates, this is a hardware limitation — continue using the drive normally, as lack of TRIM support mainly affects long-term write performance rather than data integrity.

How to fix Error 327 on Windows 11

Windows 11 Troubleshooting Guide: Error 327 – Data Offset Alignment Failure

Why This Error Happens

Error 327 occurs when a read/write operation attempts to access a storage device at a byte offset that does not match the device’s physical sector size (commonly 4K Advanced Format drives, or NVMe drives with non-standard LBA formatting). This typically happens after cloning a drive, resizing a partition with third-party tools, or when a virtual disk (VHD/VHDX) is misaligned relative to the underlying physical media. Corrupted partition table entries or outdated storage controller drivers can also cause the OS to issue improperly aligned I/O requests.

Step-by-Step Resolution Guide

  1. Check Partition Alignment
    Open Command Prompt as Administrator and run:
   wmic partition get StartingOffset, Name

The StartingOffset value should be evenly divisible by 4096 (4K). If it isn’t, the partition is misaligned.

  1. Update Storage Controller Drivers
    Go to Device Manager > Disk drives and Storage controllers, right-click your drive/controller, and select Update driver. Also check the manufacturer’s website (Samsung, WD, Intel RST, etc.) for the latest NVMe/AHCI driver.

  2. Run CHKDSK to Repair File System Errors
    In an elevated Command Prompt, run:

   chkdsk C: /f /r

Restart if prompted. This corrects file system inconsistencies that may be causing malformed offset requests.

  1. Recreate the Partition with Correct Alignment
    If alignment is confirmed incorrect, back up your data, then use Diskpart to delete and recreate the partition:
   diskpart
   list disk
   select disk X
   clean
   create partition primary align=1024
   format fs=ntfs quick

The align=1024 parameter (in KB) ensures compatibility with 4K sector drives.

  1. Check Virtual Disk Alignment (If Using VHD/VHDX)
    Mount the virtual disk via Disk Management > Attach VHD, then verify its internal partition offset using Step 1. Recreate the VHD with proper alignment tools (e.g., New-VHD in PowerShell with default GPT formatting) if misalignment is found.

Alternative or Verification Steps

  • Verify the fix: Re-run wmic partition get StartingOffset, Name — the offset should now be a multiple of 4096, and the original operation (backup, disk clone, etc.) should complete without Error 327.
  • Alternative: If reformatting isn’t feasible, use a dedicated alignment tool (e.g., Paragon Alignment Tool or Macrorit Partition Align) to non-destructively shift the partition into proper alignment.

How to fix Error 322 on Windows 11

Windows 11 Error 322: “Insufficient Resources to Complete the Operation”

Why This Error Happens

Error 322 typically occurs when the system runs out of available memory, handles, or network resources needed to complete a requested operation, often triggered during remote connections, WMI queries, or resource-intensive background processes. This can result from memory leaks in a running process, exhausted virtual memory (page file), or a capped resource pool caused by Group Policy or registry restrictions. In many cases, this is exacerbated by too many concurrent connections or an outdated driver mismanaging system handles.

Step-by-Step Resolution Guide

  1. Check and Increase Virtual Memory (Page File):
  • Go to Settings > System > About > Advanced system settings.
  • Under the Advanced tab, click Settings under Performance, then go to the Advanced tab again.
  • Click Change under Virtual Memory, uncheck “Automatically manage paging file size for all drives,” and set a custom size (e.g., Initial: 4096 MB, Maximum: 8192 MB) on your system drive (usually C:).
  1. Identify and Terminate Resource-Hogging Processes:
  • Open Task Manager (Ctrl + Shift + Esc) and sort by Memory or Handles (enable the Handles column via View > Select Columns if using the classic view, or check the Details tab).
  • End any process consuming excessive resources that isn’t critical to system operation.
  1. Increase System Resource Limits via Registry (for advanced users):
  • Press Win + R, type regedit, and navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems
  • Check the Windows key value for any hardcoded limits on shared sections (look for SharedSection=1024,20480,768 or similar) and increase the second/third values slightly if you suspect GDI/User handle exhaustion. Back up the registry before editing.
  1. Update Network and Storage Drivers:
  • Go to Device Manager (Win + X > Device Manager).
  • Expand Network adapters and Storage controllers, right-click each device, and select Update driver > Search automatically for drivers.
  1. Run System File Checker and DISM:
  • Open Command Prompt as Administrator and run:

    sfc /scannow
  • Follow with:

    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your computer once both scans complete.

Alternative or Verification Steps

  • Verify the fix: Reopen the application or retry the operation that triggered Error 322. Monitor Task Manager’s Performance tab to confirm memory and handle usage remain stable during the task.
  • Alternative solution: If the error persists, check for pending Windows Updates (Settings > Windows Update) or consider performing a clean boot (msconfig > Services > Hide all Microsoft services > Disable all) to rule out third-party software conflicts consuming system resources.

How to fix Error 323 on Windows 11

Windows 11 Error 323: Data Integrity Checksum Error – Troubleshooting Guide

Why This Error Happens

Error 323 typically indicates that the NTFS file system has detected a mismatch between the stored checksum and the actual data in a file stream, usually due to disk corruption, bad sectors, or an improperly terminated write operation (such as a sudden power loss or forced shutdown). This can also occur if Windows’ Data Integrity Scanning feature (used with ReFS or Storage Spaces) flags a file whose metadata no longer matches its content. In some cases, faulty RAM or a failing storage drive can corrupt data in transit before it’s even written to disk, triggering this checksum validation failure.

Step-by-Step Resolution Guide

  1. Run CHKDSK to scan and repair the file system:
    Open Command Prompt as Administrator and run:
   chkdsk C: /f /r /x

This will scan for bad sectors and attempt to recover readable information. You may be prompted to schedule this on next restart—type Y and reboot.

  1. Verify system file integrity using SFC and DISM:
    In an elevated Command Prompt, run:
   sfc /scannow

Followed by:

   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be causing checksum mismatches.

  1. Check the drive’s health status:
    Open Settings > System > Storage > Disks & volumes, select the affected drive, and click Properties. Review the SMART status via a tool like wmic diskdrive get status in Command Prompt, or use CrystalDiskInfo for a more detailed health report.

  2. If using ReFS or Storage Spaces, run a manual integrity repair:
    Open PowerShell as Administrator and run:

   Repair-Volume -DriveLetter C -Scan

If corruption is found, follow up with:

   Repair-Volume -DriveLetter C -SpotFix
  1. Test physical memory for errors:
    Since RAM issues can corrupt data before it’s written, run Windows Memory Diagnostic (search “Windows Memory Diagnostic” in the Start menu) and restart to complete the test.

Alternative or Verification Steps

  • After completing the steps above, try re-copying or re-accessing the originally affected file/stream to confirm the error no longer appears.
  • If the error persists, back up your data immediately and consider replacing the physical drive, as repeated checksum failures often indicate imminent hardware failure.

How to fix Error 320 on Windows 11

Troubleshooting Guide: Error 320 – Invalid Central Access Policy from Active Directory

Why This Error Happens

Error 320 occurs when the Central Access Policy (CAP) retrieved from Active Directory contains a reference to a Central Access Rule or claim type that no longer exists, has been corrupted, or was improperly replicated across domain controllers. This typically happens due to incomplete Group Policy replication, a mismatch between the CAP definition and its associated Central Access Rules in the Dynamic Access Control (DAC) configuration, or stale/cached policy data on the local machine. It can also occur if the CAP was deleted or modified in Active Directory Administrative Center (ADAC) without updating the linked Group Policy Object (GPO).

Step-by-Step Resolution Guide

  1. Verify the Central Access Policy in Active Directory:
    Open Active Directory Administrative Center (ADAC) → navigate to Dynamic Access Control > Central Access Policies. Confirm the policy referenced by the affected GPO still exists and is correctly linked to valid Central Access Rules.

  2. Check and Repair Central Access Rules:
    In the same DAC console, inspect Central Access Rules. Ensure each rule tied to the policy has valid Resource Conditions and Target Resources — a broken or missing claim type is a common cause of Error 320.

  3. Force Group Policy and AD Replication:
    On the affected Windows 11 machine, run:

   gpupdate /force

On the Domain Controller, force replication using:

   repadmin /syncall /A /e /P
  1. Clear Cached Policy Data Locally:
    Delete the cached CAP files from:
   C:\Windows\System32\GroupPolicy\DataStore\

Then restart the Group Policy Client service via services.msc or run gpupdate /force again to rebuild the cache.

  1. Recreate the Central Access Policy (if corruption persists):
    If the policy remains invalid, delete and recreate the CAP in ADAC, re-link it to the correct Central Access Rules, and reassign it via Group Policy under:
   Computer Configuration > Windows Settings > Security Settings > File System > Central Access Policy

Alternative or Verification Steps

  • Run gpresult /h report.html on the client machine and check the File System section to confirm the Central Access Policy now applies without errors.
  • If the issue persists, temporarily unlink the GPO containing the CAP, allow policy to refresh cleanly, then re-link it — this often resolves stale policy state issues without needing a full CAP rebuild.

How to fix Error 321 on Windows 11

Why This Error Happens

Error 321 typically occurs when Windows 11 loses its ability to communicate with a networked device due to a disrupted network discovery service or blocked communication port. This is commonly caused by the Windows Firewall blocking the required ports (often TCP 443 or UDP 3702 for WS-Discovery), a disabled “Function Discovery Resource Publication” service, or a stale ARP/DNS cache entry pointing to an outdated IP address for the device. In some cases, corrupted network adapter drivers or incorrect network profile settings (Public vs. Private) can also trigger this unreachable status.

Step-by-Step Resolution Guide

  1. Check Network Discovery Services
    Press Win + R, type services.msc, and press Enter. Locate Function Discovery Provider Host and Function Discovery Resource Publication. Ensure both are set to Automatic and are currently Running. Right-click each and select Start if they are stopped.

  2. Verify Firewall Rules
    Go to Control Panel > System and Security > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall. Ensure Network Discovery and File and Printer Sharing are checked for both Private and Public networks (or at least Private, if the device is on a trusted network).

  3. Flush DNS and Reset ARP Cache
    Open Command Prompt as Administrator and run the following commands sequentially:

   ipconfig /flushdns
   netsh interface ip delete arpcache

This clears outdated address mappings that may be causing Windows to reach an incorrect or dead endpoint for the device.

  1. Confirm Network Profile Type
    Navigate to Settings > Network & Internet > Wi-Fi (or Ethernet) > [Your Network]. Ensure the network profile is set to Private network, as Public profiles restrict discovery and device communication.

  2. Update Network Adapter Drivers
    Open Device Manager, expand Network adapters, right-click your active adapter, and select Update driver > Search automatically for drivers. Restart your PC after updating.

Alternative or Verification Steps

  • After completing the steps, try pinging the device via Command Prompt (ping [device IP]) to confirm connectivity is restored, or check if it appears again under Settings > Bluetooth & devices.
  • If the issue persists, try connecting the device via a different network adapter (e.g., switch from Wi-Fi to Ethernet) to rule out adapter-specific driver conflicts.

How to fix Error 317 on Windows 11

Troubleshooting Guide: Error 317 – “The system cannot find message text for message number 0x%1 in the message file for %2”

Why This Error Happens

This error occurs when the Windows Event Log service tries to display a log entry but cannot locate the corresponding message resource DLL (or .exe/.mui file) referenced in the registry for that event source. This typically happens because the application or driver that generated the log was uninstalled, updated, or corrupted, leaving behind a “dangling” registry pointer to a message file that no longer exists on disk. It can also occur due to file path mismatches after an OS upgrade (e.g., moving from Windows 10 to Windows 11) or a corrupted System32 file.

Step-by-Step Resolution Guide

  1. Identify the Faulty Event Source
    Open Event Viewer (eventvwr.msc), locate the log entry showing Error 317, and note the Source name listed in the General tab (e.g., “MyAppService”).

  2. Check the Registry for the Broken Path
    Press Win + R, type regedit, and navigate to:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\[SourceName]

Look at the EventMessageFile value. Verify the file path listed actually exists on your Windows 11 drive.

  1. Repair or Reinstall the Associated Software
    If the path points to a missing .dll or .exe (common with third-party apps or drivers), reinstall or repair that specific application. This restores the missing message file to its expected location.

  2. Run System File Checker (SFC) and DISM
    If the missing file is a core Windows component, corruption may be the cause. Run Command Prompt as Administrator and execute:

   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth
  1. Remove the Orphaned Registry Key (If Source is Obsolete)
    If the software is permanently uninstalled and no longer needed, you can safely delete the orphaned key from Step 2 to stop the Event Log from generating this error. (Always export/back up the key before deleting.)

Alternative or Verification Steps

  • Verify the Fix: Reproduce the action that originally triggered the log entry, then check Event Viewer again to confirm the message now displays plain text instead of the 0x% placeholder error.
  • Alternative Fix: If SFC/DISM fails to resolve a system-level path issue, use Windows Update to check for the latest cumulative update, as Microsoft occasionally patches broken message file references in specific KB releases.

How to fix Error 318 on Windows 11

Windows 11 Troubleshooting Guide: Error 318 – “The Scope Specified Was Not Found”

Why This Error Happens

Error 318 occurs when an application or system process attempts to reference a scope object—such as a DHCP scope, a Group Policy scope, or a Windows Firewall connection security rule scope—that no longer exists in the configuration database. This typically happens due to a corrupted or incomplete configuration file, a scope that was manually deleted while still referenced elsewhere, or a registry entry pointing to an outdated or removed scope ID. It can also surface when a service starts before its dependent configuration has fully loaded, causing it to look for a scope that hasn’t been initialized yet.

Step-by-Step Resolution Guide

  1. Identify the source service triggering the error.
    Open Event Viewer (eventvwr.msc) → navigate to Windows Logs > System → filter by Event ID 318. Note the source (e.g., DHCP-Server, GroupPolicy, or Windows Firewall) to determine which component is affected.

  2. If related to DHCP Server scope:

  • Open DHCP Manager (dhcpmgmt.msc).
  • Right-click the server node → All Tasks > Reconcile All Scopes.
  • If a scope is missing, recreate it manually via Action > New Scope, matching the original IP range and subnet mask.
  1. If related to Group Policy scope:
  • Open Group Policy Management Console (gpmc.msc).
  • Check for orphaned GPO links under Group Policy Objects.
  • Run the following command to force a policy refresh and clear stale scope references:

    gpupdate /force
  • If the error persists, use gpresult /h report.html to generate a report and identify the broken scope link.
  1. If related to Windows Firewall or IPsec scope:
  • Open Windows Defender Firewall with Advanced Security (wf.msc).
  • Navigate to Connection Security Rules, right-click the affected rule → Properties > Scope tab.
  • Remove and re-add the IP address range or subnet that is missing, then click Apply.
  1. Rebuild the configuration database (if corruption is suspected):
  • Stop the affected service (e.g., net stop dhcpserver).
  • Navigate to C:\Windows\System32\dhcp\ (for DHCP) and rename the .mdb and .log files to .bak.
  • Restart the service to regenerate a clean database: net start dhcpserver.

Alternative or Verification Steps

  • Verify the fix: Reopen Event Viewer and confirm no new Event ID 318 entries appear after restarting the affected service. Also check the relevant management console (DHCP/GPMC/Firewall) to ensure the scope now displays correctly without errors.
  • Alternative fix: If the issue persists, restore the last known good configuration using System Restore (rstrui.exe) to a point before the scope was deleted or corrupted.

How to fix Error 319 on Windows 11

Troubleshooting Guide: Error 319 – Central Access Policy Not Defined on Target Machine

Why This Error Happens

This error occurs when a file server or resource attempts to apply a Central Access Policy (CAP) that is referenced in its local security configuration but does not actually exist in Active Directory, or has not yet been retrieved by the target machine. This typically happens when a CAP was deployed via Group Policy but the policy’s GUID was later deleted, renamed, or never properly published in AD, causing a mismatch between the local machine’s policy cache and the domain’s actual CAP definitions. It can also occur due to Group Policy replication delays across domain controllers or an outdated Group Policy cache on the client/server.

Step-by-Step Resolution Guide

  1. Verify the Central Access Policy exists in Active Directory
    Open Active Directory Administrative Center (ADAC) → navigate to Dynamic Access Control → Central Access Policies. Confirm the specific CAP referenced by the error is present and not deleted or corrupted.

  2. Check the Group Policy Object (GPO) applying the CAP
    Open Group Policy Management Console (gpmc.msc), locate the GPO under Computer Configuration > Windows Settings > Security Settings > File System > Central Access Policy, and confirm it references a valid, existing policy. Remove and re-add the CAP if it points to an orphaned GUID.

  3. Force a Group Policy update on the target machine
    On the affected Windows 11 machine, open an elevated Command Prompt and run:

   gpupdate /force

Restart the machine afterward to ensure the updated CAP definitions are cached locally.

  1. Clear the stale Central Access Policy cache
    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CentralAccessPolicies in the Registry Editor and verify there are no orphaned policy entries that no longer match AD. Remove any invalid keys carefully (back up the registry first), then re-run gpupdate /force.

  2. Re-link and redeploy the CAP via GPO
    If the policy still fails to apply, unlink the GPO, allow a replication cycle (or force replication with repadmin /syncall), then re-link the GPO to the appropriate OU containing the target machine.

Alternative or Verification Steps

  • After applying fixes, run gpresult /h report.html on the target machine and confirm the correct Central Access Policy appears under Applied GPOs without errors.
  • If the issue persists, temporarily unassign the CAP from the resource’s security descriptor, confirm normal access works, then reassign a freshly recreated CAP with a new GUID to rule out a corrupted policy definition.

How to fix Error 315 on Windows 11

Windows 11 Error 315: “The Token Representing the Data is Invalid”

Why This Error Happens

Error 315 typically occurs when Windows encounters a corrupted or malformed security token during an authentication or data validation process, often linked to Data Protection API (DPAPI) operations or Windows Security component communication. This can result from corrupted user profile data, damaged registry entries related to credential storage, or an interrupted Windows Update that left token-handling files in an inconsistent state. In many cases, third-party security software or VPN clients interfering with Windows’ credential manager can also trigger this invalid token state.

Step-by-Step Resolution Guide

  1. Run the System File Checker (SFC) and DISM tools to repair corrupted system files:
  • Open Command Prompt as Administrator (right-click Start > Terminal (Admin))
  • Run: sfc /scannow
  • Follow with: DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your computer once both commands complete.
  1. Clear the Credential Manager cache:
  • Navigate to Control Panel > User Accounts > Credential Manager
  • Remove any Windows Credentials or Generic Credentials related to the affected application
  • Restart the application to regenerate fresh tokens.
  1. Reset the Windows Security token cache via PowerShell (Admin):
  • Run: Get-Process -Name "*SecurityHealth*" | Stop-Process -Force
  • Navigate to C:\ProgramData\Microsoft\Windows Security Health\ and rename the folder to .old
  • Restart the service via services.msc, locating “Windows Security Service” and clicking Restart.
  1. Check and repair your user profile registry hive:
  • Press Win + R, type regedit, and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  • Look for duplicate SID entries (e.g., ones ending in .bak) and back up/remove the corrupted duplicate.
  • Restart Windows Explorer via Task Manager to apply changes.
  1. Reinstall or repair the affected application/component if the error is tied to a specific program:
  • Go to Settings > Apps > Installed Apps
  • Locate the app throwing Error 315, select Modify or Repair if available; otherwise uninstall and reinstall.

Alternative or Verification Steps

  • Verify the fix: Reproduce the original action that triggered Error 315 (e.g., login, data sync, or file access) and confirm no error dialog appears; check Event Viewer (eventvwr.msc) under Windows Logs > Application for a clean log with no new Error 315 entries.
  • Alternative fix: If the issue persists, create a new local user profile (Settings > Accounts > Family & other users > Add account) and migrate your data—this bypasses a potentially corrupted profile-level token store entirely.

How to fix Error 316 on Windows 11

Why This Error Happens

Error 316 with the message “The device does not support the command feature” typically occurs when Windows 11 attempts to send an IOCTL (Input/Output Control) command to a hardware device using a driver that doesn’t recognize or support that specific command set. This commonly happens after a Windows Update replaces a generic driver with one that lacks vendor-specific extensions, or when an outdated/generic driver is loaded instead of the manufacturer’s proprietary driver. It can also occur if the device’s firmware is outdated and doesn’t expose the command interface that the OS or a management utility (like disk management tools, printer utilities, or storage array software) is trying to invoke.

Step-by-Step Resolution Guide

  1. Identify the affected device
    Open Device Manager (Win + X → Device Manager), locate the device throwing the error (commonly disk drives, USB controllers, or printers), and check the Driver tab for the current version and provider.

  2. Update to the manufacturer’s official driver
    Do not rely on the generic Microsoft driver. Visit the device manufacturer’s support site, download the latest WHQL-certified driver for Windows 11, and install it manually via:
    Device Manager → Right-click device → Update driver → Browse my computer for drivers

  3. Update device firmware
    Check the manufacturer’s firmware update utility (common for SSDs, RAID controllers, and network cards) and apply the latest firmware. Outdated firmware often lacks support for newer command sets that Windows 11 expects.

  4. Roll back or reinstall the driver if the issue started after an update
    If the error appeared after a Windows Update:
    Device Manager → Right-click device → Properties → Driver tab → Roll Back Driver
    If rollback isn’t available, uninstall the device (check “Delete the driver software for this device”), then reboot to force Windows to reinstall a clean driver.

  5. Run Windows Update and hardware troubleshooter
    Go to Settings → Windows Update → Advanced options → Optional updates to check for driver updates Microsoft may be holding back, and run Settings → System → Troubleshoot → Other troubleshooters → Hardware and Devices.

Alternative or Verification Steps

  • Verify the fix: Reopen Device Manager and confirm no yellow warning icon appears on the device; re-run the original application or command that triggered Error 316 to confirm it completes without failure.
  • Alternative fix: If the error persists on a storage device, use the manufacturer’s dedicated diagnostic tool (e.g., vendor SSD toolbox) instead of Windows’ built-in utilities, as these often use compatible legacy command sets that bypass the unsupported IOCTL call.

How to fix Error 313 on Windows 11

Why This Error Happens

Error 313 occurs when an application, script, or utility attempts to directly access, rename, delete, or write to a reserved NTFS metadata file (such as $MFT, $LogFile, $Bitmap, or $Secure). These files exist outside the standard file system namespace and are locked by the OS kernel to protect volume integrity, so Windows blocks any direct read/write handle requests to them. This is most commonly triggered by third-party backup tools, disk-imaging software, antivirus scanners, or custom scripts that enumerate the drive root and mistakenly try to process these hidden system files as if they were regular data.

Step-by-Step Resolution Guide

  1. Identify the offending process: Open Event Viewer (eventvwr.msc) → Windows Logs → Application/System, and locate the Error 313 entry. Note the source application and the exact file path referenced (it will contain a $ prefix, e.g., $MFT).

  2. Update or reconfigure the third-party tool: If a backup, antivirus, or disk-cloning tool triggered the error, check for a pending update from the vendor. Most modern versions include an exclusion list for NTFS metadata files — manually add the root of the affected drive (e.g., C:\) to the tool’s exclusion/skip-system-files list.

  3. Run CHKDSK to rule out corruption: Open Command Prompt as Administrator and run:

   chkdsk C: /f /r

Schedule the scan on next restart if prompted, then reboot and allow it to complete. This repairs any underlying MFT or volume bitmap corruption that may cause the OS to defensively block access.

  1. Disable direct raw volume access in the failing script/app: If you’re running a custom script or command that scans C:\ recursively (e.g., using robocopy, xcopy, or PowerShell Get-ChildItem -Force), explicitly exclude system files:
   Get-ChildItem -Path C:\ -Force | Where-Object { $_.Attributes -notmatch "System" }
  1. Check disk health via Storage settings: Go to Settings → System → Storage → Disks & volumes, select the affected drive, and click Properties → Check. Repair any reported errors before retrying the original operation.

Alternative or Verification Steps

  • After applying fixes, retry the original operation (backup job, script, or copy task) and confirm Error 313 no longer appears in Event Viewer.
  • If the issue persists, boot into Safe Mode and re-run the failing application in isolation — this helps confirm whether a background service (like antivirus real-time scanning) is interfering with file system handles.

How to fix Error 314 on Windows 11

Windows 11 Error 314: “The Physical Resources of This Disk Have Been Exhausted” — Troubleshooting Guide

Why This Error Happens

This error typically occurs when a virtual hard disk (VHD/VHDX) or a thinly-provisioned storage volume reaches its maximum allocated physical space, even though the logical drive reports available capacity. It commonly affects Hyper-V virtual machines, Storage Spaces pools, or dynamically expanding disks where the underlying physical storage runs out before the virtual disk’s defined size limit is reached. Fragmented free space or a corrupted disk allocation table can also trigger this error even when raw capacity appears sufficient.

Step-by-Step Resolution Guide

  1. Check actual physical disk space
    Open File Explorer > This PC, right-click the affected drive, and select Properties. Compare “Used space” against the physical disk capacity—not the virtual/logical size shown in Disk Management.

  2. Free up space on the host/physical volume
    Run Disk Cleanup (search “Disk Cleanup” in Start Menu), select the affected drive, and remove temporary files, system restore points, and Windows Update cache. Alternatively, use cleanmgr /sageset:1 in an elevated Command Prompt for advanced cleanup options.

  3. Inspect Storage Spaces or VHD configuration
    Go to Settings > System > Storage > Advanced storage settings > Storage Spaces. Verify the pool hasn’t exceeded its physical drive capacity. For VHDX files, open Disk Management (diskmgmt.msc), right-click the virtual disk, and select Edit to check if it’s a dynamically expanding disk nearing its physical limit.

  4. Compact or expand the virtual disk
    If using Hyper-V, shut down the VM, open Hyper-V Manager > Edit Disk, and choose Compact to reclaim unused space, or Expand if additional physical storage is available on the host.

  5. Run CHKDSK to repair allocation errors
    Open Command Prompt as Administrator and run:

   chkdsk C: /f /r

Replace C: with the affected drive letter. Restart if prompted, as this may require a reboot to complete the scan.

Alternative or Verification Steps

  • After cleanup, re-check drive properties in File Explorer and attempt the original file operation or VM startup to confirm the error no longer appears.
  • If the issue persists, add additional physical storage to the pool/host or migrate data to a larger disk using Settings > System > Storage > Manage Disks and Volumes.

How to fix Error 310 on Windows 11

Troubleshooting Guide: Error 310 – Invalid Exception Handler Routine Detected (Windows 11)

Why This Error Happens

Error 310 occurs when the Windows kernel detects that a registered Structured Exception Handling (SEH) routine points to an invalid, corrupted, or unallocated memory address. This is typically caused by corrupted system files, a faulty driver improperly registering an exception handler, or memory corruption from failing RAM. In many cases, this is also triggered by SEH Overwrite Protection (SEHOP) flagging a third-party application or outdated driver attempting to hook into the exception chain incorrectly.

Step-by-Step Resolution Guide

  1. Run System File Checker and DISM
    Open Command Prompt as Administrator (right-click Start → Terminal (Admin)) and run:
   sfc /scannow

Once complete, run:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC after both complete successfully.

  1. Update All Device Drivers (especially chipset and storage)
    Go to Settings → Windows Update → Advanced Options → Optional Updates → Driver Updates, and install any pending driver updates. For critical drivers (chipset, storage controller), download the latest versions directly from your motherboard/laptop manufacturer’s website rather than relying solely on Windows Update.

  2. Check and Adjust SEHOP Settings via Registry
    Press Win + R, type regedit, and navigate to:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel

Look for a DWORD value named DisableExceptionChainValidation. If it doesn’t exist, create it and set the value to 1 temporarily to test if a third-party app is causing false triggers. Note: This is a diagnostic step only — revert to 0 or delete the key once the actual driver/app conflict is resolved, as disabling this permanently reduces security.

  1. Test Physical Memory (RAM)
    Run Windows Memory Diagnostic: press Win + R, type mdsched.exe, and select Restart now and check for problems. Let it complete a full pass; if errors are reported, reseat or replace the faulty RAM module.

  2. Perform a Clean Boot to Isolate Conflicting Software
    Go to Settings → Apps → Startup, disable all non-Microsoft startup items, then open msconfig.exe → Services tab → check “Hide all Microsoft services” → Disable all. Restart and see if Error 310 persists to identify a conflicting third-party application.

Alternative or Verification Steps

  • Verify the fix: Open Event Viewer (eventvwr.msc) → Windows Logs → System, and confirm Error 310 no longer appears after triggering the same action/application that previously caused it.
  • Alternative solution: If the error persists, perform a Windows 11 in-place upgrade repair (mount the ISO and run setup.exe, choosing “Keep personal files and apps”) to replace corrupted system components without a full reinstall.

How to fix Error 311 on Windows 11

Why This Error Happens

Error 311 (ERROR_DUPLICATE_PRIVILEGES) is a low-level Windows security API error that occurs when a process calls functions like AdjustTokenPrivileges, LogonUser, or CreateProcessAsUser with a privilege list that contains the same privilege (LUID) more than once. This is almost never caused by the OS itself — it’s typically triggered by a buggy script, a third-party security/backup/virtualization tool, or a scheduled task that builds its access token privileges programmatically and accidentally duplicates an entry. It can also surface when Group Policy or a local security template has overlapping “User Rights Assignment” entries that get merged incorrectly when a token is built.

Step-by-Step Resolution Guide

  1. Identify the triggering process
    Open Event Viewer (Win + X → Event Viewer) → Windows Logs → System and Application. Locate the Error 311 entry, note the Source and the exact time it occurred — this tells you which application, service, or task is generating the faulty token request.

  2. Check Scheduled Tasks for misconfigured security settings
    Open Task Scheduler (taskschd.msc), locate the task that runs around the time of the error. Right-click → Properties → General tab → re-check “Run with highest privileges” (toggle it off, apply, then re-enable if needed). If the issue persists, delete and recreate the task from scratch rather than editing the existing XML, since manually edited task XML files are a common source of duplicate <Privilege> nodes.

  3. Audit Local Security Policy for duplicate entries
    Open secpol.msc → Local Policies → User Rights Assignment. Go through each policy (especially ones recently modified, like Log on as a service, Adjust memory quotas, or Replace a process level token) and confirm no account/group appears twice within the same policy. Remove duplicates, then run:

   gpupdate /force
  1. Update or reinstall the third-party application
    If the error correlates with a specific backup, antivirus, RDP, or virtualization tool (common culprits), check the vendor’s site for a patch — this is a known bug class in apps that manually construct TOKEN_PRIVILEGES structures. Reinstalling the latest version usually resolves it if it’s a known vendor bug.

  2. Trace the exact API call with Process Monitor (advanced)
    Download Process Monitor (Sysinternals), filter by the process identified in Step 1, and watch for AdjustTokenPrivileges or LogonUser calls failing with status DUPLICATE_PRIVILEGES. This confirms exactly which config file, registry key, or script is feeding the duplicate privilege list, so you can edit that source directly.

Alternative or Verification Steps

  • Reproduce the original action (run the scheduled task, restart the service, or trigger the app’s login) and confirm Error 311 no longer appears in Event Viewer.
  • If the error still occurs after policy and task fixes, run System File Checker (sfc /scannerow) and DISM /Online /Cleanup-Image /RestoreHealth to rule out corrupted system files affecting token handling as a last resort.

How to fix Error 312 on Windows 11

Windows 11 Error 312: “No Ranges for the Specified Operation Were Able to Be Processed”

Why This Error Happens

Error 312 typically occurs when the Windows Backup service, Storage Optimizer, or a disk maintenance utility (such as defragmentation or virtual disk operations) attempts to process specific byte ranges on a disk, but encounters unreadable, corrupted, or inaccessible sectors. This is commonly triggered by underlying NTFS file system corruption, disk health issues (especially on SSDs with TRIM-related inconsistencies), or a Volume Shadow Copy (VSS) that has become out of sync with the actual disk state. In virtualized environments, this can also happen when a VHD/VHDX file has a corrupted or misaligned block allocation table.

Step-by-Step Resolution Guide

  1. Run CHKDSK to repair file system errors
    Open Windows Terminal (Admin) and run:
   chkdsk C: /f /r

You’ll be prompted to schedule this on next restart — type Y and reboot. This scans and repairs bad sectors and file system inconsistencies that block range operations.

  1. Verify and repair the disk using DISM and SFC
    Run the following commands in sequence:
   DISM /Online /Cleanup-Image /RestoreHealth
   sfc /scannow

This repairs corrupted system files that may be interfering with disk range operations, especially if the error originates from Windows Backup or Storage Sense.

  1. Check and rebuild Volume Shadow Copy storage
    If the error is tied to backups, reset VSS:
   vssadmin delete shadows /for=C: /all
   vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10%

Then restart the Volume Shadow Copy service via services.msc.

  1. Disable and re-enable Storage Optimizer (Defrag/Trim)
    Navigate to Settings > System > Storage > Storage Sense, turn it off, restart your PC, then re-enable it. This clears any stuck optimization tasks referencing invalid disk ranges.

  2. Check disk health via manufacturer tools
    Use CrystalDiskInfo or your SSD/HDD manufacturer’s diagnostic tool (e.g., Samsung Magician, WD Dashboard) to rule out physical drive degradation causing unreadable ranges.

Alternative or Verification Steps

  • After completing the steps above, re-run the operation that triggered Error 312 (backup, defrag, or VHD mount) and confirm it completes without the error.
  • If the issue persists, run Get-PhysicalDisk | Get-StorageReliabilityCounter in PowerShell to check for read/write error counters indicating hardware failure — if counters are high, consider disk replacement.

How to fix Error 308 on Windows 11

Why This Error Happens

Error 308 with the message “The subsystem needed to support the image type is not present” typically occurs when Windows 11 attempts to execute a binary that requires an execution environment the OS no longer supports—most commonly 16-bit DOS/Windows executables, since 64-bit Windows 11 has no NTVDM (NT Virtual DOS Machine) subsystem. It can also occur if the executable is corrupted, was compiled for an unsupported architecture, or if required Windows-on-Windows (WOW64) components have been disabled or damaged. In some cases, third-party antivirus or system optimization tools that strip legacy subsystem files can trigger this error even for otherwise valid 32-bit applications.

Step-by-Step Resolution Guide

  1. Verify the executable’s architecture
    Right-click the file, check its properties, or use a tool like CFF Explorer / dumpbin /headers filename.exe to confirm whether it’s a 16-bit, 32-bit, or 64-bit binary. 64-bit Windows 11 cannot natively run 16-bit executables under any circumstance.

  2. Enable/Repair WOW64 support (for 32-bit apps failing to launch)

  • Open Settings > Apps > Optional Features > More Windows Features.
  • Ensure Legacy Components and any relevant compatibility features are checked.
  • Run sfc /scannow in an elevated Command Prompt to repair corrupted system files, including WOW64 DLLs (wow64.dll, wow64win.dll, wow64cpu.dll in C:\Windows\System32).
  1. Use a DOS/16-bit emulator for legacy software
    If the file is confirmed 16-bit, install a compatibility layer such as DOSBox or vDosPlus, since Windows 11 x64 cannot execute these binaries natively regardless of compatibility mode settings.

  2. Check for file corruption
    Re-download or re-extract the executable from a trusted source, as a truncated or corrupted binary can trigger this same subsystem error even if it’s a valid 32/64-bit format.

  3. Run System File Checker and DISM
    Open Command Prompt as Administrator and run:

   DISM /Online /Cleanup-Image /RestoreHealth
   sfc /scannow

This restores any missing or damaged OS subsystem components from the Windows component store.

Alternative or Verification Steps

  • After applying fixes, try launching the executable again from C:\Windows\System32\cmd.exe to see if it runs without the Error 308 popup.
  • If the file is definitively 16-bit and emulation isn’t viable, look for an updated 32-bit or 64-bit version of the same software from the vendor as a permanent alternative.

How to fix Error 309 on Windows 11

Troubleshooting Guide: Error 309 – “The Specified File Already Has a Notification GUID Associated With It”

Why This Error Happens

Error 309 occurs when the Windows File Replication Service (FRS) or Distributed File System Replication (DFSR) component attempts to assign a new notification GUID to a file that already has one registered in the NTFS metadata. This typically happens due to corruption in the USN journal, a botched replication process, or when a file’s reparse point data becomes desynchronized from the file system’s internal tracking table. It is most commonly seen on systems handling directory replication or Group Policy synchronization where the same file is processed twice due to journal wrap or restart interruptions.

Step-by-Step Resolution Guide

  1. Stop the Replication/Notification Service
    Open Services (services.msc), locate DFS Replication (or File Replication Service if using legacy FRS), right-click and select Stop.

  2. Clear the USN Journal for the Affected Volume
    Open Command Prompt as Administrator and run:

   fsutil usn deletejournal /D C:

Replace C: with the drive letter where the flagged file resides. This forces Windows to rebuild the journal and clears stale GUID references.

  1. Run CHKDSK to Repair File System Metadata
    Execute the following to scan and fix underlying NTFS inconsistencies that may be causing duplicate GUID entries:
   chkdsk C: /f /r

A restart will be required if the volume is in use.

  1. Reset the DFSR Database (if using DFS Replication)
    Navigate to C:\System Volume Information\DFSR and rename the folder to DFSR.old, or use the recommended method via PowerShell:
   Set-DfsrServiceConfiguration -ComputerName $env:COMPUTERNAME -StopReplication $true

Then restart the service to force a database rebuild.

  1. Restart the Service and Reboot
    Re-enable DFS Replication/File Replication Service in services.msc, set startup type back to Automatic, and restart the machine to apply changes.

Alternative or Verification Steps

  • After rebooting, check the Event Viewer (eventvwr.msc) under Applications and Services Logs > DFS Replication to confirm Error 309 no longer appears during the next sync cycle.
  • If the issue persists, isolate the specific file path from the error log and manually delete/re-create the file (after backing it up) to force Windows to generate a fresh GUID.

How to fix Error 306 on Windows 11

Troubleshooting Guide: Error 306 – Security Stream Inconsistency (NTFS Volume)

Why This Error Happens

Error 306 occurs when the NTFS security stream, the internal metadata structure that stores file and folder permission descriptors, becomes corrupted or desynchronized from the Master File Table (MFT). This is typically caused by improper system shutdowns, disk write errors, failing storage hardware, or file system corruption that interrupts the update of Access Control List (ACL) records. Because Windows relies on this stream to enforce security permissions, any inconsistency prevents the OS from reliably reading or validating file/folder access rights on that volume.

Step-by-Step Resolution Guide

  1. Open Command Prompt as Administrator
    Press Windows + S, type cmd, right-click Command Prompt, and select Run as administrator.

  2. Run CHKDSK with Repair Flags
    Execute the following command, replacing C: with the affected volume letter:

   chkdsk C: /f /r /x
  • /f fixes errors on the volume
  • /r locates bad sectors and recovers readable information
  • /x forces the volume to dismount before the scan (if needed)
  1. Schedule the Scan on Next Restart (if volume is in use)
    If prompted that the volume is locked (common for the system drive), type Y to schedule the check on the next system restart, then reboot:
   shutdown /r /t 0
  1. Allow CHKDSK to Complete Fully
    Do not interrupt the process. CHKDSK will run in multiple stages (verifying files, indexes, security descriptors, and free space) before Windows boots normally. This can take anywhere from a few minutes to over an hour depending on volume size.

  2. Check Event Viewer for Confirmation
    After reboot, open Event Viewer (eventvwr.msc) → Windows Logs → Application, and look for a Wininit or Chkdsk event log entry confirming the volume was repaired and the security stream was rebuilt.

Alternative or Verification Steps

  • Verify the Fix: Re-run chkdsk C: /scan (read-only mode) to confirm no further errors are reported after the repair.
  • Alternative Fix: If CHKDSK cannot resolve the issue or the error recurs, run sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth to repair underlying system file corruption that may be affecting the security stream.

How to fix Error 307 on Windows 11

Troubleshooting Guide: Error 307 – Invalid Byte Range File Lock Failure

Why This Error Happens

Error 307 occurs when an application requests a byte-range file lock that falls outside the actual boundaries of the file, or when the specified range overlaps with an already-locked region held by another process. This typically stems from a corrupted or truncated file, a mismatch between the file’s reported size and its actual on-disk size (often due to abrupt process termination or interrupted writes), or a faulty third-party filter driver (such as antivirus or backup software) that intercepts and mismanages I/O requests. Network file systems (SMB/NFS shares) are especially prone to this issue when latency or caching causes stale file metadata to be used during the lock request.

Step-by-Step Resolution Guide

  1. Check File Integrity via System File Checker
    Open Command Prompt as Administrator and run:
   sfc /scannow

Follow up with:

   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be triggering invalid lock requests.

  1. Identify and Close the Locking Process
    Use Resource Monitor (resmon.exe) → CPU tab → Associated Handles, and search for the problematic file name. Identify which process holds an active lock and close it gracefully, or terminate it via Task Manager if unresponsive.

  2. Disable Third-Party Filter Drivers Temporarily
    Boot into Clean Boot mode (msconfig → Services tab → check “Hide all Microsoft services” → Disable all) to rule out antivirus or backup software filter drivers interfering with file I/O. If the error disappears, update or reinstall the conflicting software.

  3. Verify File Size Consistency on Network Shares
    If the file resides on a mapped network drive, disconnect and remap it:

   net use Z: /delete
   net use Z: \\ServerName\ShareName /persistent:yes

This forces Windows to refresh cached file metadata, resolving mismatches between reported and actual file size.

  1. Update Storage and Network Drivers
    Go to Settings → Windows Update → Advanced Options → Optional Updates → Driver Updates, and install any pending updates for storage controllers or network adapters, as outdated drivers can mishandle lock range calculations.

Alternative or Verification Steps

  • Verify the fix: Reopen the affected file/application and monitor Event Viewer (eventvwr.msc → Windows Logs → Application) to confirm Error 307 no longer appears during file operations.
  • Alternative fix: If the issue persists only on a specific file, copy its contents to a newly created file and delete the original — this bypasses any residual corrupted lock metadata tied to the old file’s file table entry.

How to fix Error 304 on Windows 11

Troubleshooting Guide: Error 304 – “Short Name Settings May Not Be Changed on This Volume”

Why This Error Happens

This error occurs when the NtfsDisable8dot3NameCreation registry value is configured for global enforcement (values 0 or 1), which overrides any per-volume 8dot3 naming configuration attempted via fsutil. Because the registry key controls this setting system-wide, Windows blocks changes to individual volumes to prevent conflicting configurations. This typically happens when administrators try to enable or disable short name generation on a single drive using fsutil 8dot3name set while the system is still set to a global (non per-volume) policy.

Step-by-Step Resolution Guide

  1. Open Command Prompt as Administrator
    Press Win + X and select Terminal (Admin) or Command Prompt (Admin).

  2. Check the current global 8dot3 naming setting
    Run the following command to see the active value:

   fsutil behavior query disable8dot3

If the result returns 0 or 1, this confirms the global setting is active and overriding per-volume configuration.

  1. Change the registry setting to allow per-volume configuration
    Set the value to 2 (per-volume enable) or 3 (per-volume disable, recommended for most systems) using:
   fsutil behavior set disable8dot3 2

or

   fsutil behavior set disable8dot3 3
  1. Restart the computer
    The change to NtfsDisable8dot3NameCreation requires a reboot to take effect, as it is read once during system boot.

  2. Reattempt the per-volume short name configuration
    After restarting, run your original command again, for example:

   fsutil 8dot3name set D: 1

This should now succeed since the system is no longer enforcing a global policy.

Alternative or Verification Steps

  • Verify the fix: Run fsutil 8dot3name query D: (replace D: with your target drive) to confirm the volume-specific setting has been applied successfully.
  • Alternative check: If the issue persists, manually inspect the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation to ensure it reflects the value 2 or 3, and confirm no Group Policy setting is re-enforcing a global value on startup.

How to fix Error 305 on Windows 11

Windows 11 Troubleshooting Guide: Error 305 — “Short Names Are Not Enabled on This Volume”

Why This Error Happens

This error occurs because Windows 11 disables 8.3 short filename generation (e.g., PROGRA~1) on NTFS volumes by default for performance and security reasons, controlled by the NtfsDisable8dot3NameCreation registry setting. Certain legacy applications, installers, or scripts—especially older software expecting DOS-style short names—fail with Error 305 when they query the volume and find this feature turned off. This is not filesystem corruption; it is simply a configuration mismatch between the application’s expectations and the current NTFS volume settings.

Step-by-Step Resolution Guide

  1. Check the current 8.3 naming configuration
    Open Command Prompt as Administrator and run:
   fsutil 8dot3name query

This tells you whether short name creation is disabled system-wide or per-volume.

  1. Enable 8.3 name creation via Registry (system-wide)
  • Press Win + R, type regedit, and press Enter.
  • Navigate to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  • Locate NtfsDisable8dot3NameCreation and set its value to 0.
  • Restart your computer for the change to take effect.
  1. Enable 8.3 names on a specific volume (recommended for targeted fixes)
    In an elevated Command Prompt, run:
   fsutil 8dot3name set <drive>: 0

Replace <drive> with the affected volume letter (e.g., C:). A value of 0 enables short name generation on that volume only.

  1. Regenerate short names for existing files/folders
    Enabling the setting only affects new files. For existing files needing short names, run:
   fsutil 8dot3name strip /f <path>

or use:

   fsutil file setshortname <path> <shortname>

to manually assign a short name to a specific file or folder causing the issue.

  1. Restart the application or service
    Close and reopen the application triggering Error 305, or restart the associated Windows service, to confirm it now recognizes short name support.

Alternative or Verification Steps

  • Verify the fix: Re-run fsutil 8dot3name query <drive>: — it should now show short name creation as enabled for that volume, and the application should launch/install without Error 305.
  • Alternative: If registry changes are restricted (e.g., in a managed enterprise environment), contact your system administrator to apply the setting via Group Policy or a Local Security Policy override instead of direct registry edits.

How to fix Error 302 on Windows 11

Windows 11 Error 302: Volume Too Fragmented to Complete Operation

Why This Error Happens

Error 302 occurs when the NTFS Master File Table (MFT) or the free space on a volume becomes so fragmented that the file system cannot allocate a contiguous block large enough to complete an operation, such as shrinking a partition, defragmenting a specific file, or creating a shadow copy. This is common on older drives, volumes with very little free space, or drives that store extremely large files (like VM disks or database files) that have been resized frequently. Essentially, the disk has run out of large enough “gaps” to organize data efficiently.

Step-by-Step Resolution Guide

  1. Free Up Disk Space First
    Before defragmenting, ensure at least 15% of the volume is free. Open Settings > System > Storage and use Storage Sense to clear temporary files, or manually delete large unused files.

  2. Run Full Disk Optimization via GUI
    Go to Start > Type “Defragment and Optimize Drives” > Open the app. Select the affected volume (e.g., C:) and click Optimize. Let it run fully; do not interrupt the process, as partial optimization can worsen fragmentation state.

  3. Use Command-Line Defrag for Deeper Analysis
    Open Windows Terminal (Admin) and run:

   defrag C: /U /V /X

The /X flag consolidates free space, which is often the direct fix for Error 302 since it clears the fragmented “gaps” preventing the operation.

  1. Check and Repair File System Integrity
    Corrupted file system metadata can mimic fragmentation errors. Run:
   chkdsk C: /f /r

You will need to schedule this on next restart if it’s the system drive. Allow it to complete fully before attempting the original operation again.

  1. Retry the Original Failed Operation
    If the error occurred during a specific task (like shrinking a volume in Disk Management), retry it now. If Disk Management still fails, use PowerShell instead:
   Resize-Partition -DriveLetter C -Size (Get-PartitionSupportedSize -DriveLetter C).SizeMin

Alternative or Verification Steps

  • Verify the Fix: Re-run defrag C: /A (analyze only) via Command Prompt. If the fragmentation percentage is below 5% and the operation completes without Error 302, the issue is resolved.
  • Alternative Solution: If fragmentation persists on an SSD (where defrag behaves differently) or the volume is critically full, consider backing up your data and performing a clean reformat of the drive to reset the file allocation table entirely.

How to fix Error 303 on Windows 11

Windows 11 Error 303: “File Cannot Be Opened Because It Is in the Process of Being Deleted”

Why This Error Happens

This error occurs when the Windows NTFS file system has marked a file for deletion, but a lingering handle from a process, service, or antivirus scan is still referencing it, preventing the deletion from completing. As a result, the file exists in a “limbo” state where it is neither accessible nor fully removed. This is commonly triggered by an application crash mid-write, a forced shutdown during a delete operation, or file system metadata corruption on the volume.

Step-by-Step Resolution Guide

  1. Identify and close the locking process using Resource Monitor
  • Press Ctrl + Shift + Esc to open Task Manager, then click More details.
  • Go to the Performance tab and click Open Resource Monitor at the bottom.
  • In Resource Monitor, go to the CPU tab, and in the Associated Handles section, type the file name to search.
  • Right-click any matching process and select End Process to release the lock.
  1. Restart the Windows Explorer process
  • In Task Manager, find Windows Explorer under the Processes tab.
  • Right-click it and select Restart. This clears cached file handles without requiring a full reboot.
  1. Force delete the file using Command Prompt
  • Open Command Prompt as Administrator (search “cmd”, right-click, Run as administrator).
  • Navigate to the file’s directory using cd "C:\Path\To\Folder".
  • Run: del /f /q "filename.ext" to force-delete it, bypassing normal locks.
  • If it’s a folder, use: rmdir /s /q "FolderName".
  1. Run CHKDSK to repair file system inconsistencies
  • Open Command Prompt as Administrator.
  • Run: chkdsk C: /f /r (replace C: with the affected drive letter).
  • Type Y to schedule the scan on next restart, then reboot your PC.
  1. Boot into Safe Mode and delete the file
  • Go to Settings > System > Recovery > Advanced startup > Restart now.
  • Navigate to Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 for Safe Mode.
  • In Safe Mode, attempt to delete the file normally, as third-party services and antivirus locks won’t be active.

Alternative or Verification Steps

  • Verify the fix: After completing the steps, navigate back to the file’s original location in File Explorer and confirm it no longer appears (or that a new file with the same name can be created without error).
  • Alternative tool: If manual steps fail, download Microsoft’s Sysinternals Process Explorer, use Find > Find Handle or DLL to locate the exact process locking the file, then terminate that specific handle instead of the entire process.

How to fix Error 299 on Windows 11

Windows 11 Error 299: “Only Part of a ReadProcessMemory or WriteProcessMemory Request Was Completed”

Why This Error Happens

Error 299 occurs when a process attempts to read from or write to another process’s memory space, but the operation is interrupted before completion. This typically happens because the target process’s memory pages are partially paged out to disk, protected by different access permissions across the requested memory range, or the target process terminates or changes state mid-operation. It’s also commonly triggered when the calling application lacks sufficient privileges (such as PROCESS_VM_READ or PROCESS_VM_WRITE access rights) to access the entire contiguous memory block being requested.

Step-by-Step Resolution Guide

  1. Run the application with elevated privileges
    Right-click the application executable or shortcut and select Run as administrator. Many memory read/write operations fail without administrator-level access to another process’s address space.

  2. Check and adjust process access permissions via Group Policy

  • Press Win + R, type gpedit.msc, and press Enter.
  • Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.
  • Locate Debug programs and ensure the user account or group running the application is added to this policy.
  • Restart the application after applying changes.
  1. Verify the target process isn’t being modified simultaneously
    Ensure no other tool (antivirus, another debugger, or monitoring software) is simultaneously reading/writing to the same process. Temporarily disable third-party antivirus or EDR software to test, then re-enable it afterward.

  2. Update or reinstall the application causing the error
    Corrupted binaries or outdated versions of the software performing the memory operation can cause incomplete reads/writes. Reinstall the latest version from the vendor’s official source.

  3. Check Windows for corrupted system files
    Open Command Prompt as Administrator and run:

   sfc /scannow

Follow this with:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC once both commands complete.

Alternative or Verification Steps

  • Verify the fix: Reopen the application and attempt the same memory operation that previously failed. Check the Event Viewer (eventvwr.msc) under Windows Logs > Application to confirm Error 299 no longer appears.
  • Alternative fix: If the issue persists, try running the application in a clean boot state (disable non-Microsoft startup services via msconfig) to rule out conflicts from background processes interfering with memory access.

How to fix Error 300 on Windows 11

Troubleshooting Guide: Error 300 – Oplock Request Denied (Windows 11)

Why This Error Happens

Error 300 occurs when the Windows I/O subsystem denies an opportunistic lock (oplock) request because another process has already acquired an incompatible lock on the same file, or the underlying file system/network share does not support the requested oplock level. This is common on SMB shares, redirected drives, or third-party filter drivers (antivirus, backup agents) that intercept file handles and break lock compatibility. Corrupted SMB client/server configurations or outdated network drivers can also trigger this denial.

Step-by-Step Resolution Guide

  1. Check for conflicting file handles
    Open Command Prompt as Administrator and run:
   openfiles /query /fo table

Identify if another process/user has the file open exclusively. Close conflicting sessions via openfiles /disconnect if applicable.

  1. Disable Oplocks temporarily on the SMB client (for testing)
    Navigate to:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

Add/modify a DWORD value named OplocksDisabled and set it to 1. Restart the machine and test if the error persists (this isolates whether SMB oplock negotiation is the cause).

  1. Update SMB and Network Drivers
    Go to Settings > Windows Update > Advanced Options > Optional Updates and install any pending driver updates, especially for network adapters. Outdated NIC drivers frequently mishandle SMB2/SMB3 oplock leases.

  2. Exclude the affected folder from Antivirus/Filter Drivers
    Open your antivirus software and add the affected file path or network share to the exclusion list. Filter drivers from security software are a leading cause of oplock break failures.

  3. Reset SMB Configuration
    Run the following in an elevated PowerShell window to reset SMB client settings to default:

   Set-SmbClientConfiguration -EnableLeasing $true -Force
   Set-SmbClientConfiguration -EnableMultiChannel $true -Force

Restart the Workstation and Server services afterward.

Alternative or Verification Steps

  • Use Process Monitor (ProcMon) from Sysinternals, filter by “Oplock” operations, and confirm no FAST_IO_DENIED or OPLOCK_NOT_GRANTED results appear after applying the fix.
  • If the issue persists only on network shares, try mapping the drive using the IP address instead of the hostname, or switch the share protocol to SMB 3.1.1 via Set-SmbServerConfiguration -EncryptData $true.

How to fix Error 301 on Windows 11

Why This Error Happens

Error 301 occurs when the SMB redirector or a local filesystem driver sends an oplock (opportunistic lock) break acknowledgment that doesn’t match the lock state the server or filesystem cache expects, usually because a stale handle or cache mismatch occurred. This is commonly triggered by third-party filter drivers (antivirus, backup, or sync software) that intercept file I/O and interfere with the oplock negotiation between client and server. Corrupted SMB client cache, outdated network drivers, or an unstable connection to a network share can also desynchronize the lock state and cause this error.

Step-by-Step Resolution Guide

  1. Identify the triggering driver: Open Event Viewer (eventvwr.msc) → Windows Logs → System, filter for Event ID 301, and check the “Source” field to see which filesystem or filter driver reported it.
  2. Disable third-party filter drivers temporarily: Open Task Manager → Startup apps, and disable antivirus/backup/sync agents (e.g., OneDrive, Dropbox, third-party AV). Restart the PC and check if the error recurs.
  3. Reset the SMB client configuration: Open PowerShell as Administrator and run:
   Set-SmbClientConfiguration -EnableOplocks $false
   Set-SmbClientConfiguration -EnableOplocks $true

This forces Windows to reinitialize the oplock negotiation state.

  1. Clear the SMB session cache: Run the following in an elevated Command Prompt to remove stale network connections:
   net use * /delete /y

Then reconnect to the network share and reproduce the file operation that triggered the error.

  1. Update network and storage drivers: Go to Device Manager → Network adapters (and Disk drives if using local storage), right-click each device → Update driver → Search automatically. Reboot after updates are applied.

Alternative or Verification Steps

  • After applying the fixes, reopen Event Viewer and monitor the System log for 24–48 hours to confirm Event ID 301 no longer appears during normal file access.
  • If the issue persists only on a specific network share, try disabling oplocks entirely on the server side (via Set-SmbServerConfiguration -EnableOplocks $false) as a temporary workaround while investigating the root filter driver conflict.

How to fix Error 288 on Windows 11

Troubleshooting Guide: Error 288 – Attempt to Release Mutex Not Owned by Caller

Why This Error Happens

Error 288 (ERRORNOTOWNER) occurs when a thread or application attempts to call ReleaseMutex() on a mutex handle that it does not currently own. This typically happens due to a programming logic flaw where a mutex is released twice, released by a different thread than the one that acquired it, or released after the owning thread has already exited without properly releasing it. In Windows 11, this is most commonly triggered by third-party applications, drivers, or background services with improper thread synchronization handling rather than an OS-level fault.

Step-by-Step Resolution Guide

  1. Identify the Source Application
    Open Event Viewer (eventvwr.msc) and navigate to Windows Logs > Application. Filter for Event ID 288 and check the “Source” field to identify which application or service triggered the error.

  2. Update or Reinstall the Offending Application
    Once identified, check for pending updates via the vendor’s site or Settings > Apps > Installed Apps. If already up to date, uninstall and reinstall the application to replace potentially corrupted binaries that mishandle mutex logic.

  3. Check for Conflicting Background Processes
    Open Task Manager (Ctrl+Shift+Esc) and look for multiple instances of the same application running simultaneously (common cause of mutex conflicts). End duplicate processes via Task Manager > Details tab > End Task.

  4. Run System File Checker and DISM
    Corrupted system files can cause improper handle management. Open Command Prompt (Admin) and run:

   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth

Restart the system after completion.

  1. Review Application/Service Dependencies in Registry
    If the error originates from a specific service, check its configuration under:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[ServiceName]

Ensure no manual edits have corrupted startup parameters, as this can cause improper thread initialization.

Alternative or Verification Steps

  • Verify the Fix: After applying the steps above, reopen Event Viewer and monitor the Application log for 24–48 hours to confirm Event ID 288 no longer appears.
  • Alternative Solution: If the error persists and is tied to a specific third-party app, run the application in Compatibility Mode (Right-click .exe > Properties > Compatibility tab) or contact the vendor for a patched build, as this is often a code-level bug requiring a developer fix rather than a system-side configuration change.

How to fix Error 298 on Windows 11

Windows 11 Error 298: “Too Many Posts Were Made to a Semaphore” Troubleshooting Guide

Why This Error Happens

Error 298 corresponds to ERROR_TOO_MANY_POSTS, a Windows system error that occurs when a semaphore object receives more release/post calls than it can handle, exceeding its configured maximum count. This typically happens due to a bug in an application’s threading logic where a semaphore is released multiple times without a corresponding wait operation, or due to corrupted synchronization objects caused by improper thread termination. It’s most commonly seen in third-party applications, drivers, or services that manage concurrent processes, printer spoolers, or database connections rather than being a core OS failure itself.

Step-by-Step Resolution Guide

  1. Identify the Source Application
    Open Event Viewer (Win + X → Event Viewer) and navigate to Windows Logs → Application. Filter for Error level events around the timestamp the issue occurred, and note the exact source application or service throwing Error 298.

  2. Update or Reinstall the Offending Application
    Once identified, check for pending updates for that application (many semaphore bugs are patched in newer builds). If already up to date, fully uninstall it via Settings → Apps → Installed Apps, restart your PC, then reinstall the latest version from the vendor’s official site.

  3. Restart the Associated Windows Service
    If the error points to a system service (e.g., Print Spooler, SQL Server, or a backup agent):

  • Press Win + R, type services.msc, and press Enter.
  • Locate the relevant service, right-click it, and select Restart.
  • Set Recovery tab options to “Restart the Service” on first and second failure to prevent recurrence.
  1. Check for Corrupted System Files
    Open Command Prompt as Administrator and run:
   sfc /scannow

Follow this with:

   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be causing improper handle/semaphore management.

  1. Update Device Drivers
    If the error originates from a hardware-interfacing app (printers, scanners, USB devices), go to Device Manager, right-click the relevant device, select Update Driver, and choose Search automatically for drivers.

Alternative or Verification Steps

  • Verify the fix: Reopen the application that triggered the error and monitor Event Viewer for 24–48 hours to confirm Error 298 does not reappear under normal usage.
  • Alternative solution: If the error persists and is tied to a specific process, use Process Explorer (Sysinternals) to inspect the handle/semaphore count of the offending process in real time—this can help pinpoint whether a memory leak or thread deadlock is the root cause, warranting a report to the software vendor.

How to fix Error 278 on Windows 11

Windows 11 Error 278: The Specified Extended Attribute Handle Is Invalid

Why This Error Happens

Error 278 occurs when an application attempts to reference an Extended Attribute (EA) handle that has already been closed, released, or was never properly initialized by the file system driver. This typically results from a corrupted NTFS metadata structure, a race condition in file handle management caused by a faulty third-party filter driver (such as antivirus or backup software), or an application bug that reuses a stale handle after a file operation completes. In rare cases, it can also stem from disk corruption affecting the $EA or $EA_INFORMATION attributes in the Master File Table (MFT).

Step-by-Step Resolution Guide

  1. Run CHKDSK to repair file system inconsistencies
    Open Command Prompt as Administrator and run:
   chkdsk C: /f /r

Restart your PC if prompted, as this scans and repairs corrupted NTFS attributes, including extended attribute handles.

  1. Update or roll back filter drivers (antivirus/backup software)
    Open Settings > Windows Update > Advanced options > Optional updates > Driver updates and install any pending driver updates. If the error started after installing security or backup software, temporarily uninstall it via Settings > Apps > Installed apps and test if the error persists.

  2. Check and repair system files
    Run the following commands in an elevated Command Prompt or PowerShell:

   sfc /scannow
   DISM /Online /Cleanup-Image /RestoreHealth

This repairs corrupted system files that may be mishandling file handles.

  1. Update the affected application
    If Error 278 is tied to a specific program (e.g., a backup tool or file manager), check for updates via the app’s built-in updater or Microsoft Store > Library > Get updates, since this is often a known bug fixed in later releases.

  2. Inspect Event Viewer for the exact faulting module
    Open Event Viewer (eventvwr.msc), navigate to Windows Logs > Application, and locate the Error 278 event. Check the “Source” and “Details” tab to identify which driver or executable triggered it, then target updates/reinstalls accordingly.

Alternative or Verification Steps

  • After applying fixes, reproduce the original action that triggered Error 278 (e.g., re-run the backup job or file operation) and confirm no error appears in Event Viewer.
  • If the issue persists, boot into Safe Mode and repeat the failing operation—if it succeeds, a third-party driver or startup application is the root cause, and a clean boot troubleshoot (via msconfig) is recommended.

How to fix Error 282 on Windows 11

Troubleshooting Guide: Error 282 – “The Mounted File System Does Not Support Extended Attributes”

Why This Error Happens

Error 282 typically occurs within the Windows Subsystem for Linux (WSL) or when working with Linux-formatted virtual disks mounted on Windows 11. The root cause is that the underlying file system (commonly FAT32, exFAT, or a Windows-native NTFS volume mounted without proper Linux compatibility flags) does not support POSIX extended attributes (xattrs), which Linux tools and package managers rely on for metadata such as file capabilities and ACLs. This mismatch frequently arises when a WSL distribution’s virtual hard disk (VHDX) is stored on a removable drive, a network share, or a non-NTFS partition that lacks the necessary attribute-storage capability.

Step-by-Step Resolution Guide

  1. Verify the drive’s file system format. Open File Explorer, right-click the drive hosting your WSL distro or mounted volume, select Properties, and confirm it is formatted as NTFS. If it shows FAT32 or exFAT, extended attributes are not supported.
  2. Reformat the target drive to NTFS (if safe to do so). Back up your data, then open Disk Management (diskmgmt.msc), right-click the volume, choose Format, and select NTFS as the file system.
  3. Move your WSL distribution to an NTFS-backed location. Run the following in an elevated PowerShell window to export and re-import the distro onto your system drive:
   wsl --export Ubuntu C:\Backup\ubuntu.tar
   wsl --unregister Ubuntu
   wsl --import Ubuntu C:\WSL\Ubuntu C:\Backup\ubuntu.tar
  1. Check the .wslconfig and /etc/wsl.conf files for incorrect mount options. Ensure any custom mount entries under [automount] do not force metadata off, and add the metadata mount option explicitly if using DrvFs:
   [automount]
   options = "metadata"
  1. Update WSL and Windows 11 to the latest build via Settings > Windows Update and wsl --update in PowerShell, as older kernel versions had incomplete extended attribute support on DrvFs mounts.

Alternative or Verification Steps

  • After applying the fix, run wsl --list --verbose and then touch testfile && setfattr -n user.test -v "1" testfile inside the distro to confirm extended attributes can be set without error.
  • If reformatting isn’t possible, use ReFS or keep all Linux-related files strictly within the WSL virtual disk (ext4 filesystem) rather than accessing them through a Windows-mounted drive path.

How to fix Error 276 on Windows 11

Windows 11 Error 276: Extended Attribute File Corruption

Why This Error Happens

Error 276 occurs when the Extended Attributes (EA) data structure on an NTFS volume becomes damaged, typically due to improper system shutdowns, disk write errors, or bad sectors affecting the metadata files. This EA file stores additional file property information beyond standard NTFS attributes, and when the Master File Table (MFT) entries pointing to this data become inconsistent, Windows cannot mount or properly read the file system. File system driver conflicts or failing storage hardware can also trigger this corruption.

Step-by-Step Resolution Guide

  1. Run CHKDSK to scan and repair the file system
  • Open Command Prompt as Administrator (right-click Start > Terminal (Admin))
  • Run: chkdsk C: /f /r /x (replace C: with the affected drive letter)
  • If prompted that the drive is in use, type Y and restart your computer to allow the scan to run before Windows loads
  1. Check disk health using DISM and SFC
  • Run: DISM /Online /Cleanup-Image /CheckHealth
  • Follow with: DISM /Online /Cleanup-Image /RestoreHealth
  • Once complete, run: sfc /scannow to repair corrupted system files that may reference bad EA data
  1. Inspect physical disk health
  • Open PowerShell as Administrator and run: Get-PhysicalDisk | Select FriendlyName, HealthStatus
  • If HealthStatus shows “Warning” or “Unhealthy,” back up data immediately, as failing hardware may be causing repeated corruption
  1. Manually rebuild the Extended Attributes via reformatting (if isolated to one drive)
  • Back up all accessible data from the affected volume
  • Open Disk Management (diskmgmt.msc), right-click the volume, and select Format
  • Choose NTFS as the file system and complete a full (not quick) format to rebuild the EA structures cleanly
  1. Update or roll back storage drivers
  • Open Device Manager > Disk drives, right-click your drive > Properties > Driver tab
  • Select Update Driver or Roll Back Driver if a recent update coincided with the error

Alternative or Verification Steps

  • After running CHKDSK, reboot and check Event Viewer (eventvwr.msc) under Windows Logs > System to confirm Error 276 no longer appears during the next mount attempt.
  • If corruption persists after a full format, test the drive on another machine or run the manufacturer’s diagnostic tool (e.g., Seagate SeaTools, WD Dashboard) to rule out a failing physical disk.

How to fix Error 277 on Windows 11

Why This Error Happens

Error 277 occurs when the internal table that Windows uses to store Extended Attributes (EAs) for files on an NTFS volume becomes full or corrupted. This typically happens when a legacy application (often 16-bit or OS/2-compatible software) writes excessive metadata to a file, exceeding the fixed size limit allocated for the extended attribute table. It can also occur due to file system corruption, disk errors, or a damaged Master File Table (MFT) entry associated with the affected file.

Step-by-Step Resolution Guide

  1. Run CHKDSK to repair file system errors
    Open Command Prompt as Administrator (search “cmd,” right-click, “Run as administrator”) and run:
   chkdsk C: /f /r

Restart the PC if prompted, since the drive is in use.

  1. Identify and isolate the problematic file
    Determine which file or application triggered the error (check Event Viewer under Windows Logs > System for the Event ID tied to Error 277). Try copying the file to a new location with a new name using copy oldfile.ext newfile.ext in Command Prompt — this often bypasses the corrupted EA table entry.

  2. Remove Extended Attributes from the affected file
    Use the built-in fsutil tool to inspect and clean file metadata:

   fsutil file queryEA "C:\path\to\file.ext"

If EAs are present and excessive, recreate the file without them (copy the data into a brand-new file rather than editing the original).

  1. Update or replace the legacy application
    If a specific older program (e.g., legacy database or OS/2-based software) is causing repeated EA table bloat, check for a Windows 11–compatible update, or run the app in Compatibility Mode (Right-click .exe > Properties > Compatibility tab).

  2. Check disk health and free space
    Ensure the affected drive has adequate free space (at least 15% free) and run a SMART health check via:

   wmic diskdrive get status

Replace or repartition the drive if hardware errors are found.

Alternative or Verification Steps

  • After remediation, retry the original file operation (open/save/copy) that triggered Error 277 — it should now complete without the “extended attribute table file is full” message.
  • If the error persists, back up your data and perform a full format/reinstall of the affected volume, as this guarantees a fresh, correctly sized extended attribute table.

How to fix Error 266 on Windows 11

Troubleshooting Guide: Error 266 – Copy Function Failure on Windows 11

Why This Error Happens

Error 266 typically indicates that a requested action was completed unsuccessfully because it has already finished or was interrupted mid-process, often manifesting during file copy operations in Windows 11. This is commonly caused by corrupted system files (particularly related to the Windows Clipboard or File Explorer components), conflicting third-party clipboard management software, or damaged user profile settings. In some cases, outdated or corrupted device drivers—especially those related to storage or virtual disk controllers—can also trigger this error when the OS attempts to read/write buffer data during copy operations.

Step-by-Step Resolution Guide

  1. Restart the Windows Explorer process: Press Ctrl + Shift + Esc to open Task Manager, locate Windows Explorer in the Processes tab, right-click it, and select Restart. This clears temporary glitches in the file management shell.

  2. Run the System File Checker (SFC) and DISM tool: Open Command Prompt as Administrator and execute:

   sfc /scannow

Once complete, run:

   DISM /Online /Cleanup-Image /RestoreHealth

Restart your PC after both commands finish to repair corrupted system files affecting the copy function.

  1. Disable third-party clipboard managers: Go to Settings > Apps > Installed Apps, and temporarily uninstall or disable any clipboard-enhancing software (e.g., Ditto, ClipClip). These tools can intercept copy commands and trigger Error 266.

  2. Check and reset the Clipboard User Service: Press Win + R, type services.msc, and press Enter. Locate Clipboard User Service, right-click, select Restart. If the service is disabled, set its startup type to Automatic.

  3. Update storage and chipset drivers: Navigate to Device Manager > Disk drives and Storage controllers, right-click each device, and select Update driver. Outdated drivers can cause buffer failures during file transfer operations.

Alternative or Verification Steps

  • Verify the fix: Attempt to copy a small test file (e.g., a .txt document) between two folders. If successful, try copying a larger file or folder to confirm the fix holds under normal usage conditions.
  • Alternative solution: If the issue persists, create a new local user account (Settings > Accounts > Other users > Add account) and test the copy function there. If it works, your original user profile may be corrupted and require migration of files to the new profile.

How to fix Error 267 on Windows 11

Why This Error Happens

Error 267 occurs when a command-line operation (such as CD, DIR, or a batch script) targets a path that Windows does not recognize as a valid directory. This typically happens because the target is actually a file rather than a folder, the path contains invalid characters or incorrect syntax, or the directory has become corrupted or was deleted while still referenced by another process. It can also surface when a drive letter is mapped incorrectly or a network path is temporarily unreachable.

Step-by-Step Resolution Guide

  1. Verify the Path is a Folder, Not a File
    Open File Explorer and navigate to the exact path you’re using. Confirm the final segment is a directory and not a file with a similar name (e.g., C:\Data\Reports vs C:\Data\Reports.txt).

  2. Check for Invalid Characters or Syntax Errors
    Reopen Command Prompt and re-type the path manually instead of pasting it — hidden Unicode characters or trailing spaces often cause this. Ensure the path doesn’t end with a backslash before a quotation mark, e.g., use "C:\Data\Reports" not "C:\Data\Reports\".

  3. Run CHKDSK to Rule Out Corruption
    Open Command Prompt as Administrator and run:

   chkdsk C: /f /r

Restart if prompted. This repairs file system errors that can make directory entries unreadable.

  1. Recreate the Directory
    If the folder appears corrupted, create a new directory with a simple name (avoid spaces/special characters) at a known path, such as:
   mkdir C:\TempFix

Then move your files into it and retry the original operation.

  1. Check Network/Mapped Drive Status (if applicable)
    If the path is on a mapped network drive, run net use in Command Prompt to confirm the drive is connected. Reconnect it via:
   net use Z: \\ServerName\ShareName /persistent:yes

Alternative or Verification Steps

  • After applying a fix, re-run the original command or application action targeting the same path — if no Error 267 appears and the directory listing/output loads correctly, the issue is resolved.
  • If the error persists, try running the command from a different drive (e.g., copy the folder to D:\Test) to isolate whether the issue is drive-specific or path-specific.

How to fix Error 275 on Windows 11

Troubleshooting Guide: Error 275 – “The Extended Attributes Did Not Fit In The Buffer”

Why This Error Happens

Error 275 occurs when the extended attributes (EAs) associated with a file or directory exceed the size of the buffer allocated by the calling application or system process to read them. This typically happens due to file system corruption, a mismatch between NTFS metadata and the application requesting it, or legacy compatibility issues when handling files with unusually large EA structures (often inherited from OS/2 or older third-party software). It can also surface when copying files between different NTFS volumes or during specific API calls (like NtQueryEaFile) that use a fixed, undersized buffer.

Step-by-Step Resolution Guide

  1. Run CHKDSK to Repair File System Errors
    Corruption in the Master File Table (MFT) is the most common cause. Open Command Prompt as Administrator and run:
   chkdsk C: /f /r

Restart your PC if prompted to schedule the scan on the next boot.

  1. Check and Clear Extended Attributes via PowerShell
    Identify the specific file causing the issue and attempt to strip its extended attributes:
   Get-Item -Path "C:\Path\To\File" -Stream *

If EAs are listed beyond :$DATA, isolate the file and try removing the alternate data streams using:

   Remove-Item -Path "C:\Path\To\File" -Stream <StreamName>
  1. Update or Reinstall the Application Triggering the Error
    If the error is tied to a specific app (e.g., a backup tool or file copier), ensure it’s updated to the latest version, as many older 32-bit applications use fixed-size buffers that don’t account for modern NTFS EA structures. Reinstalling the app can reset any corrupted configuration files causing the mismatched buffer size.

  2. Copy the File Using Robocopy Instead of Standard Copy
    Standard File Explorer copy operations sometimes fail to handle EAs correctly. Use Robocopy, which handles NTFS metadata more robustly:

   robocopy "C:\Source" "D:\Destination" "filename.ext" /COPYALL /R:1 /W:1
  1. Verify Disk Health and Drivers
    Outdated storage drivers can misreport buffer sizes to the OS. Go to Device Manager > Disk Drives, right-click your drive, select Update Driver, and choose Search automatically for drivers.

Alternative or Verification Steps

  • Verify the Fix: After running CHKDSK and Robocopy, attempt to open, copy, or move the previously affected file. If Error 275 no longer appears in Event Viewer (under Windows Logs > System), the buffer issue has been resolved.
  • Alternative Solution: If the error persists on a specific file, try extracting the file’s data without its metadata by opening it in a hex editor or converting it to a new file format, effectively stripping the problematic extended attributes.

How to fix Error 258 on Windows 11

Windows 11 Error 258: “The Wait Operation Timed Out”

Why This Error Happens

Error 258 occurs when a system process, service, or scheduled task does not respond within the timeframe allotted by the calling application or the Windows Service Control Manager. This is frequently caused by a service hanging during startup/shutdown, an unresponsive remote connection (RPC/WMI), or a scheduled task waiting on a dependency that never completes. Corrupted system files or overloaded system resources (CPU/Disk) can also prevent a process from acknowledging a handshake in time, triggering the timeout.

Step-by-Step Resolution Guide

  1. Check the Service Control Manager Timeout:
    If a specific service is timing out during boot, you may need to extend the wait time.
  • Press Win + R, type regedit, and press Enter.
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
  • Look for a DWORD value named ServicesPipeTimeout. If it doesn’t exist, right-click the Control folder, select New > DWORD (32-bit) Value, and name it ServicesPipeTimeout.
  • Set the value data to 60000 (Decimal), which extends the timeout to 60 seconds, and restart the PC.
  1. Run the System File Checker (SFC) and DISM:
    Corrupted system files often cause background processes to hang.
  • Open Terminal (Admin) by right-clicking the Start button.
  • Run the command: sfc /scannow
  • Once complete, run: DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your computer once both scans finish.
  1. Diagnose via Event Viewer:
    Identify exactly which specific service or task is causing the timeout.
  • Open Event Viewer (search via Start Menu).
  • Navigate to Windows Logs > System.
  • Filter for “Error” level events with Event ID 258 and check the “Source” column to identify the specific faulty service (e.g., a printer spooler or network driver).
  1. Restart the Windows Management Instrumentation (WMI) Service:
    If the error relates to hardware monitoring tools or scripts (VBS/PowerShell), a corrupt WMI repository is often the cause.
  • Press Win + R, type services.msc, and press Enter.
  • Locate Windows Management Instrumentation.
  • Right-click and select Restart.
  1. Check for Resource Bottlenecks:
  • Open Task Manager (Ctrl + Shift + Esc).
  • Check the Performance tab for Disk usage stuck at 100% or high CPU usage, as this prevents processes from responding to pings within the timeout window. If found, identify and end the resource-heavy task under the Processes tab.

Alternative or Verification Steps

  • Verify the Fix: Reproduce the original action that caused the error (e.g., restarting the specific service or running the script/backup job again) to confirm it completes without the timeout popup.
  • Alternative Fix: If the error persists specifically during a System Restore or backup operation, try booting into Safe Mode (Settings > System > Recovery > Advanced Startup) and attempt the operation again, as third-party background apps in normal mode might be blocking the resource.