View Single Post
  #10  
Old August 23rd 20, 02:04 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default OneDrive update error

Chris wrote:
Paul wrote:
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


Progress report. I've found a folder full of all the different versions of
one drive in:
%localuser%\AppData\Local\Microsoft\OneDrive

It includes the actual OneDrive.exe and OneDriveSetup.exe for each of them.
I've tried a few including the default one dated 2018, but they all do the
same thing. The setup throws the error in my OP and the OneDrive executable
shows the one drive icon on the taskbar, but greyed out and with a line
through it. Hovering the mouse over it brings up a "Updating..." pop-up.
Then it disappears. Clearly it's got itself stuck in an update loop. How to
get out of it?

I've run the one drive reset option and a couple of random msiexc commands
I found. All with no success.

I've also found some logs with little intelligible in there. Most of the
files are ODL files and in the setup\logs folder it seems it is resetting
every minute. The only readable file has error lines about not being able
to delete file and retries 30 times:
"JokeYakLog:\RodOafGad\VineFoxAte\TaxZigPen\WarPew Much\PenFoxRag\MuchGadSea\MuchGadSea.exe"
which looks dodgy but google throws up nothing.

Utterly at a loss as to what's gone wrong here. Microsoft at its most
beautiful worst here :-(

Am tempted to start randomly deleting things now...



Scan MuchGadSea.exe on virustotal.com .

It's a substitution code, intended to make a random path,
and being random, isn't likely to be Google-able, as it
was made just for you. However, the payload, whether it's
MuchGadSea.exe or another file in that folder, it can't
run away quite as quickly.

If any (online) scanning tool "seems to malfunction", you
have your answer.

If it is protected by a rootkit, you could try
taking the OS offline and doing the scan from another
OS. Or, using a safety scanner. There's Kaspersky,
Bitdefender, or some flavor of this.

https://support.microsoft.com/en-ca/...-protect-my-pc

It could be, that whatever the machine has for AV
protection, is "interfering" with an active infection.
And your Onedrive symptoms are just a side effect.
Such as the MSI subsystem being "busy" with a
malware infection trying to install something.

Paul
Ads