MitsuMan

registry hive

6 posts in this topic

Hallo

I 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 picture

2 set IE start page to google.com

This 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\mount

reg load HKLM\test C:\Test7\mount\Windows\System32\config\software

reg load HKLM\test2 C:\Test7\mount\Windows\System32\config\default

Pause

reg unload HKLM\test

reg unload HKLM\test2

imagex /unmount /commit C:\Test7\mount

The 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"

0

Share this post


Link to post
Share on other sites

Hello

If i understand you right then i shall load this one

reg load HKLM\test C:\Test7\mount\Windows\System32\config\Users\NTUSER.DAT.

0

Share this post


Link to post
Share on other sites
If i understand you right then i shall load this one

reg load HKLM\test C:\Test7\mount\Windows\System32\config\Users\NTUSER.DAT.

No! C:\Test7\mount\Windows\System32\config\Default User\NTUSER.DAT

0

Share this post


Link to post
Share on other sites

Hello

That 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.

post-90550-0-22115700-1355392323_thumb.j

Edited by MitsuMan
0

Share this post


Link to post
Share on other sites

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:\zMount

2 - Create a temp folder for the registry key location path : C:\DISM_Temp

3 - Registry key named : RegistyTweaks.reg and set inside C:\DISM_Temp

RegistryTweaks.reg


Windows 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 off
Color 0A
echo.
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Win7_SP1\sources\install.wim" /index:5 /MountDir:"C:\zMount"
pause
reg.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_Default
echo.
pause
"C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\zMount" /Commit
pause

Adapt 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/?imhl4q94eojfb8a

HTH

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.