Remove OneDrive Folders from Libraries?

Page 5 of 6 FirstFirst ... 3456 LastLast

  1. Posts : 151
    Windows 10
       #41

    With OneDrive stuff you should do your own reg editing. However, there are threads about disabling thru policy and some thru reg edits, follow both.

    Downloading a program to do it for you is a mistake they cant be totally trusted, or to work right.
      My Computer


  2. Posts : 130
    Windows 10 Pro
    Thread Starter
       #42

    I never said anything about downloading a program to do it for me.

    Those config files are built in, most likely meant to be used by administrators for deployment purposes, it's the typical Microsoft .ini file syntax
      My Computer


  3. Posts : 46
    64-bit 10240 10 Pro
       #43

    drfsupercenter said:
    I never said anything about downloading a program to do it for me.

    Those config files are built in, most likely meant to be used by administrators for deployment purposes, it's the typical Microsoft .ini file syntax
    The only way I know how to remove it permanently is by clicking on Run then enter gpedit.msc or you can run this app

    Destroy Windows 10 Spying 1.5 Build 314

    Using GP would be better. If you use that App make an image first.
      My Computer


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

    That has absolutely nothing to do with my issue...
      My Computer


  5. Posts : 46
    64-bit 10240 10 Pro
       #45

    drfsupercenter said:
    That has absolutely nothing to do with my issue...
    If you would take the time to open that app you will see that it has the ability to completely remove OneDrive and other apps. Something that you came here to get help for. Use it or do not, I can guarantee you that it will do what you want.

    Remove OneDrive Folders from Libraries?-1d.png
      My Computer


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

    Except I don't want to delete OneDrive... read my other posts.

    I already know how to do that, and it's possible without using a third-party app. I JUST want it to stop adding itself to my libraries.
      My Computer


  7. Posts : 46
    64-bit 10240 10 Pro
       #47

    drfsupercenter said:
    Except I don't want to delete OneDrive... read my other posts.

    I already know how to do that, and it's possible without using a third-party app. I JUST want it to stop adding itself to my libraries.
    To hide the icon, press Windows + R and type regedit into the Run box. Hit enter and Navigate to

    HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
    Double-click on System.IsPinnedToNameSpaceTree and change the value to 0.
    Log off or restart your PC. That’s it, the OneDrive entry is now gone. You can get it back by repeating the process and changing the value back to 1.
    This tweak obviously doesn’t disable OneDrive integration, just removes the entry in File Explorer.
    Source
      My Computer


  8. Posts : 130
    Windows 10 Pro
    Thread Starter
       #48

    That's still not the issue -_-

    Hiding the icon does not prevent it from adding itself to your libraries.

    I have another idea in mind, which I will test shortly.
      My Computer


  9. Posts : 130
    Windows 10 Pro
    Thread Starter
       #49

    OK, I've come up with a really awkward temporary solution. Hopefully somebody who's knowledgable about Libraries can help refine this a bit.

    Basically, a recap for those just seeing this thread, the ONLY issue I have with OneDrive is that it will add itself to my Libraries (Documents, Music and Photos, for some reason Videos isn't modified even though I have a Videos folder in OneDrive too) every time the app is run - usually this is only at boot-time, but exiting the app and starting it again will do the same thing.

    If I remove the OneDrive location from a library, it stays gone until the next time the app starts, when it adds it back.

    So what I did was go to where the libraries are stored, reset the four main libraries (documents, music, pictures, videos) to default (there's a button to do that) which removes the OneDrive folder location and changes the default back to what it should be - since there's now only one folder, clicking the library in Explorer doesn't show separate categories, just the contents of that one folder.
    After that, I removed ALL permissions from the .library-ms file. This is only possible by navigating directly to the Libraries folder, clicking Properties (it will have a separate Security tab this way, if you just right-click the library in the Explorer side pane it will not), clicking Advanced under security. Disabled inheritance and then removed everything.

    It gave a warning saying if I continue, nobody will be able to access the file and only the owner (which is me) can change permissions. Fine.

    The result: My libraries are still viewable (even though there's no 'read' permission, apparently this doesn't matter), but they cannot be modified by anybody including SYSTEM since I removed the permissions. If I right-click the library in the Explorer pane, it gives an error:

    Remove OneDrive Folders from Libraries?-wfynglq.png

    But if I just click the library, it shows the contents as it should. The good news: since I removed all the permissions, the OneDrive app cannot modify them either! Success... for now! I can close and reopen the OneDrive app as many times as I want and it doesn't get added to my libraries anymore.

    But like I said... this is a relatively stupid workaround for this problem - it would be nice to still be able to modify the libraries myself. I wonder if there's a way to deny the OneDrive app permission while letting myself have permission? I'd need somebody who deals more with Windows permission to assist here.

    And if it helps anyone, the folder where the .library-ms files are kept is:
    %appdata%\Microsoft\Windows\Libraries

    EDIT:

    Removing all permissions meant I couldn't open any of my files. I was able to see the thumbnails, but trying to open them gave me a permissions error. I've found a more permanent solution:

    Remove OneDrive Folders from Libraries?-aqcikoq.png

    I greyed out my username as this is my computer at work

    But anyway, basically you need that read/execute permission for it to work properly. The good news: I can still write, modify, whatever the contents of the Pictures folder, as after all, that's a different folder! It's JUST the library-ms file I changed permissions to. What's interesting: if I try to modify the library and add a folder, I can hit apply and OK, it doesn't stop me or give any errors... but as expected it doesn't work, the folder does not get added

    I'm thinking this is as close to a proper solution as we'll get unless Microsoft makes a proper way to disable library-adding of OneDrive.
      My Computer


  10. Posts : 46
    64-bit 10240 10 Pro
       #50

    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./
      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 04:00.
Find Us




Windows 10 Forums