Windows 10: Problem with onedrive libraries

Discus and support Problem with onedrive libraries in Windows 10 Software and Apps to solve the problem; Hi,I have removed OneDrive a long time ago. Since then, I had 2 libraries of pictures and documents. They used different path.The path I want to keep... Discussion in 'Windows 10 Software and Apps' started by Miko A1, Oct 8, 2022.

  1. Miko A1 Win User

    Problem with onedrive libraries


    Hi,I have removed OneDrive a long time ago. Since then, I had 2 libraries of pictures and documents. They used different path.The path I want to keep is this one : C:\Users\%user%\Pictures C:\Users\%user%\DocumentsThe folder I want to remove is that one : C:\Users\%user%\OneDrive\Pictures C:\Users\%user%\OneDrive\DocumentsEven if I delete the folder OneDrive, the library in the section "This pc" will only say that the folder doesn't exist anymore as a error. I try to chang

    :)
     
    Miko A1, Oct 8, 2022
    #1
  2. wallace99 Win User

    Problem with location of Pictures library after making pictures available on OneDrive

    Thanks Rhina

    I did what you suggested but it ended up making OneDrive the Pictures library. This may have something to do with the way i originally moved the Pictures folders to OneDrive. I probably should explain:

    Because there already was a (fairly empty) Pictures folder under OneDrive (automatically set up I think when transferring a few Ipad photos to PC via OneDrive) I had moved the top level Pictures folders into D/users/myname/OneDrive rather than moving
    the Pictures folder itself. This was probably a bit stupid but I subsequently moved the top level Pictures folders into that pre-existing Pictures folder on OneDrive and that's how we got to where we are today.


    To continue after that diversion. Following the restore you suggested, the pictures folder under Libraries was still wrong but it looked a lot better ie it was no longer offering me a choice of locations for Pictures folders and, instead was just showing
    me all the top level folders for what it (wrongly) thought was the Pictures folder. But it was still not appearing directly under This PC.

    My next step was to go into Properties option for Libraries/Pictures. Here I simply added the correct location D/users/myname/OneDrive/pictures and deleted the location D/users/myname/OneDrive which at that time was the current location.

    So, on the Positive side:

    • Libraries/Pictures now shows what I would expect ie my top level Pictures folders

    But, on the negative side:

    • Pictures still does not appear under This PC, unlike Documents, Videos, Music etc
    • in the Photos app, if I go to Folders option, it shows the folder as OneDrive, not OneDrive/Pictures even though, if i go into "choose where to look" it is correctly showing OneDrive/Pictures as the location. Obviously i can still get to the photos I need
      but it's an extra unnecessary step
    That's where i am currently.
     
    wallace99, Oct 8, 2022
    #2
  3. Windows 10 - OneDrive

    Right click on the app and one of the properties has an option to not automatically start it. Uncheck, restart the computer, and it should stop. If you want to go another step further, find the OneDrive app in the start menu, right click on it and uninstall.

    If that is still insufficient, there is a batch uninstaller for OneDrive available online. I can copy the code here if you need it.
     
    FordGT90Concept, Oct 8, 2022
    #3
  4. Problem with onedrive libraries

    OneDrive adding folders to Library

    I found a workaround for this problem. You can use a tool to automatically delete the OneDrive folders from your libraries every time you log on to your PC.

    Here are step-by-step instructions:

    Step 1. Go to Downloads - The Grim Admin and download the tool

    Step 2. Extract the downloaded .zip folder, open the "ShLib" folder and move the file "ShLib.exe" to %userprofile%

    Step 3. Press the Windows key and type "Task Scheduler", press Enter

    Step 4. In the Task Scheduler application, select "Create Basic Task" on the right

    Step 5. Enter any name for the task and click Next

    Step 6. Select "When I log on" and click Next

    Step 7. Select "Start a program" and click Next

    Step 8. Under "Program/script", enter the path of the "ShLib.exe" file you downloaded

    Step 9. Under "Add arguments", enter the following:

    remove "%userprofile%\AppData\Roaming\Microsoft\Windows\Libraries\Music.library-ms" "%userprofile%OneDrive\Music"

    (this will remove the OneDrive folder from your Music Library)

    Step 10. Click Next, then select "Open the properties dialogue for this task when I click Finish" at the bottom, then click Finish

    Step 11. In the Properties window, go to the "Triggers" tab

    Step 12. Select the "At log on" trigger and click Edit at the bottom

    Step 13. Check "Delay task for" and enter "1 minute", then click OK

    Step 14. In the Properties window, go to the "Actions" tab

    Step 15. Click "New" at the bottom

    Step 16. Under "Program/script", enter the path of the "ShLib.exe" file you downloaded

    Step 17. Under "Add arguments", enter the following:

    remove "%userprofile%\AppData\Roaming\Microsoft\Windows\Libraries\Pictures.library-ms" "%userprofile%OneDrive\Pictures"

    (this will remove the OneDrive folder from your Pictures Library)

    Step 18. Click OK

    Step 19. Click "New" at the bottom

    Step 20. Under "Program/script", enter the path of the "ShLib.exe" file you downloaded

    Step 21. Under "Add arguments", enter the following:

    remove "%userprofile%\AppData\Roaming\Microsoft\Windows\Libraries\Documents.library-ms" "%userprofile%OneDrive\Documents"

    (this will remove the OneDrive folder from your Documents Library)

    Step 22. Click OK, then OK again, and you're done!
     
    Emil Junker, Oct 8, 2022
    #4
