|
| Hi,
I`m not sure if this is the correct group but ...
I`m trying to write an app that creates a user and locks down the
user's profile (ie. desktop etc).
I have figured out that by editing the user's NTUser.dat file using
regedit, I can change all the settings so that when that user logs on,
his desktop etc. is locked down.
The NTUser.dat file is located in "\Documents and Settings\user\"
folder. Therefore I can lockdown any existing user's profile from any
administrator account.
The problem is that when I create a new user, the user`s NTUSER.dat
file is not actually created. In fact the "\Documents and Settings\new
user\" folder is not created until I log on as that new user.
I need to have everything done so that when I log on as the new user,
the profile is locked down ?
I am not using ActiveDirectory.
Can this be done in c# ? Examples ?
Cheers
Gorav
|
|