Changing registry settings for a brand new account

A

andrewbb

Is there a way to set registry settings for a new user account that
was created programatically? The problem is the registry settings
don't exist until the user logs in to the machine for the first time.

So is there a way to either:
1. create the user profile programatically, or
2. run a script only the first time that user logs into a machine?

Other ideas?
 
S

Shenan Stanley

andrewbb said:
Is there a way to set registry settings for a new user account that
was created programatically? The problem is the registry settings
don't exist until the user logs in to the machine for the first
time.

So is there a way to either:
1. create the user profile programatically, or
2. run a script only the first time that user logs into a machine?

Logon script?
Put something in the user's startup file when you create the account?
 
J

John John

If the change is to be made to all new users you can make the change in
the HKEY_USERS\.DEFAULT hive, this is the hive that is used to create
the new user's hive when they first log on.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top