Jump to content

Recommended Posts

Posted

What I want to do is: I want to copy two registry file "NTUSER.dat" and ntuser.dat.log" to c:\Document and setting\default user\

I am using the following in my bat file

XCOPY /A Install\registry\*.* "%DefaultUserProfile%"

but it doesn't copy.... Is there any suggestio that I can fix it?


Posted

The easiest way would be to place those files in $OEM$\$Docs\Default User.

Setup will automatically copy those files over.

with xcopy, you would probably need to use this:

XCOPY /H %systemdrive%\Install\registry\*.* "%DefaultUserProfile%"

/H is used for copying hidden and system files. I'm not sure exactly where you have your install directory but if it's in the same place as most people, the above should work.

Posted

You just cant copy registry hives like that. There is embeded security in the key's that will really screw up the creation of new accounts.

Posted

so, any sugguestion?

I tried to copy those files into the default user folder. After I create a new account, all the setting look like the same that I want to be. I just thinking that can I copy those file when I do unattended installation.

Posted

I'm not sure you can do it when you are planning on it. The Default user is opened at the t-12 stage, hence so is ntuser.dat. You shouldn't be able to write over these files until they are closed, ie after reboot.

Have your unattended login as admin, and copy it over in runonce. Next time you log in as a new user, the settings should be in place.

Posted

what I want to do is that:

(1) after I login administrator account to finish all my desktop setting, I want all this setting appear on all new create account....

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...