OneDrive entries are missing in context menu when TC is run as Administrator

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Sektor
Member
Member
Posts: 157
Joined: 2007-04-04, 10:11 UTC
Location: Russia

OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Sektor »

TC: 2.1 x64
Windows: 10 x64 Home


When I right-click on any file in OneDrive folder, no OneDrive-specific entries appear in context menu. This happens only when TC is run as administrator.
When I run TC as user, all OneDrive entries correctly appear in context menu.
License #299429
There is no knowledge that is not power
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Dalai »

Does it happen when you run Notepad as administrator, too? Check in its File > Open dialog. If so, it's a Windows issue, not a TC one.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *petermad »

Does it happen when you run Notepad as administrator, too?
It does here (Windows 7 & 10) - so it IS a Windows issue.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Sektor
Member
Member
Posts: 157
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Sektor »

@Dalai
Beg your pardon, but I didn't understand your question. What's the connection between OneDrive's entries in context menu and opening Notepad as administrator?
License #299429
There is no knowledge that is not power
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Usher »

You have installed OneDrive as a user (using the user's credentials, privileges etc.) so it's available for any programs run by this user, not as administrator.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Horst.Epp »

Sektor wrote: 2018-08-18, 09:08 UTC @Dalai
Beg your pardon, but I didn't understand your question. What's the connection between OneDrive's entries in context menu and opening Notepad as administrator?
Isn't that obvious enough ?
Trying the context menu in some other elevated program shows you that there is no TC problem
if it behaves like TC.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Sektor
Member
Member
Posts: 157
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Sektor »

@Usher
Am I right that administrator doesn't have access to OneDrive?
License #299429
There is no knowledge that is not power
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Dalai »

2Sektor
What Horst said. It's only about trying to find out if the context menu appears in other programs running as administrator. Notepad is just a placeholder; you can use any other program where you can call the context menu somehow (WordPad, Paint, Free Commander). Note that you can't start Explorer as administrator, it always runs non-elevated (without higher rights).

2Usher
It's the same user account, so it shouldn't make a difference to the context menu. That's assuming UAC is enabled, which is the default; disabled UAC is a different story. However, as I said: let's just find out whether or not it's a Windows or TC issue (probably the former).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *petermad »

let's just find out whether or not it's a Windows or TC issue
I already gave the answer: viewtopic.php?p=346141&sid=86384365c447ea7b15935ab644ae7ba0#p346141
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *Dalai »

2petermad
Sorry, I missed the Win10 in your answer (only saw the Win7). OTOH maybe it's different on the various Win10 releases (although I doubt it), but we don't know which Win10 version exactly Sektor is using.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: OneDrive entries are missing in context menu when TC is run as Administrator

Post by *ghisler(Author) »

Windows often treats running "As Administrator" as a separate user, especially with networking functions like mapped network drives. It seems like the same happens with OneDrive context menu entries, although OneDrive itself works fine (even online only files get downloaded).

There are many other things broken in the Windows 10 context menu. For example, the new "Share" user interface doesn't work at all in programs other than the Explorer. Also "Pin to Start" doesn't work for most programs. I have reported such bugs to Microsoft, but they don't seem to care. They probably only react when multi-billon dollar corporations complain.
Author of Total Commander
https://www.ghisler.com
Post Reply