Can't Remove Onedrive Link

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Can't Remove Onedrive Link

Postby nezudomo » Mon Jan 30, 2017 1:40 pm

I had an issue where everytime I'd open XnView MP after a reboot, Windows 10 Onedrive would pop up and want me to enable it. I don't use Onedrive in Windows 10, so I uninstalled the program from Control Panel, then used the registry settings talked about here in order to remove the Onedrive link from Explorer, and deleted the file directly under the C:\Users\[USER] directory.

In spite of that, the link is still appearing in the XnView MP explorer tree.

Capture.JPG
Capture of XnView MP and explorer side by side


It's no longer trying to start Onedrive when I start XnView MP, so the issue is basically fixed, but I don't understand where XnView MP is getting this link from if I've deleted all references to OneDrive on my system, in theory. Has anyone run into this?
nezudomo
 
Posts: 3
Joined: Mon Jan 30, 2017 1:25 pm

Re: Can't Remove Onedrive Link

Postby XnTriq » Mon Jan 30, 2017 6:30 pm

Hi and welcome to the forum, nezudomo.

Please try this:

  1. Go to ToolsSettings...CatalogCache maintenance.
  2. Select the folder in question and hit the Delete button.
User avatar
XnTriq
Moderator & Librarian
 
Posts: 4728
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Can't Remove Onedrive Link

Postby nezudomo » Tue Jan 31, 2017 2:22 am

I couldn't find the OneDrive directory in the Cache Maintenance section. I went ahead and deleted all the entries, just to see if that would make a difference, but it didn't. I also did a search for "OneDrive" on my PC and did find a OneDrive directory under C:\Users\[USER]\AppData\Local\Microsoft\, but all it contained were old text logs and such. I renamed it to "old_OneDrive" just to see if that would make a difference, but it didn't.

While I was poking around, I went ahead and also deleted everything under C:\Users\[USER]\AppData\Roaming\XnViewMP to see if that might change anything (that's where I setup my catalog and ini file). It did reset everything, but it still has the OneDrive link in the file directory tree.

I just don't see where it's finding a reference to OneDrive at this point.
nezudomo
 
Posts: 3
Joined: Mon Jan 30, 2017 1:25 pm

Re: Can't Remove Onedrive Link

Postby helmut » Tue Jan 31, 2017 7:41 am

To me it looks as if OneDrive is still (partly) active on your computer. OneDrive is a Windows service and part of Windows 10 and I just learnt that in newer Windows 10 versions you can uninstall it. I've just tried myself and it didn't change anything; OneDrive is still shown in the Windows Explorer and in XnView. I guess we both have to dig more...
User avatar
helmut
Moderator
 
Posts: 7779
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Can't Remove Onedrive Link

Postby nezudomo » Wed Feb 01, 2017 3:52 am

All right, I dug around in the registry and this is what I found:

Capture.JPG
OneDrive registry information entry


I'm not nearly knowledgeable enough about Windows to know what all these DWORDs are used for or or how the windows shell interprets them, but something in here causes the OneDrive folder to be seen by the XnView MP file explorer, even though everything else about that service is deleted and gone. I deleted the entire {018D5C66-4533-4307-9B53-224DE2ED1FE6} key and all of its subkeys, and XnView no longer shows an entry for OneDrive in the file explorer panel.

It would be nice if someone could come along and explain what it is in whichever subkey that causes XnView to display the folder as browsable in the explorer pane so that instead of deleting the entire key, we could simply tweak a value to turn it off. But in the meantime, deleting the key seems to do the trick.
nezudomo
 
Posts: 3
Joined: Mon Jan 30, 2017 1:25 pm

Re: Can't Remove Onedrive Link

Postby Erixx haxx » Wed Feb 01, 2017 5:02 am

Hi,

I don't have Win 10, but if OneDrive runs as a service you would probably have to kill it and then the reg. related to it.

I'd be careful on x64 machines because I'm pretty sure Win x64 use's Symbolic links in the reg. and creates keys, maybe a whole hive, When user logs on.
I can't remember. But It has to do with the x64 os. You might see it come back after a reboot too.

You might find something on stack overflow or windows site
Last edited by Erixx haxx on Thu Feb 09, 2017 2:18 am, edited 1 time in total.
Windows 7 Ultimate, x64-bit (SP 1) XnViewMP x64 v0.85-b-1 Port
ASUSTek P8Z77-v
i5-3570K CPU @ 3.40GHz
Memory: x16.0 GB
Samsung SSD 840 EVO 250GB ATA
NVIDIA GeForce GTX 960 @ 1177 MHz
Dedicated: 4096 MB GDDR5
User avatar
Erixx haxx
 
Posts: 312
Joined: Tue Jul 28, 2015 10:37 am

Re: Can't Remove Onedrive Link

Postby hugmenot » Thu Feb 09, 2017 12:26 am

Disabling OneDrive will lockup XnViewMP for ~5 minutes when using 'Browse With XnView' on a path starting with C:\ or starting the App if the default/last path was C:\...

From a clean install of Windows 10 Anniversary Update, XnViewMP 0.84 and OneDrive disabled using O&O Shutup.
hugmenot
 
Posts: 2
Joined: Thu Feb 09, 2017 12:12 am

Re: Can't Remove Onedrive Link

Postby xnview » Thu Feb 09, 2017 10:35 am

hugmenot wrote:Disabling OneDrive will lockup XnViewMP for ~5 minutes when using 'Browse With XnView' on a path starting with C:\ or starting the App if the default/last path was C:\...

From a clean install of Windows 10 Anniversary Update, XnViewMP 0.84 and OneDrive disabled using O&O Shutup.

and no problem with XnView Classic?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26738
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Can't Remove Onedrive Link

Postby hugmenot » Thu Feb 09, 2017 2:16 pm

xnview wrote:and no problem with XnView Classic?

No problems with Classic.

When disabling OneDrive a reboot in necessary to see the problem, but enabling fixes it immediately. On next run MP will show Setup OneDrive nag screen.
hugmenot
 
Posts: 2
Joined: Thu Feb 09, 2017 12:12 am


Return to MP - General Support

Who is online

Users browsing this forum: merry widow and 1 guest