How do you perform registry operations using wmic.exe?
You use the `StdRegProv` class in the `ROOT\DEFAULT` namespace. For example, to enumerate subkeys under a registry key, run `wmic /NAMESPACE:"\\root\\DEFAULT" path stdregprov call EnumKey ^&H80000002,"SOFTWARE\..."`. The `^&H80000002` represents the `HKEY_LOCAL_MACHINE` hive. This method can create, delete, and query registry values without using `reg.exe`, as shown in the registry operations section of the article.
registryStdRegProvwmic.exeHKEY_LOCAL_MACHINEEnumKey