Reputation: 79
Is there any way to change the registry permission through cmd directly. I am developing an application and want registry access. I don't want the user to know about the back end process. And the user can't get administrator rights every time. So once the application run as administrator, the permission should be changed.
Upvotes: 2
Views: 257
Reputation: 713
Depending on what exactly you're trying to do, the REG
command allows command-line registry manipulation, including adding, exporting, querying or importing entries.
Upvotes: 1
Reputation: 20415
I use PsExec and run my registry commands via a reg file. You can impersonate the user if they are a local admin or as a user that has remote registry access.
Upvotes: 1