PDA

View Full Version : HK_CURRENT_USER Keys are not available (W2K)



ukothari
06-28-2003, 09:12 PM
Hi,

In my application, I need to get HK_CURRENT_USER subsection keys like Software\MyApp\Key1. I get these values using class we have for accessing registry however same is not getting when run same program from task scheduler and user is not logged in. I use same user as to schedule the task. Is there any registry hack so that I can get Registry values from Scheduled Task?

Any help is highly appreociated and thanks in advance.

Regards...

Uday

sense_for_greed
06-30-2003, 07:15 AM
A question comes to mind when I read this, being, don't you need to be an administrator to edit the registry. Maybe your program hasn't got the right permissions... Just my 2 cents speaking.

METAL ON \m/

Dfyant
06-30-2003, 01:33 PM
I would try using the HKEY_USERS tree. As for how to recognise which key is which user, I'm not too sure on that one!