0
I'm using command below to delete a simple registry key which is not protected, I mean you can easily delete it using regedit GUI, so the permission is free and unlocked.
reg delete TargetKEY /f
This command will work fine in 32 bit system, but on 64 bit OS it gives me "access is denied" as long as there is no limitation with target key's permission rules.
Where is the problem?
1Are you running this command as an administrator? – Haplo – 2014-10-26T19:01:48.393
As long as I am the ADMINISTRATOR so it should run as an administrator ;) – Nofuzy – 2014-10-26T19:09:39.523
1Nope, even if you are administrator you still have to run it as administrator :) I mean even if you are using local administrator account, STILL, you have to do that to elevate that process. Try it yourself and see if there's a difference. – Haplo – 2014-10-26T19:56:04.833
There is a Bat file contains this command and it is going to be launched by another application, So I have no choice to do it by my own hands :( The strange part is that it is working fine on x86 OS and this error is shown only on x64 OS... – Nofuzy – 2014-10-26T20:06:21.620