Click here to Skip to main content
15,897,718 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Maxwell Chen16-Feb-11 16:21
Maxwell Chen16-Feb-11 16:21 
AnswerRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Cool_Dev16-Feb-11 19:02
Cool_Dev16-Feb-11 19:02 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Maxwell Chen16-Feb-11 19:50
Maxwell Chen16-Feb-11 19:50 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Cool_Dev16-Feb-11 20:13
Cool_Dev16-Feb-11 20:13 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Maxwell Chen17-Feb-11 16:24
Maxwell Chen17-Feb-11 16:24 
AnswerRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
ShilpiP16-Feb-11 19:20
ShilpiP16-Feb-11 19:20 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Maxwell Chen16-Feb-11 20:03
Maxwell Chen16-Feb-11 20:03 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Richard Andrew x6417-Feb-11 11:55
professionalRichard Andrew x6417-Feb-11 11:55 
I don't think that means the service will run as admin, though.

When the service is installed, it determines what user it will run as.

Open Task Manager, find the process that represents your service and check what user account it is running under.
The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
Maxwell Chen17-Feb-11 15:33
Maxwell Chen17-Feb-11 15:33 
GeneralRe: RegOpenKeyEx gets error 5 (ERROR_ACCESS_DENIED) Pin
ShilpiP17-Feb-11 17:39
ShilpiP17-Feb-11 17:39 
Questionstructure to file [REMAIN UNSOLVED] [CLOSED] Pin
goldenrose916-Feb-11 6:00
goldenrose916-Feb-11 6:00 
AnswerRe: structure to file Pin
Richard MacCutchan16-Feb-11 6:16
mveRichard MacCutchan16-Feb-11 6:16 
GeneralRe: structure to file Pin
goldenrose916-Feb-11 7:08
goldenrose916-Feb-11 7:08 
AnswerRe: structure to file Pin
David Crow16-Feb-11 7:56
David Crow16-Feb-11 7:56 
GeneralRe: structure to file [modified] Pin
goldenrose916-Feb-11 15:36
goldenrose916-Feb-11 15:36 
GeneralRe: structure to file Pin
David Crow16-Feb-11 16:33
David Crow16-Feb-11 16:33 
GeneralRe: structure to file Pin
ShilpiP16-Feb-11 19:33
ShilpiP16-Feb-11 19:33 
GeneralRe: structure to file Pin
Niklas L16-Feb-11 21:59
Niklas L16-Feb-11 21:59 
GeneralRe: structure to file Pin
David Crow17-Feb-11 1:51
David Crow17-Feb-11 1:51 
GeneralRe: structure to file Pin
goldenrose917-Feb-11 3:01
goldenrose917-Feb-11 3:01 
QuestionRe: structure to file Pin
David Crow17-Feb-11 4:14
David Crow17-Feb-11 4:14 
AnswerRe: structure to file Pin
goldenrose917-Feb-11 4:46
goldenrose917-Feb-11 4:46 
GeneralRe: structure to file Pin
David Crow17-Feb-11 4:57
David Crow17-Feb-11 4:57 
GeneralRe: structure to file Pin
goldenrose917-Feb-11 5:08
goldenrose917-Feb-11 5:08 
GeneralRe: structure to file Pin
David Crow17-Feb-11 5:11
David Crow17-Feb-11 5:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.