Demonstration
where:
-k
is the registry key to modify.
-v
is the name of the registry key to create.
Other Potential Registry Keys
Note: HKLM autorun keys are not executed as SYSTEM. These autorun keys will run when a user log in and under that user’s context.
Also see Privilege Escalation with Autoruns - HackTricks