Share via

Ever since I deleted the OneDrive folder, my apps and programs have messed up

Anonymous 20 Reputation points
2026-02-26T11:14:28.8033333+00:00

I was tidying up my laptop the other day, removing apps and files I no longer used. In the process, I came across a OneDrive folder in my ‘User’ directory on the C: Drive. As I had stopped using OneDrive a few months earlier and had desynced my account, I assumed the folder was just a leftover and deleted it. However, it contained subfolders for my Desktop, Documents, and Pictures, and so I lost everything. Thankfully, I was able to recover most of my important apps and files using a system restore point I had created earlier. I then recreated the folder and its subfolders, renaming it ‘Important’ in case I forgot later on. Since then, though, my apps and programs have been behaving extremely strangely. Sometimes, they refuse to open, and an error pops up saying the app can't be found even though it is installed. For some reason I now have two Paint apps, one of which works perfectly, while the other will not open and says that Windows can't find mspaint.exe (In the Installed Apps section of Settings, I can only see one paint app which works and can't see the other). I have had to uninstall and reinstall several apps to get them working again. How do I fix this?

Microsoft 365 and Office | OneDrive | For home | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  1. Ramesh Srinivasan 74,670 Reputation points Independent Advisor
    2026-02-26T15:13:56.2633333+00:00

    25-02-2026 04:18 684 Paint.lnk

    Please open the folder C:\ProgramData\Microsoft\Windows\Start Menu\Programs

    Delete the Paint shortcut (Paint.lnk) or move it to your desktop.


4 additional answers

Sort by: Most helpful
  1. Ramesh Srinivasan 74,670 Reputation points Independent Advisor
    2026-02-26T14:59:08.6333333+00:00

    Please open Command Prompt admin and run:

    dir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" /s /a >C:\shortcuts.txt
    
    dir "%appdata%\Microsoft\Windows\Start Menu\Programs" /s /a >>C:\shortcuts.txt
    

    Attach C:\shortcuts.txt in your next reply.


  2. Ramesh Srinivasan 74,670 Reputation points Independent Advisor
    2026-02-26T14:25:50.8566667+00:00

    Please click "Open file location" (shown in the screenshot you posted) option.

    It takes you to the folder which contains the orphaned shortcut.

    0 comments No comments

  3. Ramesh Srinivasan 74,670 Reputation points Independent Advisor
    2026-02-26T14:17:30.63+00:00

    From PowerShell (admin), please run the following command:

    get-appxpackage -allusers *paint*
    

    Copy the output to a text file and upload the text file in your next reply. The command-line shows the version information for each instance of Paint staged on the computer.


  4. Ramesh Srinivasan 74,670 Reputation points Independent Advisor
    2026-02-26T11:53:54.2033333+00:00

    Hi, This is Ramesh.

    Paint is an UWP (Store app) in Windows 11 and a classic app in Windows 10. Hence, the troubleshooting method will vary depending upon the OS.

    Please run winver.exe and post a screenshot of that dialog. The dialog shows your OS version, edition and the build number.


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.