OneDrive - Shortcut
OneDrive - Shortcut
How is the OneDrive shortcut rendered. I don't see it coming on my office laptop where we've a Business OneDrive. It is appended with " - <Company Name>"
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: OneDrive - Shortcut
By shortcut you mean the special folder? What do you get, no OneDrive folder at all?
FAQ | XY News RSS | XY Twitter
Re: OneDrive - Shortcut
Yes, I meant the shortcut in tree. Currently, I don't get to the see the shortcut in the tree unless I explicitly navigate to that folder
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: OneDrive - Shortcut
I'm currently using two methods:
1) SHGetKnownFolderPath with {A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}
Does this return anything?:
2) HKEY_CURRENT_USER\Software\Microsoft\OneDrive
But in your case the path could also be hidden in either of these, could you check that for me?
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business
1) SHGetKnownFolderPath with {A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}
Code: Select all
echo get("knownfolderpath", "{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}"); //onedrive path
Code: Select all
echo get("knownfolderpath", "{24D89E24-2F19-4534-9DDE-6A6671FBB8FE}"); //FOLDERID_SkyDriveDocuments (?)
But in your case the path could also be hidden in either of these, could you check that for me?
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts
HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business
FAQ | XY News RSS | XY Twitter
Re: OneDrive - Shortcut
The first knownfolder returns path to the personal onedrive which is an empty folder and hence the second one doesn't return anything.
In the registry, there are two folders under accounts, Personal and Business1 and the UserFolder key inside these folders points to the onedrive location for Personal and Business respectively.
Not sure if the trailing 1 in the Business1 is problematic.
In the registry, there are two folders under accounts, Personal and Business1 and the UserFolder key inside these folders points to the onedrive location for Personal and Business respectively.
Not sure if the trailing 1 in the Business1 is problematic.
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: OneDrive - Shortcut
hi! i was checking the breadcrumb bar dropdown today and noticed i have "OneDrive" listed there (section above the my drives, right above my user name). i ran the 2 echo commands listed above and they are both blank. i do not have nor have ever had OneDrive installed/active (always removed after fresh installs).
since it isn't present on my system and the folder doesn't exist, shouldn't it not be shown in the dropdown list ?
since it isn't present on my system and the folder doesn't exist, shouldn't it not be shown in the dropdown list ?