ComfyUI persistently loads old workflow despite clean install and data deletion
Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
When launching ComfyUI (whether it's an installer version or portable), I expect it to start with a blank, default workflow. Additionally, if I have a workflow open, I expect to be able to close it and return to a blank state, which is currently not possible with the persistently loaded old workflow.
Actual Behavior
I'm experiencing a very persistent and frustrating issue with ComfyUI on Windows 11. Regardless of whether I use the installer or the portable version, ComfyUI always launches with a specific older workflow automatically loaded. This workflow cannot be closed or cleared from the interface; there's no option to return to a blank canvas. This makes it impossible to start with a clean state or switch to a new, empty workflow.
Ubale to rid off:
Steps to Reproduce
- Complete uninstallation: For the installer version, I used the standard uninstallation process.
-
Manual data deletion: I manually deleted all related data from
AppData\Local(includingC:\Users\<user>\AppData\Local\Programs\@comfyorgcomfyui-electronwhich was the old installation path) andAppData\Roaming\ComfyUI. -
Clearing temporary files: I've cleared the contents of the
%TEMP%folder. - Browser cache/data: I've cleared the cache and data of my web browser (Chrome/Edge/Firefox).
- Clean Portable Install: I downloaded the latest portable version of ComfyUI and extracted it to a new location, but it still loads the old workflow.
-
Custom Node Disablement: I have launched ComfyUI with the
--disable-all-custom-nodescommand line argument, and the issue persists even without any custom nodes active.
Debug Logs
Checkpoint files will always be loaded safely.
Total VRAM 16376 MB, total RAM 64667 MB
pytorch version: 2.7.1+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using pytorch attention
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
ComfyUI version: 0.3.43
ComfyUI frontend version: 1.23.4
[Prompt Server] web root: D:\Temp\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
Import times for custom nodes:
0.0 seconds: D:\Temp\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
Context impl SQLiteImpl.
Will assume non-transactional DDL.
No target revision found.
Starting server
To see the GUI go to: http://127.0.0.1:8188
Other
No response
I have that too, and a whole lot of other issues......
Try this setting
Try this setting
Thanks for the tip, but unfortunately even changing the "Persist workflow..." setting didn't help. And that includes a restart.
https://github.com/user-attachments/assets/76c32038-fbfd-4314-8f7d-4cbe707f5134
This must be some saved state in the user folder. After a fresh install did you check if the user folder is empty? Is there a possibility you are setting the base_directory? This would mean the state is being stored outside the installation.
I am not a Windows user myself, but on linux i am using the base_directory setting which survives during a complete reinstall which is intended.
Some data in Windows is stored in the %AppData%/Roaming and %AppData%/Local folders. Deleting these folders and doing a clean installation, including setting the base_directory, didn’t change anything. I have no idea how it’s possible that something like this still appears after a clean install. I also thought that some data might be in the Windows registry, but I didn’t find anything there. It’s really confusing and, above all, very frustrating.
Isn't that just the default workflow that opens if nothing else is opened?