mofcomp.exe is creating multiple enteries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\autorecover mofs registry

Harsh Sinha (SW-GPU) 0 Reputation points
2023-09-01T10:54:29.5566667+00:00

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

Have a clean OS, windows 11 22h2

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.

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

Again run mofcomp <mof file>

Duplication of entries is stopped.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,638 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,331 Reputation points
    2023-09-05T11:00:23.1133333+00:00

    Hello there,

    As this behaviour is not reported in any of the Known issue notifications you might need to share your feedback with Microsft to dig deeper on this.

    You can collect the Event logs and share them with the Microsoft team to get this sorted or get an appropriate workaround for this.

    -Download the process monitor tool.

    • Get a dump from the crashing process and share it through the feedback hub.

    Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry, and process/thread activity. You can get the tool from here https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

    You can raise feedback to the Microsoft team. The Feedback Hub app lets you tell Microsoft about any problems you run into https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.