hi.i have problem for change value in registry for special paths.
for exmple :
and then value will be change to :Code:[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\User\PowerSchemes]
now my problem is about permission because i can not merge reg files with double click or write program in vb6 for set or change value "ActivePowerScheme"Code:"ActivePowerScheme"="8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"
this path permission can access to system and administrators or users can not full access.
so when i write code this value will be not change or when i double click on reg file i got error.(picture1 and picture2 is about descriptions or accesses)
pic 1:
pic2:
how can write program to can access grant for set value?
i created a install program with setup factory 9 and writed code for change value this path too but not worked because of permission ( system permission)
my program is about change power option from balanced to highperformance with my code in vb6.
how can do that?




Reply With Quote
