lundi 30 mars 2015

How to programatically create a full user profile in windows?

I am trying to create a user profile for an existing user under windows. I am using the WinApi function CreateProfile to create the profile, but the profile created is very sparse. It only has a size of about 3Mb's. I have also tried using LoadUserProfile which unfortunately doesn't seem to do any better.


For comparison when you actually log the user in interactively the resulting profile has roughly 80Mb's on my computer.


So my question is: Does anyone know how to programatically create the full profile you get when performing an interactive first logon.


Aucun commentaire:

Enregistrer un commentaire