How to fix (IN S MODE) AppData\Local\Microsoft\OneDrive\Codes\8.0.0.54\avutil-60.dll

SkipS 0 Reputation points
2026-08-30T17:06:10.99+00:00

This is one of 4-5 errors I get on start up. MS help says uninstall onedrive, restart, the reinstall onedrive. Sounds good but onedrive cannot be reinstalled in S mode. Is onedrive a microsoft product? NOW WHAT??

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

2 answers

Sort by: Most helpful
  1. Kai-H 26,135 Reputation points Microsoft External Staff Moderator
    2026-08-31T09:23:26.75+00:00

    Hi, SkipS

    This “Bad Image” message usually means part of the installed OneDrive program is damaged, rather than there being a problem with your online files.

    Here are some suggestions you can try:

    Open Settings > Apps > Startup and turn Microsoft OneDrive off. Restart the computer. This should stop the damaged OneDrive component from loading and displaying several errors each time Windows starts.

    Until the desktop app is repaired, access your files through OneDrive on the web. Turning off startup does not delete files stored online.

    If the errors started recently, use System Restore. Search for Create a restore point, open it, select System Restore, and choose a restore point dated before the errors appeared. This can restore the working OneDrive installation without removing S mode. Windows Recovery includes a restore option for rolling the PC back to an earlier system state.

    If third-party antivirus software is installed, update it and restart. Older antivirus filters can interfere with OneDrive components.

    Avoid manually deleting the DLL or downloading a replacement DLL from another website.

    Thank you for your patience in reading, I hope this information has been helpful to you. 


    If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment."    

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


  2. AI answer

    2026-08-30T17:06:23.93+00:00

    In Windows 11 in S mode, OneDrive cannot be reinstalled while staying in S mode. The documented Microsoft Q&A guidance is that there is no OneDrive installer for S mode, so the only way to reinstall OneDrive is to switch out of S mode. That change is one-way and cannot be undone.

    Before doing that, try the non-reinstall fixes that are supported for OneDrive startup and sync problems:

    1. Install all Windows updates
      • Open Start and search for Check for updates.
      • Install all available updates.
      • This is specifically recommended for OneDrive error 0x80070005 and update-related failures.
    2. Reset OneDrive
      • Press Windows + R.
      • Run:
             %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
        
      • If Windows cannot find it, run:
             C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
        
      • If that also fails, run:
             C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
        
      • Then open Start, search for OneDrive, and start it manually.
      Note: resetting OneDrive disconnects existing sync connections, but it does not delete files or data. Folder sync selections may need to be set again after sync completes.
    3. If the problem is specifically an update/install failure
      • Press Windows + R.
      • Run:
             %localappdata%\Microsoft\OneDrive\update
        
      • Then double-click OneDriveSetup.exe if it appears.

    If those steps do not resolve the DLL startup errors, the remaining documented reinstall path conflicts with S mode. In that case, the supported next step is switching out of S mode if reinstall is required.


    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.