For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > to load a user's profile without logging in









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author to load a user's profile without logging in
Neo

2005-11-23, 3:59 am

Hi everyone,


Could anyone help me with the problem while unistallation.
I want to delete entries from HKCU(HKUsers) corresponding to each and
every user's account present on my local computer.
Right now i am not able to load the ussers profile as i am using
LoadUserProfile.
The problem which i feel is that this function requires the token to a
loggedon user(using LogonUser) , but i just want to load the profile
without asking for the password.
So is there any method of
1 ) Getting the user's account token without really asking for his
password
2 ) Loading the users profile by any mechanism to make some changes to
it without asking the user for the password.


help on the above topic will be really appreciated.


Thanks,
Neo.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com