Windows 11 (wmic.exe is removed)

Hi,

Microsoft has removed wmic.exe in windows 11. This prevents omniverse launcher running. Is there a solution?

Thank you

3 Likes

Hi @themajestic.3d! Welcome to the Community and thanks for posting. I am checking on this issue with the dev team and I will get back to you when I have more information on it!

Would you be able to sent us any app launch errors or logs?

I created an Internal Dev Ticket to look into this issue (OM-40777).

Hi WendyGram, the showed error is:
“Failed to initialize the user session: Error: Command failed: cmd.exe /c wmic path win32_VideoController get name “wmic” no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.”

I don’t know if with this information is enough. If you need me to do anything to get more information, please let me know.

Thank you very much.

1 Like

Hello Ms. Gram, I am actually facing the same issue, and trying to find a fix around. Any support from your end would be greatly appreciated. Thank you for your help in advance.

Error: Command failed: cmd.exe /c wmic path win32_VideoController get name ‘wmic’ is not recognized as an internal or external command, operable program or batch file

hello, I have the exact same error as described above. Also using Windows 11:
Microsoft Windows 11 Home Insider Preview
Version 10.0.22494 Build 22494

Hello I have the same problem on windows 11 Pro Insider Build 22494. Tried to copy the WMIC.exe from windows 10 available online (EXE Files - Your Source for File Downloads Since 1999> not sure if link has virus (do not blindly follow.) to my C:\Windows\System32\wbem\ folder but this does Not work.

I’ve got the same error here

Same error here as well.

Same error here…
Running Windows 10 not 11!

I have same error.

Need some work around…

I also have this problem as below. I am using Windows 11 Pro version.

“Failed to initialize the user session: Error: Command failed: cmd.exe /c wmic path win32_VideoController get name ‘wmic’ is not recognized as an internal or external command, operable program or batch file.”

Just for info:
The WMIC tool is deprecated in Windows 10, version 21H1 and the 21H1 semi-annual channel release of Windows Server. This tool is superseded by Windows PowerShell for WMI. Note: This deprecation only applies to the command-line management tool. WMI itself is not affected.

Source: docs.microsoft.com

They also removed it from Windows 11 Dev builds.

Do you have some work around??

I cannot use omniverse tools at all for a week.
This is kind of fatal.

I searched some work around and run below , partially work.

ex)
create
C:\Users(user)\AppData\Local\ov\pkg\create-2021.3.6\kit\kit.exe

audio2face
C:\Users(user)\AppData\Local\ov\pkg\audio2face-2021.3.1\kit\kit.exe

but did not work full function…

1 Like

Any update on this? Is there a patch available or work around?

Hey All! Sorry for the late reply. I’ve been chatting with the development team about this issue. Here is the latest information that I have.

As mentioned above, the error is happening because the wmic utility tool is not included with Windows 11. This breaks our startup code from collecting the hardware information.

It sounds like our launcher does not currently support Windows 11. I have escalated this issue and I will post an update here. Thank you so much for your patience!

2 Likes

New information that may help:

The WMI command-line (WMIC) utility is deprecated as of Windows 10, version 21H1, and as of the 21H1 semi-annual channel release of Windows Server.

Latest Windows 11 Pro release 21H1 OS Build 22000.318 still has it.

1 Like

Our development team is working on a solution, but we have a workaround for now.

If you are running an English version of Windows 11, copy the c:\windows\system32\wbem\wmic.exe and c:\windows\system32\wbem\en-US\wmic.exe.mui from Windows 11 22000 to your current OS under the same location.

1 Like

Sadly the workaround is not working for me. :(
WMIC is working, but now I get another error:
Failed to initialize the user session: Error: Command failed: cmd.exe /c wmic path win32_VideoController get name Invalid XSL format (or) file name.
Running Windows 11 Pro Insider Preview.

For the ones who want to try it:
https://drive.google.com/file/d/1jn6mBaMRtGdGUgQ9hYUEsr-gWfvdcAje/view?usp=sharing
I’ve extracted the files from the Windows 11 Pro build 22000.318 iso