How to Uninstall Stable Diffusion Automatic1111

Introduction

Hello there and welcome!

In this video, I’m going to walk you through the full process to completely uninstall Automatic1111.

This method assumes you originally ran a standard Automatic1111 installation that included installing Python, Git and then Automatic1111. It also assumes that you only have a single 3.10.6 version of Python installed.

On the screen you can see an overview of the end-to-end uninstall process and steps that I’ll be walking you through.

I’ll be completely uninstalling Python, Git and then Automatic1111 from my local Windows PC.

If you’re only interested in a specific part, then I’ve left the timestamps for each step in the description below, so you can jump straight to that part of the video.

So, let’s crack on.

Uninstall Python App

Unfortunately, completely uninstalling Python 3.10.6 isn’t as simple as just uninstalling the app. If you only do this, then a lot of residual files will be left scattered behind, taking up unnecessary space on your system.

A word of warning: before you uninstall Python, make sure you don’t need it for anything else that you run on your machine. If in doubt, there’s really no harm in just leaving it installed.

Anyway, let’s get into the five steps to completely uninstall Python.

The first step is to uninstall the Python 3.10.6 app.

Click the Windows Start icon and then click the Settings icon.

Select Apps from the menu on the left, and then Installed Apps.

Scroll down the installed app list, until you find Python 3.10.6.

Click on the 3 dots to the right of it and select Uninstall from the pop out menu.

Click Uninstall on the confirmation window.

The Python app uninstall process will begin.

Once it completes, click Close on the uninstall confirmation window.

That’s it. The Python 3.10.6 app has now been uninstalled.

Onto the next step.

Uninstall Python Launcher

The second step is to uninstall the Python Launcher.

Open the list of Installed Apps, if it’s not already open.

Scroll down the installed app list, until you find Python Launcher.

Click on the 3 dots to the right of it and select Uninstall from the pop out menu.

Click Uninstall on the confirmation window.

If a Windows confirmation window pops up, click OK to allow Python 3.10.6 to make changes to your device and run the uninstall.

The Python Launcher uninstall process will begin.

That’s it. The Python Launcher has now been uninstalled.

Onto the next step.

Delete Python Executable Files

The third step is to delete the python and python3 executable files.

These .exe files were created by the Python for Windows installer, when the “Add Python to PATH” option was selected during the original installation.

These two files are located in the Windows Apps folder.

Navigate to your C drive, Users, select your username, then AppData, Local, Microsoft and then the WindowsApps folder. I’ll put the path in the description below for you. Obviously, substitute your own username into the path.

Once you’re in the WindowsApps folder, scroll down until you see the python.exe and python3.exe files.

Unfortunately, these are Windows restricted program files, so Windows won’t allow you to just select the files and then press the Delete key on your keyboard to delete these two files.

You have to delete them using the Command Prompt.

Make sure that you’re inside the WindowsApps folder and can see the two .exe files.

Then, click into the address bar and type in “cmd”, and then press Enter.

The Command Prompt window will open.

At the prompt, type “del”, then a space, then “python.exe”, and press Enter.

Then, at the prompt again, type “del”, then a space, then “python3.exe”, and press Enter.

You can now close the Command Prompt window.

Go back to File Explorer and you’ll see that the python.exe and python3.exe files have been deleted from the WindowsApps folder.

That’s it. The Python executable files have now been deleted.

Onto the next step.

Delete Python PIP Packages

The fourth step is to delete the Python folder that contains the PIP Packages.

This Python folder is located in your Programs folder on your C drive.

Navigate to your C drive, Users, select your username, then AppData, Local, then the Programs folder. In here, you’ll see the Python folder. I’ll put the path in the description below for you. Obviously, substitute your own username into the path.

Select the Python folder, and then press the Delete key on your keyboard to delete this Python folder.

That’s it. The Python PIP Packages have now been deleted.

Onto the next step.

Delete Python PIP Cache

The fifth step is to delete the Python PIP cache.

This pip folder that you want to delete is located in your Local folder on your C drive.

Navigate to your C drive, Users, select your username, then AppData, then Local. In here, you’ll see a folder named pip. I’ll put the path in the description below for you. Obviously, substitute your own username into the path.

Select the pip folder, and then press the Delete key on your keyboard to delete this folder.

That’s it. The Python PIP cache has now been deleted and Python 3.10.6 has now been completely uninstalled from your system.

OK. Let’s move onto uninstalling Git.

Uninstall Git App

The next part is to uninstall Git.

The first step in the Git uninstall process is to uninstall the Git app.

Click the Windows Start icon and then click the Settings icon.

Select Apps from the menu on the left, and then Installed Apps.

Scroll down the installed app list, until you find Git.

Click on the 3 dots to the right of it and select Uninstall from the pop out menu.

Click Uninstall on the confirmation window.

If a Windows confirmation window pops up, click OK to allow Git for Windows to make changes to your device and run the uninstall.

If a dialogue box pops up asking if you are sure you want to completely remove Git and all of its components, click the Yes button.

The Git uninstall process will begin.

Once it completes, click OK on the uninstall confirmation window.

That’s it. The Git app has now been uninstalled.

Onto the next step.

Delete Git Folder

The second step in the Git uninstall process is to clean up and delete the Git folder that was not removed during the Git app uninstall.

The Git folder is located in your Program Files folder.

Navigate to your C drive, then Program Files. In here, you’ll see a folder named Git. I’ll put the path in the description below for you.

Select the Git folder, and then press the Delete key on your keyboard to delete this folder.

That’s the Git folder deleted, and the complete Git uninstall finished.

OK. Let’s move on to uninstalling Automatic1111.

Backup Automatic1111

Before you uninstall Automatic1111, make sure you backup anything you want to keep.

If you’re absolutely sure you don’t need to backup anything, then you can skip this step.

Navigate to the stable-diffusion-webui folder. I installed it in my E drive in a parent folder named Automatic1111.

Your Automatic1111 folder started at about 10GB in size with the base install, but would have grown significantly in size with any images that you generated and files that you downloaded, including embeddings, extensions, models and more. These are all stored in sub-folders in your stable-diffusion-webui folder.

Backup any folders and files that you may want to keep.

I won’t bother backing anything up.

So, onto the next step.

Delete Automatic1111

The final step is to uninstall, or more accurately, delete Automatic1111.

Navigate to the stable-diffusion-webui folder, or any parent folder that you may have installed it into.

I installed it in my E drive in a parent folder named Automatic1111.

Select the stable-diffusion-webui or parent folder, and then press the Delete key on your keyboard to delete this folder.

That’s Automatic1111 uninstalled. Easy.

Conclusion

Now you know how to completely uninstall Python, Git and finally Automatic1111.

The Python process is the most involved of the three. The Git and Automatic1111 uninstalls are certainly quicker and easier.

At least by the end of this whole process, you have a clean and complete uninstall of everything.

Anyway, hope you found this video helpful, and I’ll catch you in the next one.

Paths

Python Executable Files:
C:\Users\*YOUR USERNAME*\AppData\Local\Microsoft\WindowsApps

Python PIP Packages:
C:\Users\*YOUR USERNAME*\AppData\Local\Programs

Python PIP Cache:
C:\Users\*YOUR USERNAME*\AppData\Local

Git Folder:
C:\Program Files

Leave a Reply

Your email address will not be published. Required fields are marked *