reg add <KeyName> [/v ValueName] [/t DataType] [/d Data] [/f]
If your goal was to set the value of the InprocServer32 key to something (like a file path), the syntax changes. The /ve switch sets the "Default" value, and /d specifies the data. reg add <KeyName> [/v ValueName] [/t DataType] [/d
With data 2021 , the target COM activation will fail with “Class not registered” or “Server execution failed” unless the DLL path is set elsewhere. reg add <