Forum Discussion

hasinha1890's avatar
hasinha1890
Copper Contributor
Sep 02, 2023

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

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.

Resources