View Single Post
  #5  
Old August 21st 20, 12:48 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default OneDrive update error

Chris wrote:
Paul wrote:
David_B wrote:
On 19/08/2020 09:44, Chris wrote:
My wife's laptop said OneDrive needed updating so away we went to
update it, but it failed with the 0x80040c82 error code. Followed the
instructions here with no success.
https://answers.microsoft.com/en-us/...0-e7c2039ef841



I went in manually to uninstall OneDrive, rebooted the machine and
checked that it is definitely gone, but the install refuses to work.
Anyone seen this problem or got any other ideas?
TIA
May I suggest that you read this helpful article, Chris?

https://www.dummies.com/computers/op...t-is-onedrive/


Good luck! :-)

Ah, no.

The problem is, the reason it's hard to craft an answer, is because
OneDrive has four different versions, and the software could
either be Win32 for it, or it could be a Metro App.

The flowchart for fixing, may depend on what one is being used.

[lots of advertising]

https://www.zubairalexander.com/blog...your-computer/


Ah. Thanks. I didn't realise the distinction. This is a work-related
OneDrive so probably the O365 version.

Onedrive, before it had these versions, used to get into install
loops, and beat the **** out of the computer. Eventually I think
some code was added so it wouldn't do that more than three or
four times. Then the next day, it would do it again.

I don't recollect there being a separate installer to download.


It just popped up in the notifications.

If it was coming in as a KB (which it probably isn't), you could
get it from the Catalog server and do it by hand. But I doubt
life is that simple.

For Metro Apps there are some commands for removing and installing,
and there's also some stuff in the GUI for the Apps section.
Equivalent to Programs and Features, so you don't have to use
the command line.

The problem space at the moment, is too large to answer, and the OPs
problem might well have resolved on its own by now.


Nope. Your link above gives me an idea of how to fix it. Maybe.


Look for "onedriveonedrive" or "onedriveonedrive.exe" on the
machine. And try that as a search term (in Agent Ransack or Everything.exe,
as the Windows Search isn't likely to find it). I think that *might* be
a Win32 maintenance executable, for dealing with the thing
as a broken App.

When Microsoft made Apps, it did a strange thing. It assigned a
file extension of EXE to the main file. If you open it with
7ZIP (the Swiss Army knife for Windows), it shows "the usual structures"
for a Win32 executable. Except... they're a stub and do nothing.
If you double click an App, the Win32 loader tries to load it, and
the screen "blinks" because the execution time is so short.

int main();
return 0;

Instead, what is inside the file, later in the file structure,
is a manifest of sorts, which details what components make the
App. An "App Loader" needs to examine that and load the App,
based on the manifest. And then you are stuck with figuring out
"OK, what exactly triggers the App Loader to run".

That's why, if you happened to find a "OneDrive.exe", it would
probably be bogus. And... it would not accept command line
arguments. Seeing as "it isn't a real Win32 and is only pretending".
Apps are highly unlikely to accept command line arguments, seeing
as the executable part is "empty", as in the two line pretend code
example.

So when I saw a reference to a "OneDriveOneDrive" executable,
one that accepts a Reset directive, it was my guess that
this was a clever way of saying "this isn't the App one and
it's actually useful".

Paul
Ads