1

I was trying to uninstall Python 3.11 from my Windows 11 Pro 24H2 laptop.

When I tried from: Windows SettingsApps or Control Panel → Programs and Features the uninstallation failed multiple times.

It showed errors like:

Could not set file security for file 'D:\Config.Msi\e9e4050.rbf'. Error: 5.
Verify that you have sufficient privileges to modify the security
permissions for this file.

How can I uninstall Python 3.11 properly?

1
  • 1
    The error message is a hint that Python was installed with administrative privileges. Is your current account an administrator one? Commented Sep 30 at 12:36

1 Answer 1

3

What worked for me was using the original installer:

  1. Go to your Downloads folder (or wherever you saved the Python installer executable).
  2. Right-click the installer and select Run as administrator.
    Image
  3. The Python setup window opens with options: Modify, Repair, or Uninstall.
    Image 2
  4. Choose Uninstall.

This removed Python 3.11 successfully, when uninstalling through Settings or Control Panel kept failing.

Sign up to request clarification or add additional context in comments.

2 Comments

Absolutely absurd that this is what it takes to resolve this, but this is what did it for me!
I received this same error today while updating LTSpice. I deleted the config.msi folder, but it was created when I launched the updater again. I had to uninstall LTSpice using the Programs and Features Control Panel, delete the config.msi folder, download the installer and reinstall LTSpice to resolve the problem. I agree with MaxPRafferty.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.