Friday, January 30, 2015

Resolving "missing One Drive overlay icons" issue

This question is asked many times over Microsoft support forums, but I'm yet to see a meaningful answer to it, even though the reason for this failure is rather simple.

First, a few words about what actually happens here. With OneDrive Microsoft made a rather unorthodox decision to have this piece of software installed on per-user basis. This is a major deviation from the "traditional" Windows software installation practices, when software is installed once through Administrator account and then becomes accessible from all user accounts on the computer. What it means in case of OneDrive is that each user account on the given computer has to install OneDrive independently and separately, just for themselves.

And this almost works. Most of OneDrive's functionality is successfully installed into each user's personal folders, except for one piece: icon overlay support in Explorer. The icon overlay functionality currently requires making modifications to HKLM area of the system registry, namely

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

A normal user account (i.e. an account without administrative rights) is not able to perform such system-wide modifications. Windows immediately blocks any attempts to write into HKLM area in the registry. This is the reason the icon overlay functionality simply fails to install from under normal user accounts. When installed in this fashion, OneDrive still works correctly, it properly syncs the files, but there are no icon overlays in Explorer.

Now, how to solve this problem and make these icon overlays to work:

Method 1 - Primitive
Log into Administrator account on your computer and install OneDrive for Administrator. You probably don't really need OneDrive for Administrator, but doing this will make the necessary system-wide changes to the registry. Once you install OneDrive for Administrator account, icon overlays should start working for all normal user accounts on that computer.

Method 2 - Smart
1. Uninstall OneDrive from all user accounts
2. Log into Administrator account
3. Enter "Local Users and Groups" applet in "Computer Management". Make each normal user a member of "Administrators" group, i.e. give all of your users full administrative rights. (You can also use "User Accounts" entry in "Control Panel" for that purpose).
4. Log off from Administrator account.
5. Log into your normal user account (which now has administrative rights) and perform fresh installation of OneDrive.
6. Repeat step 5 for all user accounts that need OneDrive
7. Go back into Administrator account. Reverse step 3, i.e. take away administrative rights from all normal user accounts.
You are done. Now all users should see normal icon overlays in their OneDrive folders.

Method 3 - Hackish
Log into Administrator account on your computer and merge the following data into your registry (i.e. save it as a .reg file, right click it and execute the "Merge" command). Backing up your registry before performing any modifications is strongly recommended
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrive1]
@="{F241C880-6982-4CE5-8CF7-7085BA96DA5A}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrive2]
@="{A0396A93-DC06-4AEF-BEE9-95FFCCAEF20E}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\ SkyDrive3]
@="{BBACC218-34EA-4666-9D7A-C78F2274A524}"


Now all users should see normal icon overlays in their OneDrive folders.

3 comments:

Martine Lewis said...

Okay, I have questions on this.
There is only one user on my computer and it is the administrator.
Despite that, the overlay icons still do not work.
Method 2, since I'm always logged in as the administrator, didn't work.

For Method 1
I was wondering what this OneDrive for administrator is. I have gone to Google and try to find it but couldn't. is that something other than the regular app you install? If so, where do I find it?

For method 3
I would love to try it but there is definitely not enough details for me to try something like this. I mean, I am not computer illiterate but I would never try something like that without a lot more details.

So any help you can give me would be appreciated.
I'm getting desperate since my onedrive all of a sudden stopped syncing and I found out 3 days later... the feaking icons would have told me right away but while they work on Dropbox, they don't want to cooperate on onedrive.

Chidanand Hiremath said...

@Martine

I had the same problem. Apparently, windows has limitations that cause it display only a limited number of icon overlays. When you have dropbox installed, their overlays supersede those of OneDrive's. I was able to get my OneDrive overlays to show by deleting the dropbox entries in the registry.

type regedit in search and open it.
Navigate to the registry address mentioned in this article and delete the dropbox keys under it.

This doesn't solve the issue if you want the overlays for both dropbox and onedrive but I prefer onedrive over dropbox, so it helped me.

Jay Marie Pedrano said...

Method 3 works like a charm.