Search pages, tools, PowerShell commands and ports
ERROR_SHARING_VIOLATION
Numerous causes. CBS log analysis required.
From Windows Update common errors and mitigation · Microsoft · CC BY 4.0 · imported 23 Oct 2026
This error is caused by non-Microsoft filter drivers, such as antivirus. 1. Perform a clean restart, and retry the installation 2. Download the sysinternal tool Process Monitor. 3. Run *Procmon.exe*. The tool starts data capture automatically. 4. Install the update package again. 5. Keep the Process Monitor main window in focus, and press CTRL+E or select the magnifying glass to stop data capture. 6. Select File > Save > All Events > PML, and choose a path to save the `.PML` file. 7. Go to *%windir%\logs\cbs*, open the last *Cbs.log* file, and search for the error entry. After you locate the error line, you should see which file is accessed during the installation and is causing the sharing violation error. 8. In Process Monitor, filter for path, and insert the file name (it should resemble "path" "contains" "filename from CBS"). 9. Try to stop or uninstall the process that's causing the error.
From Windows Update common errors and mitigation · CC BY 4.0
No questions about this code yet.