leungda Posted August 23, 2004 Posted August 23, 2004 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 fileXCOPY /A Install\registry\*.* "%DefaultUserProfile%" but it doesn't copy.... Is there any suggestio that I can fix it?
jrzycrim Posted August 23, 2004 Posted August 23, 2004 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.
Noise Posted August 23, 2004 Posted August 23, 2004 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.
leungda Posted August 23, 2004 Author Posted August 23, 2004 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.
jrzycrim Posted August 23, 2004 Posted August 23, 2004 I use the same method in my unattended install without issue. It's only for my single home computer however. I've heard there could be issuses if you use it for different computers. Might be a problem if you plan on having different users.See this thread: http://www.msfn.org/board/index.php?showtopic=24092&st=0
jrzycrim Posted August 23, 2004 Posted August 23, 2004 Another method you might consider:http://www.msfn.org/board/index.php?showto...22ntuser.dat%22You can start with a fresh ntuser.dat for the default profile and just import any settings you want for all new accounts directly into that. That will prevent any user specific settings you may not want from being present in a newly created account.
sleepnmojo Posted August 24, 2004 Posted August 24, 2004 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.
leungda Posted August 24, 2004 Author Posted August 24, 2004 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....
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now