Archive: deleting hkcu reg key


deleting hkcu reg key
following line is what i'm using to deleting hkcu reg key but does not work.

DeleteRegKey HKCU "Software\company\software"

Am I missing some setting or something?

Any help is appreciated....


Are you have administator rights?


Yes, I was able to delete the current user with /admin rights but when logged in with another user hkcu registry key was still there.


That's because HKCU is the current user registry key (err)!