Remove OneDrive Folders from Libraries?

Page 6 of 6 FirstFirst ... 456

  1. Posts : 130
    Windows 10 Pro
    Thread Starter
       #51

    Gary said:
    Five pages of users trying to help you , users have given you several ways that it would work. The best being Group Policy. I know that works as I have used it./
    5 pages of people not understanding my question is more like it.

    For the empteenth time, I am not trying to remove, disable, or otherwise turn off OneDrive!!
    All of these suggestions were how to uninstall, remove, disable OneDrive. Seriously, people need to re-read my question!

    I managed to solve it myself in my most recent post, but I'd appreciate a more "proper" solution.
      My Computer


  2. Posts : 46
    64-bit 10240 10 Pro
       #52

    drfsupercenter said:
    5 pages of people not understanding my question is more like it.

    For the empteenth time, I am not trying to remove, disable, or otherwise turn off OneDrive!!
    All of these suggestions were how to uninstall, remove, disable OneDrive. Seriously, people need to re-read my question!

    I managed to solve it myself in my most recent post, but I'd appreciate a more "proper" solution.
    Remove OneDrive Folders from Libraries? - Page 3 - Windows 10 Forums

    I used the above fix and it worked on my release of Windows 10 build 10240. I do not have any library's and they are of no use in Windows 10. Maybe if you filled in your System Specs it would help. There is no need to reply as I won't see it.
      My Computer


  3. Posts : 154
    Windows 10
       #53

    drfsupercenter said:
    5 pages of people not understanding my question is more like it.

    For the empteenth time, I am not trying to remove, disable, or otherwise turn off OneDrive!!
    All of these suggestions were how to uninstall, remove, disable OneDrive. Seriously, people need to re-read my question!

    I managed to solve it myself in my most recent post, but I'd appreciate a more "proper" solution.
    Since you went this way, why not just remove those extra permissions from OneDrive itself, play with it more. :)
      My Computer


  4. Posts : 130
    Windows 10 Pro
    Thread Starter
       #54

    DTG1 said:
    Since you went this way, why not just remove those extra permissions from OneDrive itself, play with it more. :)
    Well, is there a way to set permissions of a program so it can't write to your hard drive? The OneDrive program itself is just a single EXE in local appdata, obviously my user would need execute permissions but removing all others, I think it would still do the library adding.

    Thanks for actually trying to help though DTG1!
      My Computer


  5. Posts : 154
    Windows 10
       #55

    drfsupercenter said:
    Well, is there a way to set permissions of a program so it can't write to your hard drive? The OneDrive program itself is just a single EXE in local appdata, obviously my user would need execute permissions but removing all others, I think it would still do the library adding.

    Thanks for actually trying to help though DTG1!
    Permissions work both ways, you need it to read, so assume that it needs some to write, however pointing a program where it can write can be a bit harder. I dont know enough about dll's to say much, but Onedrive has to save its settings somewhere, in "some-kind" of file, typically *.ini's, normally not within the .exe itself. Knowing that M$ doesnt want us to change how OneDrive works, the settings file maybe an encrypted. hidden system file, idk. Personally, I dont trust M$ or OneDrive, if I need online storage ill go with something less intrusive like Dropbox or even Mega, something I know I can uninstall when something better comes along. Plus I know its easier to safely install Dropbox/Mega on any device I want, and safely uninstall them.
      My Computer


  6. Posts : 130
    Windows 10 Pro
    Thread Starter
       #56

    DTG1 said:
    Permissions work both ways, you need it to read, so assume that it needs some to write, however pointing a program where it can write can be a bit harder. I dont know enough about dll's to say much, but Onedrive has to save its settings somewhere, in "some-kind" of file, typically *.ini's, normally not within the .exe itself. Knowing that M$ doesnt want us to change how OneDrive works, the settings file maybe an encrypted. hidden system file, idk. Personally, I dont trust M$ or OneDrive, if I need online storage ill go with something less intrusive like Dropbox or even Mega, something I know I can uninstall when something better comes along. Plus I know its easier to safely install Dropbox/Mega on any device I want, and safely uninstall them.
    There are some .ini files, I mentioned it in one of my earlier posts. I didn't see anything in there pertaining to libraries, though, but there might be a hidden command... hence why I brought it up in case anyone did some tinkering.
      My Computer


  7. Posts : 1
    Windows 10 Pro
       #57

    Solution


    I'm not sure if this thread is still alive, but I have a solution, which works fine for me. If you don't care about the OneDrive default folders like camera, music etc. just delete these.

    Hope this input helps some people.

    Best regards,
    Patrick
    Last edited by Soleh; 13 Oct 2015 at 05:55.
      My Computer


  8. Posts : 134,300
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #58

    Not sure why everyone is worried about Onedrive folders. MS is removing it soon. Everyone should have received their email from MS.
    Here is a short version.
    We’re emailing you because you’re a member of one or more groups in OneDrive. Groups will no longer be available in OneDrive after October* 16, 2015, and all group files and info will be deleted.

    So why worry about deleting folders in onedrive?? unless you actually use the piece of crap. :)
      My Computers


  9. Posts : 2
    Windows 10
       #59

    I know this is a very old thread, but I just read through it and saw there was never a good answer to the thread starter's question, which I'm currently having issues with. OneDrive is causing duplicates of my music collection when I open music apps.

    Someone recently posted an answer to the same question in Microsoft's support forums. There is an executable file that can be scheduled to run at startup to remove OneDrive from the libraries shortly after OneDrive has re-added itself to the libraries.

    OneDrive adding folders to Library - Microsoft Community

    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*Windows Libraries Command-Line Tools - 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!
      My Computer


  10. Posts : 1
    10 1709
       #60

    Fix for your issue


    drfsupercenter said:
    5 pages of people not understanding my question is more like it.

    For the empteenth time, I am not trying to remove, disable, or otherwise turn off OneDrive!!
    All of these suggestions were how to uninstall, remove, disable OneDrive. Seriously, people need to re-read my question!

    I managed to solve it myself in my most recent post, but I'd appreciate a more "proper" solution.
    Right click One Drive in your system tray and choose Settings. On the Auto Save tab, change the default save to location to This PC Only. One Drive folders will disappear from your Library folders.
    Attached Thumbnails Attached Thumbnails Remove OneDrive Folders from Libraries?-capture.jpg  
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:46.
Find Us




Windows 10 Forums