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: sheep, Hacker, Stefan2, white

Post Reply
Sektor
Member
Member
Posts: 134
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 » 2018-08-17, 17:11 UTC

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.
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
Dalai
Power Member
Power Member
Posts: 6753
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 » 2018-08-17, 17:20 UTC

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

User avatar
petermad
Power Member
Power Member
Posts: 8849
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2018-08-17, 17:48 UTC

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 9.5b3 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Sektor
Member
Member
Posts: 134
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 » 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?
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
Usher
Power Member
Power Member
Posts: 585
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher » 2018-08-18, 14:05 UTC

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.
Regards from Poland
Andrzej P. Wozniak

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3442
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 » 2018-08-18, 14:17 UTC

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 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.476)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß6 x64 / x86, Everything 1.4.1.956 (x64)

Sektor
Member
Member
Posts: 134
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 » 2018-08-18, 14:44 UTC

@Usher
Am I right that administrator doesn't have access to OneDrive?
-------------------------------------------------
#299429
There is no knowledge that is not power

User avatar
Dalai
Power Member
Power Member
Posts: 6753
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 » 2018-08-18, 15:06 UTC

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

User avatar
petermad
Power Member
Power Member
Posts: 8849
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2018-08-18, 17:12 UTC

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 9.5b3 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Dalai
Power Member
Power Member
Posts: 6753
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 » 2018-08-18, 19:40 UTC

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

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38170
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) » 2018-08-19, 07:28 UTC

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
http://www.ghisler.com

Post Reply