Discussion Locked

Best Way to re-create Profiles?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

After much trial and error getting profiles working on my network, I know have many different profiles with lots and lots of bad information. We want to re-create all profiles enmass with our new knowledge.
Any suggestions on how to accomplish this quickly and easily?

3 replies

by it-sage (bschirf)

If you'd like to correct the problems for all "NEW" users, then do the following:
1- log on as a new user on a clean system
2- make the changes
3- log off
4- Log on as local admin
5- Copy %Win%\Profiles\thatuser\User.Dat
6- Distribute this User.dat to all workstations in the %Win%\Profiles\Default\. directory.

All *NEW* users will pick up this updated User.Dat. The problem is that you will need admin rights to replace this file and will need some mechanizsm to distribute to all workstations.

A simpler way is to:
(1) Make a reg patch by exporting those keys that changed via REGEDIT.EXE and editing it down to just those changes that you want to distribute. For this example I will put it in:
\\srv\share\files\REG102600.REG
(2) Create the following batch file:
\\srv\share\UpdateREG102600.bat

In this have the following line:
REM Update registry
regedit /s "\\srv\share\reg\REG102600.reg"
REM Create flag showing this has been run.
REM This runs only once per user.
type nul > "H:\Updates\REG102600.flg"

(3) In your login script do something like this...
- - - - -
REM Run once
if not exist H:\Updates\REG102600.flg call \\srv\share\UpdateREG102600.bat

With this mechanism, you have a registry patch that will run once for every single user that runs that login script.

In my environment, our "patching" process is MUCH MUCH more complicated that this, but you get the idea...

HTHs...

This discussion is closed to new replies.