mofcomp.exe is creating multiple enteries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\autore

Copper Contributor

Hi

 

While running an mof we are getting multiple entries written out to the AUTORECOVER registry on a clean OS install, however after the a particular popup is clicked on the registry viewer

 

`Data of type REG_MULTI_SZ cannot contain empty strings. Registry editor will remove the empty string found`

 

The duplication of the entries in the registry stops.

 

Is this a known bug?

 

Steps to repro

 

  1. Have a clean OS, windows 11 22h2

  2. Run the command mofcomp <mof file> multiple times multiple entries are added into the registry

    P.S. Don't press ok on the registry viewer just exit it.

  3. add an extra line to trigger the registry viewer error as above `Data of type REG_MULTI_SZ cannot contain empty strings. Registry editor will remove the empty string found`

  4. Again run mofcomp <mof file>

 

 

Duplication of entries is stopped.

1 Reply

@hasinha1890 

Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Windows 11 space - please post Windows 11 questions here in the future.