Jump to content

myselfidem

Member
  • Posts

    2,515
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Switzerland

Everything posted by myselfidem

  1. Test made successfully with your reg files: You need first to create a folder (Example: C:\DISM_Temp) and place your reg files inside! Example (adapt the name and paths to your needs): Walrus.cmd @echo off & color 1F "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\Win7\sources\install.wim" /index:1 /MountDir:"C:\zMount" >nul timeout /t 3 reg.exe load HKLM\WIM_Default "C:\zMount\Users\Default\NTUSER.DAT" reg.exe load HKLM\WIM_Software "C:\zMount\Windows\System32\config\SOFTWARE" reg.exe load HKLM\WIM_System "C:\zMount\Windows\System32\config\SYSTEM" >nul timeout /t 3 reg.exe import "C:\DISM_Temp\User.reg" reg.exe import "C:\DISM_Temp\Perso.reg" reg.exe import "C:\DISM_Temp\Context_Menu.reg" reg.exe import "C:\DISM_Temp\System.reg" pause to see the result inside the mounted hives >nul timeout /t 3 echo. reg.exe unload HKLM\WIM_Default reg.exe unload HKLM\WIM_Software reg.exe unload HKLM\WIM_System echo. "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\zMount" /Commit echo. echo ==Appuyez sur n'importe qu'elle touche pour quitter==&pause>nul Inside C:\DISM_Temp place all you reg files (Example): User.reg Perso.reg Context_Menu.reg System.reg Output command window Result.txt Image Mounted Hives One error corrected inside your reg file. Your reg files attached!
  2. We can use the MMC "/s" to turn off the splash screen. http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/c81fee8f-8593-4f2b-b7dc-9617d5fe3347 Other example: Edit the registry on a mounted WIM. http://blogs.technet.com/b/migreene/archive/2006/12/07/edit-the-registry-on-a-mounted-wim.aspx About Windows Registry: http://en.wikipedia.org/wiki/Windows_Registry
  3. Missing the switch /s (Example with another icon): Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services] @="Services" "Icon"="filemgmt.dll" "Position"="Top" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Services\command] @="mmc.exe /s services.msc" Some registry keys: http://www.msfn.org/...post__p__966749
  4. Your question was change keys inside an "mounted" image !
  5. As you've experienced it works well like this with reg files on an mounted image! Other example with keys needing permissions: http://www.msfn.org/...post__p__971385 You can use some tools to have permissions on keys: http://sourceforge.net/projects/setacl/files/ http://www.msfn.org/board/topic/152688-win6x-registry-tweak/
  6. Try to use on your computer: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment] "TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\ 65,00,25,00,5c,00,54,00,45,00,4d,00,50,00,00,00 And restart the computer!
  7. It's needed to change the reg files to set inside the correct registry hive. Example: Values HKEY_LOCAL_MACHINE\WIM_Default = HKEY_CURRENT_USER HKEY_LOCAL_MACHINE\WIM_Software = HKEY_LOCAL_MACHINE\SOFTWARE HKEY_LOCAL_MACHINE\WIM_Software\Classes = HKEY_CLASSES_ROOT HKEY_LOCAL_MACHINE\WIM_System = HKEY_LOCAL_MACHINE\SYSTEM Your example: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\WIM_System\ControlSet001\Control\Session Manager\Environment] "TMP"="%SystemDrive%\\TEMP" When the image is mounted, you can also change the reg files manually and check if you need permissions with some keys!
  8. You can also read an example here: http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/page__view__findpost__p__952850
  9. Exactly the same trouble solved here above: post #746 and later
  10. Many thanks coucou ! I saw that some batch files doesn't work properly (7Custom_X86_X64.cmd) and I removed them. I amended also some batch files! (same download link above). Regards
  11. Hi! Sometimes, when we have some trouble with the mounted images, even if we use: Dism /Cleanup-Wim or Dism /Unmount-Wim /MountDir:"C:\Mounted_Folder" /Discard We can't remove the temp folders!!! We must takeowner ship and remove manually all files; or we can use this batch file (available for all temp folders): With RT Se7en Lite use twice the batch file for RT_Mount and RT_Mount_Boot Clean.zip (en-US/fr-FR)
  12. All batch files updated and safe to use ( BATCH.zip ) ! http://www.mediafire.com/?kns27djwvkrj2
  13. You can try to use System Update Readiness Tool for Windows 7: http://support.microsoft.com/kb/947821/en-us
  14. With Windows Update or the KB976932 downloaded and trying to install on your computer? Check if it's the correct Update SP1 64-bit KB976932!
  15. Thanks! I forgot to write the reg file inside the layout like my example above! Done now, sorry! Guide updated! Test made successfully with this reg file with an image Offline (mounted)! Windows Registry Editor Version 5.00 ; Supprimer la Panneau de configuration dans l'Explorateur Windows [HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder] "Attributes"=dword:a0900004 ; Supprimer les Favoris dans l'Explorateur Windows [HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder] "Attributes"=dword:a9400100 Output command window
  16. Hi coucou! French guide: Editer le registre dans une image WIM.pdf and BATCH.zip (en-US/fr-FR) Updated! Enjoy http://www.mediafire.com/?kns27djwvkrj2
  17. If you have already an Windows 7 with SP1 integrated (MSDN) you can use RT Se7en Lite 1.7.0 RC 64-bit!
  18. You need to use Rt Se7en Lite Beta 2.6.0 64-bit: http://www.rt7lite.com/downloads.html
  19. After testing works like this: Example: prog[pn]=['mz7Perso']; uid[pn]=['MZ7PERSO']; ordr[pn]=[22]; dflt[pn]=['yes']; forc[pn]=['no']; bit64[pn]=['no']; cat[pn]=['Applications']; pfro[pn]=['no']; cmds[pn]=['{MAKEDIR} "C:\\Program Files\\Mz Ultimate Tools\\MZ"']; cond[pn]=['FolderExists("C:\\Program Files\\Mz Ultimate Tools")']; desc[pn]=['mz7Perso']; pn++; WPI_Log.txt vendredi 22 juillet 2011 08:02:46 Programme: mz7Perso ID unique: MZ7PERSO Ordre: 000022 Catégorie: Applications vendredi 22 juillet 2011 08:02:46 - cmd1 Succès (Code de retour 0): CMD /C md "C:\Program Files\Mz Ultimate Tools\MZ" vendredi 22 juillet 2011 08:02:47 - Installation terminée.
  20. Yes, we hope you come back soon! Best Regards.
  21. The folder cannot exist before you created! The switch /S is an example!!
  22. Yes! With the reg file Mouse Pointer we don't need permissions but with some registry keys is useful to use SetACL on an Offline image to have permissions to change, remove... keys inside the mounted registry hives! Your example on the computer: http://www.msfn.org/board/topic/151626-applying-a-reg-tweaks/ Regards
  23. You can try to add first for each program the subdirectory name with {MAKEDIR} and after launch the silent installation. Examples: program #1 cmds[pn]=['{MAKEDIR} "%systemdrive%\\Program Files (x86)\\misc\\Mz Ultimate Tools"','"%wpipath%\\Install\\Mz7tools\\mz7o.exe" /S', ...'] program #2 cmds[pn]=['{MAKEDIR} "%systemdrive%\\Program Files (x86)\\misc\\Apple"','"%wpipath%\\Install\\Apple\\Apple.exe" /S', ...'] program #3 cmds[pn]=['{MAKEDIR} "%systemdrive%\\Program Files (x86)\\misc\\Firefox"','"%wpipath%\\Install\\Firefox\\Firefox.exe" /S', ...']
  24. I will update the French guide about add registry keys inside a mounted image wim using SetACL on an image Offline! About the reg file (following the French guide): Mouse Pointer You need to adapt the reg keys to your needs and write the correct path inside the batch file. Example (Windows 7 x86): Add_Reg.cmd (adapt the paths and folders name to your needs! Using Administrators for English Windows version!) @echo off & color 1F "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Mount-Wim /Wimfile:"C:\7elite32\source\sources\install.wim" /index:1 /MountDir:"C:\work" >nul timeout /t 3 reg.exe load HKLM\WIM_Default "C:\work\Users\Default\NTUSER.DAT" reg.exe load HKLM\WIM_Software "C:\work\Windows\System32\config\SOFTWARE" reg.exe load HKLM\WIM_System "C:\work\Windows\System32\config\SYSTEM" >nul timeout /t 3 rem SetACL.exe must be installed inside C:\Windows\System32 setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs" setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full" echo. setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn setowner -ownr "n:Administrateurs" setacl.exe -on "HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}" -ot reg -rec yes -actn ace -ace "n:Administrateurs;p:full" echo. reg.exe import "C:\DISM_Temp\Pointer.reg" reg.exe import "C:\DISM_Temp\Control.reg" >nul timeout /t 3 echo. reg.exe unload HKLM\WIM_Default reg.exe unload HKLM\WIM_Software reg.exe unload HKLM\WIM_System echo. "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /Unmount-Wim /MountDir:"C:\work" /Commit echo. echo ==Press any key to exit==&pause>nul Pointer.reg (must be adapted like this: inside C:\DISM_Temp) Pointer.reg Control.reg Windows Registry Editor Version 5.00 ; Supprimer la Panneau de configuration dans l'Explorateur Windows [HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder] "Attributes"=dword:a0900004 ; Supprimer les Favoris dans l'Explorateur Windows [HKEY_LOCAL_MACHINE\WIM_Software\classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder] "Attributes"=dword:a9400100 Output command window (example with SetACL)
×
×
  • Create New...