OneDrive not showing

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
mbigger
Posts: 15
Joined: 06 Jan 2021 13:45

OneDrive not showing

Post by mbigger »

XYplorer 27.20.0700 (32-bit)
Microsoft Windows 10 Pro 22H2 Build 19045.6466
Screen Scaling at 125%

Microsoft OneDrive for Business shows in Microsoft File Explorer as its own node next to "My PC". In XYplorer it is nowhere to be found. The correct settings are set:

General > Tree and List > Items in Tree and List > Select Items ... > OneDrive Folder
General > Refresh, Icons, History > Icons > Show icon overlays
General > Refresh, Icons, History > Icons > Show icon overlays > In tree as well
General > Refresh, Icons, History > Icons > Show icon overlays > In network locations as well

I'm reading some old user reports that this has been a long-running bug. Enlighten me please.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

Is "OneDrive folder" ticked in Configuration | General | Tree and List | Items in Tree and List | Select Items...?

mbigger
Posts: 15
Joined: 06 Jan 2021 13:45

Re: OneDrive not showing

Post by mbigger »

Yes, see OP.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

Facepalm. :ninja:

You have only the OneDrive for Business folder, or also a personal one?

mbigger
Posts: 15
Joined: 06 Jan 2021 13:45

Re: OneDrive not showing

Post by mbigger »

Only an OneDrive for Business account is connected, as shown in Windows File Explorer.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

Let's get down to the real path. Do you have a folder called C:\Users\[YourUsername]\OneDrive - [YourCompany]?

schindi
Posts: 23
Joined: 12 Aug 2021 10:36
Location: Windows 11 Pro 24H2 with Screen Scaling 100%

Re: OneDrive not showing

Post by schindi »

Hi Don,
I have the same issue with OneDrive for Business that it does not appear in the tree. And I can confirm that the real path is
C:\Users\[YourUsername]\OneDrive - [YourCompany].
Is it possible to fix it?

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

It's hard to find reliable information about this.

1) Is your path listed here (directly or via link)?
HKCU\Software\Microsoft\OneDrive\Accounts

2) Can you confirm this AI statement?
The registry key HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1 stores configuration settings for a specific OneDrive for Business account, including the user folder path (UserFolder) and display name (DisplayName).

schindi
Posts: 23
Joined: 12 Aug 2021 10:36
Location: Windows 11 Pro 24H2 with Screen Scaling 100%

Re: OneDrive not showing

Post by schindi »

Below HKCU\Software\Microsoft\OneDrive\Accounts there 2 accounts:
- Personal
- Business1
The Account Personal only shows only 2 entries. I think the value for the key "Userfolder" is currently used XYPlorer.
The Account Business1 has far more entries --> yes, the settings for the OneDrive for Business account are stored in this branch
Also Business1 has a key "Userfolder" which contains the already discussed path of OneDrive for Business: C:\Users\[YourUsername]\OneDrive - [YourCompany]
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

Thanks! The next beta has an experimental tweak to support OneDrive For Business.

schindi
Posts: 23
Joined: 12 Aug 2021 10:36
Location: Windows 11 Pro 24H2 with Screen Scaling 100%

Re: OneDrive not showing

Post by schindi »

The tweak doesn't work for me with XYplorer 28.20.0300 (portable version). After selecting "OneDrive Folder" to be shown in the Tree, an empty icon appears with the program folder of XYplorer as content.
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

Code: Select all

echo reg_get(1, "Software\Microsoft\OneDrive\Accounts\Business1", "UserFolder");
What is returned?

schindi
Posts: 23
Joined: 12 Aug 2021 10:36
Location: Windows 11 Pro 24H2 with Screen Scaling 100%

Re: OneDrive not showing

Post by schindi »

reg_get_output.jpg
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66534
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: OneDrive not showing

Post by admin »

That's an XYplorer script. Run it through the XYplorer address bar.

schindi
Posts: 23
Joined: 12 Aug 2021 10:36
Location: Windows 11 Pro 24H2 with Screen Scaling 100%

Re: OneDrive not showing

Post by schindi »

The command returns the correct path to OneDrive for Business in the format

C:\Users\[YourUsername]\OneDrive - [YourCompany]
To see the attached files, you need to log into the forum.

Post Reply