Thema:

Problem with onedrive libraries

Loading...
  1. Problem with onedrive libraries - Similar Threads - Problem onedrive libraries

  2. Problem with onedrive libraries

    in Windows 10 Network and Sharing
    Problem with onedrive libraries: Hi,I have removed OneDrive a long time ago. Since then, I had 2 libraries of pictures and documents. They used different path.The path I want to keep is this one : C:\Users\%user%\Pictures C:\Users\%user%\DocumentsThe folder I want to remove is that one :...
  3. Problem with onedrive libraries

    in Windows 10 Gaming
    Problem with onedrive libraries: Hi,I have removed OneDrive a long time ago. Since then, I had 2 libraries of pictures and documents. They used different path.The path I want to keep is this one : C:\Users\%user%\Pictures C:\Users\%user%\DocumentsThe folder I want to remove is that one :...
  4. cd Library II problem

    in Windows 10 Gaming
    cd Library II problem: Guten Tag,habe eincd Library von dacal .aber leider funktioniert es nicht. mein PC WIN 11 erkennt das Gerät nicht.who can help?LGEckhard Michel https://answers.microsoft.com/en-us/windows/forum/all/cd-library-ii-problem/2aa3d263-7a22-44ba-b365-1ae2eaf11c12
  5. cd Library II problem

    in Windows 10 Software and Apps
    cd Library II problem: Guten Tag,habe eincd Library von dacal .aber leider funktioniert es nicht. mein PC WIN 11 erkennt das Gerät nicht.who can help?LGEckhard Michel https://answers.microsoft.com/en-us/windows/forum/all/cd-library-ii-problem/2aa3d263-7a22-44ba-b365-1ae2eaf11c12
  6. Using Onedrive to sync Sharepoint Library

    in Windows 10 Software and Apps
    Using Onedrive to sync Sharepoint Library: Good day, I am having a problem synching Sharepoint Library using Onedrive, The Library does not start up/ open automatically when I start my computer, I have to go into onedrive unlink account and login to Sharepoint and click sync then it works but it will work for as...
  7. Help With OneDrive and File Libraries

    in Windows 10 Network and Sharing
    Help With OneDrive and File Libraries: So I recently installed a new hard drive to my laptop, in addition to the small ssd I had been using. I backed up all my files, and started moving my files to the E: drive. During this process, I also uninstalled onedrive, because I dont want it. I successfully relocated all...
  8. Move Library Folders to OneDrive

    in Windows 10 Network and Sharing
    Move Library Folders to OneDrive: I seem to have a basic misunderstanding of the process to move folders to OneDrive. I've followed all the directions that I've found and can't seem to get the locations moved. When I attempt to select a new location it simply keeps coming back to the "New Location"...
  9. Remove OneDrive Folders from Libraries?

    in Windows 10 Customization
    Remove OneDrive Folders from Libraries?: Alright guys, I actually do use OneDrive, and I am not trying to remove the app entirely. However, it seems like if I remove the OneDrive folder from my libraries (music, pictures, documents), next boot they show right back up. This is incredibly annoying as I actually...
  10. Library adds onedrive automatically

    in Windows 10 Support
    Library adds onedrive automatically: Hello everyone. I have my pictures, documents, music and videos organised on a seperate HDD and added them to the Librarys so that I get rid of these annoying folders which several programs add to documents/pictures in the User-Folder. Now with Windows 10 I have got the...