[GH-ISSUE #675] Insufficient Space Error, but there's plenty free. (500gb free) #199

Closed
opened 2026-10-31 22:09:59 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @deltaminimal on GitHub (Jan 21, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/675

When trying to install the latest version, the one before aswell, I get this error no matter where I try to set the install directory

Image

It only happens with the new install process, before that update never got any errors.

Any help would be welcome. Thanks!

┆Issue is synchronized with this Notion page by Unito

Originally created by @deltaminimal on GitHub (Jan 21, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/675 When trying to install the latest version, the one before aswell, I get this error no matter where I try to set the install directory ![Image](https://github.com/user-attachments/assets/dcb0b19d-5a8e-410c-b58a-0f593b7f92bf) It only happens with the new install process, before that update never got any errors. Any help would be welcome. Thanks! ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-675-Insufficient-Space-Error-but-there-s-plenty-free-500gb-free-1826d73d365081a59db5fb152f05d6bb) by [Unito](https://www.unito.io)
Author
Owner

@webfiltered commented on GitHub (Jan 21, 2025):

Hi there, this error indicates that you do not have powershell.exe in your PATH environment var. Please see:

https://github.com/Comfy-Org/desktop/issues/584#issuecomment-2567093032

If this does not resolve the issue, please let us know.

<!-- gh-comment-id:2603417448 --> @webfiltered commented on GitHub (Jan 21, 2025): Hi there, this error indicates that you do not have powershell.exe in your PATH environment var. Please see: https://github.com/Comfy-Org/desktop/issues/584#issuecomment-2567093032 If this does not resolve the issue, please let us know.
Author
Owner

@deltaminimal commented on GitHub (Jan 21, 2025):

PowerShell was installed, and the path was correct. However, I had the "__PSLockDownPolicy" variable enabled, which restricts PowerShell usage to Constrained Language mode. Deleting that variable resolved the issue. I'm curious why this wasn't a problem before with older versions of ComfyUI Desktop; I probably lack the necessary knowledge to understand it fully. Perhaps something in the installation process has changed that requires PowerShell to be used differently. Thank you for your help and the link; I couldn't have solved it on my own.

<!-- gh-comment-id:2603483569 --> @deltaminimal commented on GitHub (Jan 21, 2025): PowerShell was installed, and the path was correct. However, I had the "__PSLockDownPolicy" variable enabled, which restricts PowerShell usage to Constrained Language mode. Deleting that variable resolved the issue. I'm curious why this wasn't a problem before with older versions of ComfyUI Desktop; I probably lack the necessary knowledge to understand it fully. Perhaps something in the installation process has changed that requires PowerShell to be used differently. Thank you for your help and the link; I couldn't have solved it on my own.
Author
Owner

@webfiltered commented on GitHub (Jan 21, 2025):

Ah, thank you for letting us know! I had actually wondered if constrained language mode would impact the library that handles this.

We were previously using an older version of systeminformation, which used WMIC for some commands. Microsoft has deprecated WMIC, however. It's there if you upgrade from an old version, is in your SOE, or is added as an optional package.

So we can no longer use WMIC, and are left with PS CimInfo cmdlets - which may be getting blocked.

<!-- gh-comment-id:2603599398 --> @webfiltered commented on GitHub (Jan 21, 2025): Ah, thank you for letting us know! I had actually wondered if constrained language mode would impact the library that handles this. We were previously using an older version of `systeminformation`, which used WMIC for some commands. Microsoft has deprecated WMIC, however. It's there if you upgrade from an old version, is in your SOE, or is added as an optional package. So we can no longer use WMIC, and are left with PS CimInfo cmdlets - which may be getting blocked.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#199
No description provided.