Jump to content

tech9

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About tech9

tech9's Achievements

0

Reputation

  1. You can try and see if that works but you can also use "reg load" to load the ntuser.dat file and then inject the correct settings.
  2. Because most items will just work. But you will get minor issues, for example: Instead of writing to: c:\documents and settings\MyCurrentAccount\local settings\temp it will write to: c:\documents and settings\user_that_was_ntuser.dat_copied_from\local settings\temp. And so on... Just open up a ntuser.dat file in notepad and see for yourself how many hardcoded paths, CLSID's and usernames there are present in an actual ntuser.dat file. They'll keep pointing to the original locations that where defined in the copied ntuser.dat file instead of pointing to the new user locations. It will work, but it's certainly not the nicest way to do it.
  3. The ntuser.dat file does contain unique CLSID's and hardcoded usernames and paths. For that reason alone you should avoid copying ntuser.dat files; importing settings through registry files in cmdlines.txt is the preferred and way more elegant solution.
  4. I'm running this from cmdlines.txt and it works flawless.. there is absolutely NO need to hassle around with user.dat files. echo Re-creating the default System Profile... echo. deltree /y "%systemroot%\system32\config\systemprofile\Favorites\*.*" deltree /y "%systemroot%\system32\config\systemprofile\SendTo\*.*" deltree /y "%systemroot%\system32\config\systemprofile\Start Menu\*.*" start /wait .\reg\SysProf.exe echo Re-creating the default Documents and Settings folder... echo. deltree /y "%allusersprofile%\Documents\*.*" deltree /y "%allusersprofile%\Favorites\*.*" deltree /y "%allusersprofile%\Start Menu\*.*" deltree /y "%systemdrive%\Documents and Settings\Default User\Favorites\*.*" deltree /y "%systemdrive%\Documents and Settings\Default User\SendTo\*.*" deltree /y "%systemdrive%\Documents and Settings\Default User\Start Menu\*.*" start /wait .\reg\Docs.exe Both .exe's are self extracting winrar files with the default favorites/icons/start menu/etc. i want all users to have. Here are the correct registry entries: ;Set Explorer to Detail view, enable Explorer's statusbar and enable QuickLaunch [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams] "Settings"=hex:09,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\ 69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\0] "ViewView2"=hex:1c,00,00,00,04,00,00,00,00,00,00,00,00,00,90,00,00,00,00,00,01,\ 00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,90,00,00,00,00,00,00,00,30,00,\ 00,00,fd,df,df,fd,0f,00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,\ 00,02,00,00,00,03,00,00,00,51,01,72,00,78,00,61,00,00,00,00,00,01,00,00,00,\ 02,00,00,00,03,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\1] "ViewView2"=hex:1c,00,00,00,04,00,00,00,00,00,00,00,00,00,90,00,00,00,00,00,01,\ 00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,90,00,00,00,00,00,00,00,30,00,\ 00,00,fd,df,df,fd,0f,00,04,00,20,00,10,00,28,00,3c,00,00,00,00,00,01,00,00,\ 00,02,00,00,00,03,00,00,00,51,01,72,00,78,00,61,00,00,00,00,00,01,00,00,00,\ 02,00,00,00,03,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults] "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}"=hex:1c,00,00,00,04,00,00,00,00,00,00,\ 00,00,00,90,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,\ 90,00,00,00,00,00,00,00,30,00,00,00,fd,df,df,fd,0f,00,04,00,20,00,10,00,28,\ 00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,51,01,72,00,78,00,\ 61,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,ff,ff,ff,ff,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop] "TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,d8,\ 64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,10,00,00,1a,00,00,00,01,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,00,\ 00,00,c0,00,00,00,00,00,00,46,81,00,00,00,11,00,00,00,20,91,2a,58,94,bd,c3,\ 01,00,98,43,d7,15,bd,c3,01,00,0b,da,58,94,bd,c3,01,00,00,00,00,00,00,00,00,\ 01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,15,02,14,00,1f,50,e0,4f,d0,\ 20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,2f,43,3a,5c,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,5c,00,31,00,00,00,00,00,88,2f,5d,6e,\ 10,00,44,4f,43,55,4d,45,7e,31,00,00,44,00,03,00,04,00,ef,be,88,2f,5d,6e,87,\ 2f,00,b8,14,00,00,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,73,00,\ 20,00,61,00,6e,00,64,00,20,00,53,00,65,00,74,00,74,00,69,00,6e,00,67,00,73,\ 00,00,00,18,00,4a,00,31,00,00,00,00,00,88,2f,93,70,10,00,41,44,4d,49,4e,49,\ 7e,31,00,00,32,00,03,00,04,00,ef,be,88,2f,93,70,87,2f,00,b8,14,00,00,00,41,\ 00,64,00,6d,00,69,00,6e,00,69,00,73,00,74,00,72,00,61,00,74,00,6f,00,72,00,\ 00,00,18,00,64,00,31,00,00,00,00,00,88,2f,71,6e,13,00,41,50,50,4c,49,43,7e,\ 31,00,00,4c,00,03,00,04,00,ef,be,88,2f,93,70,87,2f,00,b8,14,00,36,00,41,00,\ 70,00,70,00,6c,00,69,00,63,00,61,00,74,00,69,00,6f,00,6e,00,20,00,44,00,61,\ 00,74,00,61,00,00,00,40,73,68,65,6c,6c,33,32,2e,64,6c,6c,2c,2d,32,31,37,36,\ 35,00,18,00,42,00,31,00,00,00,00,00,88,2f,67,6e,14,00,4d,49,43,52,4f,53,7e,\ 31,00,00,2a,00,03,00,04,00,ef,be,88,2f,93,70,87,2f,00,b8,14,00,00,00,4d,00,\ 69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,00,00,18,00,52,00,31,00,00,\ 00,00,00,88,2f,57,6f,10,00,49,4e,54,45,52,4e,7e,31,00,00,3a,00,03,00,04,00,\ ef,be,88,2f,93,70,87,2f,00,b8,14,00,00,00,49,00,6e,00,74,00,65,00,72,00,6e,\ 00,65,00,74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,00,00,\ 18,00,48,00,31,00,00,00,00,00,88,2f,b1,70,11,00,51,55,49,43,4b,4c,7e,31,00,\ 00,30,00,03,00,04,00,ef,be,88,2f,b1,70,87,2f,00,b8,14,00,00,00,51,00,75,00,\ 69,00,63,00,6b,00,20,00,4c,00,61,00,75,00,6e,00,63,00,68,00,00,00,18,00,00,\ 00,10,00,00,00,05,00,00,a0,1a,00,00,00,37,01,00,00,00,00,00,00,00,00,00,00,\ 60,07,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,\ 00,00,00,01,00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,\ 18,b4,0c,03,00,00,60,0d,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,\ 00,16,00,00,00,00,00,00,00,01,00,00,00 "Toolbars"=hex:11,00,00,00,00,00,00,00 "Upgrade"=dword:00000001 Cheers Edit: All users will get the default IE, OE and WMP QuickLauch icons also this way
×
×
  • Create New...