Was not able to start ComfyUI

If your post was related to me when i try to run this i get this error from the command promt:

“‘wmic’ is not recognized as an internal or external command,
operable program or batch file.”

How do i run this?

I have certainly a Nvida card and nothing fancy done related to this but just hope that this can help in some way. When i type python i get this:

“Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun 6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.”

Python is installed.

But i got earlier some messy problems while tying to install some software related to Python. While i have this problem i will just go and try to mess up more and uninstall all Python versions and try ones more :slight_smile:

Although i think this Comfyui program doesn’t need outside things related to python like i tried below:

I uninstalled 2 versions of Python and deleted the environment paths.
I installed Python 3.13 and now i have only one env. path in windows 11.

Still 0315 doesn’t install and 0318 says no Nvida GPU.

Is there anything i can do more?

The reason you’re seeing that error is because wmic is not available. If you installed Windows 11 in the last year or two, you should be able to install wmic as a feature-on-demand. Just web search “WMIC feature on demand” and you will find detailed instructions from reputable sites fairly easily.

If you’re -not- on a recent install of Windows 11, there’s another problem. It could be that wmic is just not in your path.

Check with Powershell:

$env:Path.IndexOf("System32\Wbem") -eq -1

If it says True , you don’t have the wbem directory in your %PATH%. wmic.exe is located in C:\Windows\System32\Wbem , which you’ll need to add to your environment variables. This is not a ComfyUI thing; it’s just how Windows is configured by default.

Thanks. I had to put the Path into the env.

I got this result. As i said i have a Nvidia RTX 3060. But which line or any other details you have better a look for yourself. It is really long as you said.

Nvidia_RTX3060_.zip (1.1 KB)

No worries! It all looks good. With WMIC in the path though, you should be able to just run the installer now. If not, a new update is up with an extra check.

I tried but had still no luck. Hopefully the new build will change this. Thank you.