pratyakshm / WinRice

Set up your brand new Windows device up to a breathtaking 60 times faster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneDrive does not get uninstalled completely

NeoBlizzard-verbose opened this issue · comments

Select category

Apps

Windows version

Windows 11 21H2

Expected behavior

OneDrive should get uninstalled wholly

Actual behavior

OneDrive does not get de-listed from installed apps list, taskbar icon still visible

WinRice output

PowerShell_transcript.LENOVO-G570.Nkg_PcmG.20220302212428.txt

Anything else I should know?

Although onedrive gets uninstalled, there exist remains of the app...
image
Screenshot 2022-03-03 151153

Control Panel -> Uninstall apps generously offers to remove it from apps listing.
image

Clicking "yes" removes the entry but doesn't remove taskbar icon
image

This is my first time reporting an issue here, sorry if it is too many pictures.

WinGet doesn't uninstall it completely, either...
image

Edit:- oh and I'm on W11 insider dev 22567

Hi,
Few questions (and a request):

  1. What happens when you hover over the OneDrive icon in the app tray (taskbar)?
  2. What results does Windows Search bring up when you search for "OneDrive"?
  3. Please run "winget list OneDrive" in Terminal and show the output.
  1. What happens when you hover over the OneDrive icon in the app tray (taskbar)?

image
Hover

image
Clicking it opens a blank window

  1. What results does Windows Search bring up when you search for "OneDrive"?
    image
    This was after removing the entry from control panel.
    Unfortunately, I do not have a before :(
  1. Please run "winget list OneDrive" in Terminal and show the output.
    image
    Again, after removing it from control panel.
    Before can be seen below (from Original issue post)
    image

Found a workaround.
re-install the same package (w/same version) and uninstall it using winget/windows package manager thingie
This did a clean uninstall in my experience.

For this case, the installation file for onedrive ver. 22.033.0213.0002 is here

I got it - I think the root cause behind this is because WinRice needs to uninstall two packages:
Microsoft.OneDrive and Microsoft.OneDriveSync_8wekyb3d8bbwe. Not sure when they introduced the Microsoft.OneDriveSync_8wekyb3d8bbwe package though, might be something currently exclusive to Windows Insider builds since I do not have a prod machine to test this on.

Can you test this for me?:
Step 1: Install OneDrive (any method shall suffice).
Step 2: Restart device
Step 3: Run winget list onedrive in Windows Terminal (Admin)
Step 4: Run winget uninstall Microsoft.OneDriveSync_8wekyb3d8bbwe ; winget uninstall Microsoft.OneDrive in Windows Terminal (Admin)
Step 5: Restart device
Final step: Check if OneDrive is completely uninstalled, including references to it removed from appwiz.cpl or Settings > Installed apps.

@riglaze One question
Did you upgrade from Windows 10 to Windows 11 using Windows Update or did you clean install using an ISO?

@riglaze f6d39ef made some changes. Next time you (or anyone else) run(s) WinRice, please tell me if the issue is fixed or not.

@riglaze One question Did you upgrade from Windows 10 to Windows 11 using Windows Update or did you clean install using an ISO?

I did a clean install of Windows 11 using the ISO.
I cannot answer the other question above as I'm not daily driving Windows 11 for now.

@riglaze f6d39ef made some changes. Next time you (or anyone else) run(s) WinRice, please tell me if the issue is fixed or not.

Will sure do. Apologies for a late reply, was occupied with another project of mine

@riglaze f6d39ef made some changes. Next time you (or anyone else) run(s) WinRice, please tell me if the issue is fixed or not.

Unfortunately, OneDrive does not get uninstalled at all :/
I'm on the latest W11 Home Insider Preview Beta channel build (22581.100),
Fresh install from older Dev channel ISO and upgraded a few moments ago and moved channel to Beta.

image

Here are the transcripts.
PowerShell_transcript.LAPTOP-1B0S7FIL.igvN_iSz.20220326013259.txt - Selected OneDrive Uninstallation, apply changes to all users
PowerShell_transcript.LAPTOP-1B0S7FIL.kPgvGVzt.20220326012626.txt - Did not select OneDrive Uninstallation, apply changes to current user only

Can you test this for me?: Step 1: Install OneDrive (any method shall suffice). Step 2: Restart device Step 3: Run winget list onedrive in Windows Terminal (Admin) Step 4: Run winget uninstall Microsoft.OneDriveSync_8wekyb3d8bbwe ; winget uninstall Microsoft.OneDrive in Windows Terminal (Admin) Step 5: Restart device Final step: Check if OneDrive is completely uninstalled, including references to it removed from appwiz.cpl or Settings > Installed apps.

Worked just fine. I ran this "after" running WinRice (as seen in the comment above)

image

I hope I can help in any way possible :)

Seems like the winget uninstall command that I have fed in the script to be run is not working. I will investigate this tonight. Thanks for the headsup @riglaze!

Yo sup @riglaze I have made changes again. Now it properly uninstalls OneDrive in Windows 11 Insider Preview Dev/Beta Build 22581.100.