They are creatures of the night, live in basements, and run on caffeine. What else do you need to know?
after mounting can it be converted to a reg file (registry), I've been looking for this treat but can't find a way, take the registry from the hive file sir
there is no problem with the file but I want to import it in the form of a reg file, so it's easy to apply on other windows, can you help teach me sir?
Assuming we are talking of "system", mount the hive in, say 000 folder when asked You export something from the 000 key You get something like HKEY_LOCAL_MACHINE\000\blahblah\foo\bar To import on live system you need obviously HKEY_LOCAL_MACHINE\SYSTEM\blahblah\foo\bar So is pretty obvious that all you need is to replace \000\ with \System\ Just use notepad ++ and do it
@acer-5100 coz i use toolkit msmg the result like this,but I'm confused where the results are located Loading Image Registry.. [HKEY_LOCAL _MACHINE\TK_SOFTWARE] - > [HKEY_LOCAL_MACHINE \SOFTWARE] IHKEY LOCAL MACHINE\TK SOFTWARE\Classes) -> [HKEY_CLASSES_ROOT] THKEY LOCAL MACHINE\TK SYSTEMI [HKEY_LOCAL_MACHINE\SYSTEM] [HKEY LOCAL - LOCAL MACHINE\TK NTUSER]. - 3 [HKEY LOCAL MACHINE\TK DEFAULT] [HKEY CURRENT _USER] - [HKEY_USERS\.Default] Loading Image Registry Complete..…
Well posting the keys with typos and /or messed up copy/paste doesn't help, use the code tag if you are unsure or you're using a crappy browser. Whatever In the first two examples is pretty obvious you need to replace HKEY_LOCAL_MACHINE\TK_SYSTEM with HKEY_LOCAL_MACHINE\SYSTEM and HKEY_LOCAL_MACHINE\TK_Software with HKEY_LOCAL_MACHINE\Software for the user I guess, you need to replace HKEY_LOCAL_MACHINE\TK_NTUSER with HKEY_CURRENT_USER\ As the last one I guess you're talking about the default user registry. It's just a template for new users creation and is normally not mounted So you can mount C:\Users\Default\NTUSER.DAT in the same mount folder used by the original reg, hence you can leave the .reg unchanged.
I wrote a PowerShell wrapper script which does all the work using wimlib-imagex.exe & offlinereg.exe, and avoids the need for Admin rights, DISM or registry mounting. The script checks if both tools are in your path or the script's current path, and downloads them if required. To summarize the steps: 1. wimlib-imagex info install.wim --extract-xml 2. Parse XML to count how many images. Loop through images: 3. wimlib-imagex extract --no-acls install.wim [index] /Windows/System32/config/SOFTWARE 4. offlinereg SOFTWARE "Microsoft\Windows NT\CurrentVersion" enumallvalues 5. Parse offlinereg output for the reg keys. Code: > CorrectVersion.bat \Releases\Win10_22H2_English_x64\sources\install.wim Index Name Arch Edition Version DISM ----- ---- ---- ------- ------- ---- 1 Windows 10 Pro x64 Professional 19045.2006 19041.1889 > CorrectVersion.bat \Releases\Win11_22H2_English_x64v2\sources\install.wim Index Name Arch Edition Version DISM ----- ---- ---- ------- ------- ---- 1 Windows 11 Home x64 Core 22621.1702 22621.1702 2 Windows 11 Home N x64 CoreN 22621.1702 22621.1702 3 Windows 11 Home Single Language x64 CoreSingleLanguage 22621.1702 22621.1702 4 Windows 11 Education x64 Education 22621.1702 22621.1702 5 Windows 11 Education N x64 EducationN 22621.1702 22621.1702 6 Windows 11 Pro x64 Professional 22621.1702 22621.1702 7 Windows 11 Pro N x64 ProfessionalN 22621.1702 22621.1702 8 Windows 11 Pro Education x64 ProfessionalEducation 22621.1702 22621.1702 9 Windows 11 Pro Education N x64 ProfessionalEducationN 22621.1702 22621.1702 10 Windows 11 Pro for Workstations x64 ProfessionalWorkstation 22621.1702 22621.1702 11 Windows 11 Pro N for Workstations x64 ProfessionalWorkstationN 22621.1702 22621.1702
I didn't know offlinereg, then i searched a bit and I got it. It's just another pearl from Nirsoft. Hardly any of its utilities is deluding
I'm talking about Erwan L program, which UUP dump script downloads to their bin folder (except it's an old version).
Yes I noticed that after posting. Whatever they likely do they same thing, I haven't had time to compare, yet.
I played with your script, and it's working pretty well for me. I had troubles with the program automatically downloading and extracting wimlib and offlinereg, but once I did that manually, it works and provides useful information. Nice work! On edit: I am referring to the powershell script contained in CorrectVersion.bat
Oops, my bad [editing error]. The problem was hidden by my script's attempt to cache any downloaded EXE's. I verified it works from an empty folder. Thanks for the report!