how get fix and remove error box that comes on when I turn on my p c

Kay Rollins 0 Reputation points
2026-08-24T15:36:21.07+00:00

error box says:

C:/users/Rollin/App Data/Local/Microsoft/one Drive/Codecs/8.1.2/swscale-9.dll

Microsoft 365 and Office | OneDrive | For home | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. TaoLi 114.9K Reputation points Independent Advisor
    2026-08-24T16:14:53.99+00:00

    Hi

    That file belongs to OneDrive, and this usually means part of the OneDrive installation or its codec files has become corrupted.

    First press Windows + R, paste this command, then press Enter:

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

    Then open OneDrive again from the Start menu. Microsoft’s reset instructions are here: https://support.microsoft.com/en-us/onedrive/reset-onedrive

    If the error returns, go to Settings > Apps > Installed apps, uninstall Microsoft OneDrive, restart the PC, then reinstall the latest version. Uninstalling OneDrive does not delete files stored in your OneDrive account.

    Official reinstall instructions: https://support.microsoft.com/en-us/onedrive/reinstall-onedrive

    I would not download swscale-9.dll separately from a DLL website, as reinstalling OneDrive is the safer fix.

    Was this answer helpful?


  2. AI answer

    2026-08-24T15:36:35.06+00:00

    That startup error is consistent with corrupted OneDrive program files. If Windows still thinks OneDrive is installed, the clean fix is to uninstall the broken OneDrive app and then install it again.

    1. Open Start and open Settings.
    2. Go to Apps > Apps & features.
    3. Find Microsoft OneDrive.
    4. Select it and choose Uninstall.
    5. If Windows asks to allow changes, select Yes.
    6. Install the latest OneDrive again.
    7. Sign in, then let OneDrive scan and resume syncing.

    Uninstalling the application stops sync, but it does not delete the OneDrive folder on the PC or files already stored in the cloud.

    If the error is related to invalid OneDrive reparse points, a disk check can also help. This can take several hours, so run it when the PC can stay idle:

    1. Select Start, type cmd.
    2. Right-click Command Prompt and select Run as administrator.
    3. Run:
         chkdsk C: /R /F
      
    4. If prompted to schedule the check for the next restart, enter Y and restart the PC.

    chkdsk /R /F scans and repairs disk issues, so it may take a long time to complete.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.