Registry Access

  • Thread starter Charles A. Lackman
  • Start date
C

Charles A. Lackman

Hello,

I created an App that writes small amounts of data to the registry. This
works in Windows XP with no problem, however, Windows 7 gives the following
error:

"Requested registry access is not allowed".

I am not sure how to work around this.

I am using VS 2005. Code examples would be greatly appreciated.

Thanks.

Chuck
 
F

Family Tree Mike

Hello,

I created an App that writes small amounts of data to the registry. This
works in Windows XP with no problem, however, Windows 7 gives the following
error:

"Requested registry access is not allowed".

I am not sure how to work around this.

I am using VS 2005. Code examples would be greatly appreciated.

Thanks.

Chuck

You should be writing to the HKEY_Current_User portion of the registry
without issue. Even within XP, you could experience issues if you try
writing outside of there. Where are you trying to write?
 
M

Mr. Arnold

Charles said:
Hello,

I created an App that writes small amounts of data to the registry. This
works in Windows XP with no problem, however, Windows 7 gives the following
error:

"Requested registry access is not allowed".

I am not sure how to work around this.

I am using VS 2005. Code examples would be greatly appreciated.

Windows Vista and 7 are not XP, and you're not going to be able to do on
Vista or 7 what you can do on XP.

You should look up information using Bing or Google on how to deal with
virtualization.

<http://msdn.microsoft.com/en-us/library/aa965884(VS.85).aspx>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top