Sign-in / Sign-up
Your question

Window XP reg add access denied

Tags:
  • Registry
  • Windows XP
Last response: in Windows XP
June 27, 2011 2:29:55 AM

I want to ADD a registry key using a .bat file. I am getting an error "Access Denied". Batch file looks as follows:

REG ADD "HKCU\Software\Microsoft\MediaPlayer\Preferences" /v AcceptedPrivacyStatement /T REG_DWORD /D 1 /f

Following is the what i see when i run .bat file with pause command.

We currently have Novell environment and Novell Group Policies are not reliable at all.

Is there a way I can ADD a registry key without user interaction?

Thank you.

More about : window reg add access denied

June 27, 2011 12:47:39 PM

create a .reg file and run it during startup via a batch?
m
0
l
June 27, 2011 4:54:53 PM

Is the user the file runs under an admin? Is registry editing disabled by policies?

You can do what you want, just make sure however you run it, the user the file runs under has rights to edit the registry, and to that key specifically.
m
0
l
Related resources
July 7, 2011 12:58:12 AM

@AntiZig, Thanks for the suggestion. I ended up using some other Novell Funtionality. I infact added the key running straight from the .bat file.
m
0
l
July 7, 2011 12:59:54 AM

@Hang-the-9, thank you for the direction. I thought I was running as user it wasn't but in the hard work payed off :) .
m
0
l