leungda Posted August 23, 2004 Share 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? Link to comment Share on other sites More sharing options...
jrzycrim Posted August 23, 2004 Share 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. Link to comment Share on other sites More sharing options...
Noise Posted August 23, 2004 Share 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. Link to comment Share on other sites More sharing options...
leungda Posted August 23, 2004 Author Share 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. Link to comment Share on other sites More sharing options...
jrzycrim Posted August 23, 2004 Share 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 Link to comment Share on other sites More sharing options...
jrzycrim Posted August 23, 2004 Share 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. Link to comment Share on other sites More sharing options...
sleepnmojo Posted August 24, 2004 Share 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. Link to comment Share on other sites More sharing options...
leungda Posted August 24, 2004 Author Share 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.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now