MitsuMan Posted December 11, 2012 Share Posted December 11, 2012 HalloI have the last few days try to put few things in the registry in a .wim file but i have 2 things that dont work.1 i would like to set my own background picture2 set IE start page to google.comThis is how i do it. when pause is there i manual double click on the .reg file. imagex /mountrw c:\test7\DVD\sources\install.wim 1 C:\Test7\mountreg load HKLM\test C:\Test7\mount\Windows\System32\config\softwarereg load HKLM\test2 C:\Test7\mount\Windows\System32\config\defaultPausereg unload HKLM\testreg unload HKLM\test2imagex /unmount /commit C:\Test7\mountThe reg file[HKEY_LOCAL_MACHINE\test2\Control Panel\Desktop]"TileWallpaper"="0""WallpaperOriginX"=dword:00000000"WallpaperOriginY"=dword:00000000"WallpaperStyle"="10""Wallpaper"="C:\\Windows\\web\\wallpaper\\Windows\\img1.jpg"[HKEY_LOCAL_MACHINE\test2\Software\Microsoft\Internet Explorer\Desktop\General]"WallpaperSource"="C:\\Windows\\web\\wallpaper\\Windows\\img1.jpg"[HKEY_LOCAL_MACHINE\test2\Software\Microsoft\Internet Explorer\Main]"Start Page Redirect Cache"="http://www.google.com" Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2012 Share Posted December 11, 2012 I believe you need to use Users\Default User\NTUSER.DAT. Link to comment Share on other sites More sharing options...
MitsuMan Posted December 13, 2012 Author Share Posted December 13, 2012 HelloIf i understand you right then i shall load this onereg load HKLM\test C:\Test7\mount\Windows\System32\config\Users\NTUSER.DAT. Link to comment Share on other sites More sharing options...
dencorso Posted December 13, 2012 Share Posted December 13, 2012 If i understand you right then i shall load this onereg load HKLM\test C:\Test7\mount\Windows\System32\config\Users\NTUSER.DAT.No! C:\Test7\mount\Windows\System32\config\Default User\NTUSER.DAT Link to comment Share on other sites More sharing options...
MitsuMan Posted December 13, 2012 Author Share Posted December 13, 2012 (edited) HelloThat dont work. i dont know if it is because I use a Danish windows 7. I have make a picture of how it look like in the config. I can load the reg load HKLM\test2 C:\Test7\mount\Windows\System32\config\systemprofile\NTUSER.DAT but i dont get any permisson to run og add any registry to that....I have try with the version windows starter and windows ultimate. but dont get allow. Edited December 13, 2012 by MitsuMan Link to comment Share on other sites More sharing options...
myselfidem Posted December 14, 2012 Share Posted December 14, 2012 (edited) With your example, I used DISM.exe and Windows AIK for Windows 7 is installed on my computer.You can try like this: tested and works fine!1 - Create a temp folder to mount the image : C:\zMount2 - Create a temp folder for the registry key location path : C:\DISM_Temp3 - Registry key named : RegistyTweaks.reg and set inside C:\DISM_TempRegistryTweaks.regWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\WIM_Default\Control Panel\Desktop] "TileWallpaper"="0" "WallpaperOriginX"=dword:00000000 "WallpaperOriginY"=dword:00000000 "WallpaperStyle"="10" "Wallpaper"="C:\\Windows\\web\\wallpaper\\Windows\\img1.jpg"[HKEY_LOCAL_MACHINE\WIM_Default\Software\Microsoft\Internet Explorer\Desktop\General] "WallpaperSource"="C:\\Windows\\web\\wallpaper\\Windows\\img1.jpg"[HKEY_LOCAL_MACHINE\WIM_Default\Software\Microsoft\Internet Explorer\Main] "Start Page Redirect Cache"="http://www.google.com"4 - Using this batch file: Reg_Hive.cmd@echo offColor 0Aecho."C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Win7_SP1\sources\install.wim" /index:5 /MountDir:"C:\zMount"pausereg.exe load HKLM\WIM_Default "C:\zMount\Users\Default\NTUSER.DAT"echo.reg.exe import "C:\DISM_Temp\RegistryTweaks.reg"echo.reg.exe unload HKLM\WIM_Defaultecho.pause "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\zMount" /CommitpauseAdapt the Windows 7 name location, index number and version (x86 or amd64) to suit your needs inside the batch file!*Edit: I made a little tutorial but it is in French:http://www.mediafire.com/view/?imhl4q94eojfb8aHTH Edited December 14, 2012 by myselfidem 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