![]() |
![]() ![]() |
Oct 17 2003, 01:03 AM
Post
#1
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
Ok, this is going to be the first part of a little miniseries leading up to getting the Disk Defragmenter (and perhaps more) MMC components working in WinPE.
CAVEAT: THE FOLLOWING DEALS WITH ADDING AND REMOVING HIVES FROM YOUR REGISTRY, PERMANENT DAMAGE MAY BE CAUSED TO YOUR WINDOWS INSTALLATION I have to tell everyone some variables I've set forth first: 1) I had the hacked Winlogon.exe which allowed "normal" resource usage 2) All files were taken from a working Windows XP SP1 installation that the PE environment was built from (with a XP SP1 CD). If I can think of any more, I'll let you know. For now, here is all you need to get the mmc working in Windows XP: 1. In WinXP open RegEdit and navigate to key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID, select File, Export and save the file as CLSID.reg 2. Select HKEY_LOCAL_MACHINE and go under the File menu and select Load Hive. Load C:\winpe\i386\system32\config\software and name it PE_SOFTWARE 3. Open CLSID.reg in Notepad and Search and Replace (CTRL-H) every instance of HKEY_LOCAL_MACHINE\SOFTWARE to HKEY_LOCAL_MACHINE\PE_SOFTWARE and then save and exit notepad 4. Double click CLSID.reg and select Yes when asked if you want to add the data to your registry. 5. In WinXP open RegEdit and navigate to key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3, select File, Export and save the file as COM3.reg 6. Open COM3.reg in Notepad and Search and Replace (CTRL-H) every instance of HKEY_LOCAL_MACHINE\SOFTWARE to HKEY_LOCAL_MACHINE\PE_SOFTWARE and then save and exit notepad 7. Double click COM3.reg and select Yes when asked if you want to add the data to your registry. 8. Open Regedit and select PE_SOFTWARE and then go under the File menu and select Unload Hive 9. Copy the following files from a working Windows XP installation (C:\WINDOWS\SYSTEM32) to C:\winpe\i386\system32\ mmcbase.dll mmcndmgr.dll oleaccrc.dll CLBCATQ.dll COMRES.dll mlang.dll mmc.exe urlmon.dll oleacc.dll shell32.dll oleaccrc.dll usp10.dll lpk.dll msvcp60.dll mfc42u.dll 10. Copy the following files from a working Windows XP installation (C:\WINDOWS\Registration\*.*) to C:\winpe\i386\Registration (create the folder if necessary) The following file is a must from this folder: R000000000001.clb for you to avoid the "regsvr32 %systemroot%\system32\mmcndmgr.dll" error [EDIT]10.1 To get everything working smoothly without the Registration files and folder, edit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Com3\Com+Enabled so that it is set to "0" Ignore step 10. 11. Create your Windows PE environment. You should have a working mmc at this point. I should take the time to note there is a serious problem with this setup. At present we are copying files from a working \WINDOWS\Registration folder, but those files are dynamic and generated and altered by COM+ events, which is virtually every service (ie, the logical disk manager, etc.) What we need to find is a way to move this folder to the RAM disk so that COM+ events can have their way with them. At present, that is why creating a Disk Management mmc will work on the computer you created it with, but not any other type of machine. [EDIT] It appears step 10.1 alleviates that need for the Registration folder... I will investigate further |
|
|
|
Oct 17 2003, 02:20 AM
Post
#2
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
Getting the Disk Management Snapin to work in WinPE...
Following the last post I made, here are the steps to get the Disk Management working. 1. Copy the following files from a working Windows XP installation (C:\WINDOWS\SYSTEM32) to C:\winpe\i386\system32\ dmdskmgr.dll dmdlgs.dll dmview.ocx dmremote.exe dmdskres.dll NTMSAPI.dll fmifs.dll 2. Select HKEY_LOCAL_MACHINE and go under the File menu and select Load Hive. Load C:\winpe\i386\system32\setupreg.hiv and name it PE_SOFTWARE 3. Navigate to key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nls\Locale, select File, Export and save the file as Locale.reg 4. Open Locale.reg in Notepad and Search and Replace (CTRL-H) every instance of HKEY_LOCAL_MACHINE\SOFTWARE to HKEY_LOCAL_MACHINE\PE_SOFTWARE and then save and exit notepad 5. Double click Locale.reg and select Yes when asked if you want to add the data to your registry. 6. Open Regedit and select PE_SOFTWARE and then go under the File menu and select Unload Hive 7. In WinXP open RegEdit and navigate to key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inteface, select File, Export and save the file as Interface.reg 8. Select HKEY_LOCAL_MACHINE and go under the File menu and select Load Hive. Load C:\winpe\i386\system32\config\software and name it PE_SOFTWARE 9. Open Interface.reg in Notepad and Search and Replace (CTRL-H) every instance of HKEY_LOCAL_MACHINE\SOFTWARE to HKEY_LOCAL_MACHINE\PE_SOFTWARE and then save and exit notepad 10. Double click Interface.reg and select Yes when asked if you want to add the data to your registry. 11. Open Regedit and select PE_SOFTWARE and then go under the File menu and select Unload Hive 12. Rebuild your WinPE Environment. You should now have a nearly full functional Disk Management MMC. The only caveat is it does not mount or assign a drive letter to a disk after formatting it. You can do this manually though by right-clicking the partition and selecting "Change Drive Letter and Path" and assigning it that way. It will mount usuable and instantly after that. |
|
|
|
Oct 17 2003, 02:39 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Members Posts: 79 Joined: 10-October 03 Member No.: 1,958 |
After the FIND/REPLACE, I try to import my REG file but I get the following error...
QUOTE Cannot import CLSID.REG: The specified file is not a registry script. You can only import binary registry files from within the registry editor. I also tried by directly importing from within REGEDIT, same result. How did you manage to import? |
|
|
|
Oct 17 2003, 03:19 AM
Post
#4
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
Getting the Disk Defragmenter working...
NOTE The following assumes you completed my previous two posts. 1. Copy the following files from a working Windows XP installation (C:\WINDOWS\SYSTEM32) to C:\winpe\i386\system32\ dfrgres.dll dfrgui.dll defrag.exe dfrgntfs.exe dfrgfat.exe vssapi.dll dfrgsnap.dll ipsecsnp.dll 2. Copy and paste the following into a text file named "Dfrg.reg" QUOTE Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgCtl.DfrgCtl]@="DfrgCtl Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgCtl.DfrgCtl\CLSID] @="{202D3AEF-2F0E-11D1-A1F6-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgCtl.DfrgCtl\CurVer] @="DfrgCtl.DfrgCtl.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgCtl.DfrgCtl.1] @="DfrgCtl Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgCtl.DfrgCtl.1\CLSID] @="{202D3AEF-2F0E-11D1-A1F6-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapin.DfrgSnapin] @="DfrgSnapin Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapin.DfrgSnapin\CLSID] @="{43668E21-2636-11D1-A1CE-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapin.DfrgSnapin\CurVer] @="DfrgSnapin.DfrgSnapin.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapin.DfrgSnapin.1] @="DfrgSnapin Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapin.DfrgSnapin.1\CLSID] @="{43668E21-2636-11D1-A1CE-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapinAbout.1] @="Disk Defragmenter Snap-in Module" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\DfrgSnapinAbout.1\CLSID] @="{B5C45061-2729-11D1-A1D7-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg] "FreeSpaceErrorLevel"="15" "PathName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\ 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,00,00 "ResourceDllName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,\ 6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,44,00,66,00,72,00,67,00,52,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction] "Enable"="Y" "LcnStartLocation"="770131" "LcnEndLocation"="822454" "OptimizeComplete"="Yes" "OptimizeError"=" " [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3] "CurrentSchemaVersion"=dword:00000053 "RegDBAutoBackUp"=dword:00000001 "Com+Enabled"=dword:00000000 "BuildNumber"=dword:0000113e "BuildType"="Free" "MaxLogFiles"=dword:0000000a "REGDBVersion"=hex:07,00,00,00,00,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\ATL.Registrar] @="Registrar Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\ATL.Registrar\CLSID] @="{44EC053A-400F-11D0-9DCD-00A0C90391D3}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}] @="Registrar Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\InprocServer32] @="ATL.DLL" "ThreadingModel"="Both" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{44EC053A-400F-11D0-9DCD-00A0C90391D3}\ProgID] @="ATL.Registrar" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}] @="VSSoftwareProvider Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}\InprocServer32] @="SWPRV.DLL" "ThreadingModel"="Both" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}\ProgID] @="VSSW.VSSoftwareProvider.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}\TypeLib] @="{93BB06B6-B6DA-43c8-BC9B-E32DB49AA6F7}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\CLSID\{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}\VersionIndependentProgID] @="VSSW.VSSoftwareProvider" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\Interface] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\Interface\{B6EA2051-048A-11D1-82B9-00C04FB9942E}] @="IAxWinAmbientDispatch" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\Interface\{B6EA2051-048A-11D1-82B9-00C04FB9942E}\ProxyStubClsid] @="{00020424-0000-0000-C000-000000000046}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\Interface\{B6EA2051-048A-11D1-82B9-00C04FB9942E}\ProxyStubClsid32] @="{00020424-0000-0000-C000-000000000046}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\Interface\{B6EA2051-048A-11D1-82B9-00C04FB9942E}\TypeLib] @="{44EC0535-400F-11D0-9DCD-00A0C90391D3}" "Version"="1.0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\1.0] @="ATL 2.0 Type Library" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\1.0\0] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\1.0\0\win32] @="ATL.DLL" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\1.0\FLAGS] @="0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\1.0\HELPDIR] @=":\\minint\\System32\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}\1.0] @="Software Shadow Copy provider 1.0 Type Library" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}\1.0\0] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}\1.0\0\win32] @="SWPRV.DLL" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}\1.0\FLAGS] @="0" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\TypeLib\{93BB06B6-B6DA-43C8-BC9B-E32DB49AA6F7}\1.0\HELPDIR] @="C:\\minint\\System32\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\VSSW.VSSoftwareProvider] @="VSSoftwareProvider Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\VSSW.VSSoftwareProvider\CLSID] @="{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\VSSW.VSSoftwareProvider\CurVer] @="VSSW.VSSoftwareProvider.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\VSSW.VSSoftwareProvider.1] @="VSSoftwareProvider Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\SelfReg\VSSW.VSSoftwareProvider.1\CLSID] @="{65EE1DBA-8FF4-4a58-AC1C-3470EE2F376A}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\COM3\Setup] "Major Version"=dword:00030000 "Minor Version"=dword:0000113e "Progman Folder"="Administrative Tools" "Source Drive Type"="CD-ROM" "Source Path"="D:\\" "Install Mode"=dword:00000000 "Install Path"="" [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):00,00,00,00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\{43668E21-2636-11D1-A1CE-0080C88593A5}] @="DfrgSnapin" "NameString"="Disk Defragmenter" "NameStringIndirect"="@dfrgres.dll,-11" "About"="{B5C45061-2729-11D1-A1D7-0080C88593A5}" "NodeType"="{43668E22-2636-11D1-A1CE-0080C88593A5}" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\{43668E21-2636-11D1-A1CE-0080C88593A5}\NodeTypes] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\{43668E21-2636-11D1-A1CE-0080C88593A5}\NodeTypes\{43668E22-2636-11D1-A1CE-0080C88593A5}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\{43668E21-2636-11D1-A1CE-0080C88593A5}\StandAlone] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e644a-aaff-11d0-b944-00c04fd8d5b0}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions\ContextMenu] "{43668E21-2636-11D1-A1CE-0080C88593A5}"="DfrgSnapin" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions\NameSpace] "{8EAD3A12-B2C1-11d0-83AA-00A0C92C9D5D}"="Disk Management Extension" "{43668E21-2636-11D1-A1CE-0080C88593A5}"="DfrgSnapin" "{243E20B0-48ED-11D2-97DA-00A024D77700}"="Removable Storage Extension" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{43668E21-2636-11D1-A1CE-0080C88593A5}] @="DfrgSnapin Class" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{43668E21-2636-11D1-A1CE-0080C88593A5}\InprocServer32] @="dfrgsnap.dll" "ThreadingModel"="Apartment" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{43668E21-2636-11D1-A1CE-0080C88593A5}\ProgID] @="DfrgSnapin.DfrgSnapin.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{43668E21-2636-11D1-A1CE-0080C88593A5}\TypeLib] @="{CD83A785-6F75-11D2-A385-00609772642E}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{43668E21-2636-11D1-A1CE-0080C88593A5}\VersionIndependentProgID] @="DfrgSnapin.DfrgSnapin" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B5C45061-2729-11D1-A1D7-0080C88593A5}] @="Disk Defragmenter Snap-in Module" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B5C45061-2729-11D1-A1D7-0080C88593A5}\InprocServer32] @="dfrgsnap.dll" "ThreadingModel"="both" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B5C45061-2729-11D1-A1D7-0080C88593A5}\ProgID] @="DfrgSnapinAbout.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B5C45061-2729-11D1-A1D7-0080C88593A5}\VersionIndependentProgID] @="DfrgSnapinAbout.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{202D3AEF-2F0E-11D1-A1F6-0080C88593A5}\InprocServer32] @="dfrgui.dll" "ThreadingModel"="Apartment" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}] @="Microsoft Web Browser" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\Control] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\InProcServer32] @="shdocvw.dll" "ThreadingModel"="Apartment" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\MiscStatus] @="0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\MiscStatus\1] @="131473" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\ProgID] @="Shell.Explorer.2" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\ToolboxBitmap32] @="shdocvw.dll, 257" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\TypeLib] @="{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\Version] @="1.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{8856F961-340A-11D0-A96B-00C04FD705A2}\VersionIndependentProgID] @="Shell.Explorer" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}] @="Microsoft Web Browser Version 1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\InProcServer32] @="shdocvw.dll" "ThreadingModel"="Apartment" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\MiscStatus] @="0" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\MiscStatus\1] @="131473" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\ProgID] @="Shell.Explorer.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\ToolboxBitmap32] @="shdocvw.dll, 257" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\TypeLib] @="{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\Version] @="1.1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B}\VersionIndependentProgID] @="Shell.Explorer" 3. Open Regedit and select HKEY_LOCAL_MACHINE and go under the File menu and select Load Hive. Load C:\winpe\i386\system32\config\software and name it PE_SOFTWARE 4. Open Dfrg.reg in Notepad and Search and Replace (CTRL-H) every instance of HKEY_LOCAL_MACHINE\SOFTWARE to HKEY_LOCAL_MACHINE\PE_SOFTWARE and then save and exit notepad 5. Double click dfrg.reg and select Yes when asked if you want to add the data to your registry. 6. Open Regedit and select PE_SOFTWARE and then go under the File menu and select Unload Hive 7. In Explorer navigate to your WinPE directory and add the following folders so the directory path looks like this: winpe\Documents and Settings\Default User\Local Settings\Temp (Or use the RAM drive for your Profile... Could someone post a quick how-to on how to move your documents and settings to the RAM drive?) I should warn you, I can't figure out how I got the FAT32 disk defragmenter working... it's not in this brief writeup yet (I think... it wasn't working immediantely after I did the above...) [EDIT] The above allows defragmentation of FAT32 volumes. |
|
|
|
Oct 17 2003, 03:21 AM
Post
#5
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (Zax @ Oct 17 2003, 07:39 AM) After the FIND/REPLACE, I try to import my REG file but I get the following error... QUOTE Cannot import CLSID.REG: The specified file is not a registry script. You can only import binary registry files from within the registry editor. I also tried by directly importing from within REGEDIT, same result. How did you manage to import? Does your text file have this as the very first line? QUOTE Windows Registry Editor Version 5.00
|
|
|
|
Oct 17 2003, 03:27 AM
Post
#6
|
|
|
Member ![]() ![]() Group: Members Posts: 79 Joined: 10-October 03 Member No.: 1,958 |
Yes.
I just followed the steps. Export the key, simple add/replace and then re-import but the importing fails... |
|
|
|
Oct 17 2003, 07:50 AM
Post
#7
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (Zax @ Oct 17 2003, 08:27 AM) Yes. I just followed the steps. Export the key, simple add/replace and then re-import but the importing fails... I tried the steps I posted again and it worked when I followed it exactly. Can you post the first few lines of the CLSID.reg file you have after the search and replace? |
|
|
|
Oct 17 2003, 08:11 AM
Post
#8
|
|
|
Member ![]() ![]() Group: Members Posts: 79 Joined: 10-October 03 Member No.: 1,958 |
Sure:
QUOTE Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID]"CLBVersion"=dword:00000009 [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\CLSID] @="{0000031A-0000-0000-C000-000000000046}" [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\TypeLib] @="{FFBC50F3-043C-11D1-911D-006097C99383}" [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\{00000010-0000-0010-8000-00AA006D2EA4}] @="DAO.DBEngine.35" Wonder what I'm doing wrong? |
|
|
|
Oct 17 2003, 08:55 AM
Post
#9
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (Zax @ Oct 17 2003, 01:11 PM) Sure: QUOTE Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID] "CLBVersion"=dword:00000009 [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\CLSID] @="{0000031A-0000-0000-C000-000000000046}" [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\TypeLib] @="{FFBC50F3-043C-11D1-911D-006097C99383}" [HKEY_LOCAL_MACHINE\PE_SOFTWARE\Classes\CLSID\{00000010-0000-0010-8000-00AA006D2EA4}] @="DAO.DBEngine.35" Wonder what I'm doing wrong? I tried importing your little clipping you pasted here and it went through successfully. I don't know why it's not working for you. [edit] Did you try double-clicking on the file or did you just try importing into while you were in Regedit? I don't know what's wrong... Can you reimport the file into your registry after you export it, before doing the search and replace? |
|
|
|
| Former_kapi_post |
Oct 17 2003, 09:26 AM
Post
#10
|
|
Guests |
Metzen if this can help you for have a real XP working.
System32/Config/Default=HKCU in registry Config/Software=HKLM/Software in registry SETUPREG.HIV=HKLM/System in registry /Documents and settings/User/NTUSER.DAT=HKUSER/.DEFAULT (some parts of HKCU too,it's a Temp copy,all temps parameters for explorer or microsofts softwares are theire) With a fresh windows you can copy and merge (NTUSER.DAT with Default) in the System32/Config/ ,some little replaces keys are needed but all work like in the real win XP. I'm on making a clean config with that infos cause my old have somes problems (like big hiv files if someone use ntkrnlmp patch better to add that : [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):63,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,37,00,36,00,38,00,20,00,37,00,36,00,\ 38,00,00,00,00,00 instead of [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):00,00,00,00 this one make a swap file named "00 00 00 00" on the HD in minint directory and take a long time to boot on CD versions... |
|
|
|
Oct 17 2003, 09:46 AM
Post
#11
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (kapi @ Oct 17 2003, 02:26 PM) [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):63,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\ 00,65,00,2e,00,73,00,79,00,73,00,20,00,37,00,36,00,38,00,20,00,37,00,36,00,\ 38,00,00,00,00,00 instead of [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):00,00,00,00 this one make a swap file named "00 00 00 00" on the HD in minint directory and take a long time to boot on CD versions... Actually... That second registry entry sets Windows up so that there is no swap file, which is preferable when one can't access a harddrive |
|
|
|
Oct 17 2003, 10:27 AM
Post
#12
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 5-June 03 Member No.: 887 |
Fantastic work!
I followed all the steps above, and I am getting an error: "MMC Requires Internet Explorer 5.5 or greater to be installed." Have you run across this? Thank you! |
|
|
|
| Former_kapi_post |
Oct 17 2003, 11:09 AM
Post
#13
|
|
Guests |
as i said Metzen on krnlmp patch only i dunno how it work on winlogon patch cause mine doesn't work.And yes it create a blank key for the page file,so no more pagefile.sys or even 00 file .
@Marcbert Need more than explorer |
|
|
|
Oct 17 2003, 11:36 AM
Post
#14
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (marcbert @ Oct 17 2003, 03:27 PM) Fantastic work! I followed all the steps above, and I am getting an error: "MMC Requires Internet Explorer 5.5 or greater to be installed." Have you run across this? Thank you! Do you have all of these files in your \system32 folder as well? urlmon.dll oleacc.dll shell32.dll oleaccrc.dll usp10.dll lpk.dll mcvcp60.dll mfc42u.dll If not, tell me which one you were missing |
|
|
|
Oct 17 2003, 01:04 PM
Post
#15
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 5-June 03 Member No.: 887 |
Freaky....
I was missing the MFC42U.DLL file....... Now I get an error "The procedure entry point AssocIsDangerous could not be located in the dynamic link library SHLWAPI.DLL", and then I see a box saying I have run out of virtual memory and my machine quickly reboots. So I look at the version of SHLWAPI.DLL on my C:\Windows\System32 and it is version 6.0.2800.1106 The version of SHLWAPI.DLL on my \winpe\i386\system32 is 6.0.2600.0 Somehow I have incompatible versions......I may go through and check on a few more DLL's and make sure the correct versions are installed....assuming the lastest versions are the correct versions. I have a feeling Service Pack 1a may have slipped in the mix somehow. I have verified that the registry settings for PAGINGFILES is correct(00, 00, 00, 00) I'll let you know how i make out...... |
|
|
|
Oct 17 2003, 01:23 PM
Post
#16
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
The SHLWAPI.DLL I have is the later 2800 version
|
|
|
|
Oct 17 2003, 01:38 PM
Post
#17
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 5-June 03 Member No.: 887 |
That makes sense......I used the Dependency Walker and I can see that the AssocIsDangerous doesn't exists in the 2600 version, but does in the 2800.
Now that all my file versions are the later versions, I am getting a Blue Screen with a Session Manager initialization error. I must have done something wrong with [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management] "PagingFiles"=hex(7):00,00,00,00 Should the "PagingFiles" value be the ONLY value? I have several others...... |
|
|
|
Oct 17 2003, 01:48 PM
Post
#18
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
To my knowledge, it's the only one that matters.
|
|
|
|
Oct 17 2003, 02:12 PM
Post
#19
|
|
|
Member ![]() ![]() Group: Members Posts: 33 Joined: 5-June 03 Member No.: 887 |
I'll post this in case anyone else can benefit, but it is probably just myself having this problem.
I know exactly why things are acting flaky for me. I used Windows XP w/o SP1a to create my initial build. Sometime after my initial build, my company deployed SP1a to all desktops. Now I'm trying to incorporate Metzen's very clever MMC mod, and I'm having problems because The new files I am adding to my CD for the MMC mod are SP1A files, and the rest are not. Back to the drawing board. Start from scratch with SP1a..... |
|
|
|
Oct 17 2003, 02:27 PM
Post
#20
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 266 Joined: 6-August 03 Member No.: 1,325 |
QUOTE (marcbert @ Oct 17 2003, 07:12 PM) I'll post this in case anyone else can benefit, but it is probably just myself having this problem. I know exactly why things are acting flaky for me. I used Windows XP w/o SP1a to create my initial build. Sometime after my initial build, my company deployed SP1a to all desktops. Now I'm trying to incorporate Metzen's very clever MMC mod, and I'm having problems because The new files I am adding to my CD for the MMC mod are SP1A files, and the rest are not. Back to the drawing board. Start from scratch with SP1a..... Cool, let me know if it works for you marcbert. Something else I should note is that some registry entries have absolute paths to files where relative ones are needed. To make a relative path after you've exported your registry entries from your Windows XP machine, open the file in notepad and search for the following entries and replace them with "blank space", nothing, nada. The line to search for is "C:\\WINDOWS\\SYSTEM32\\" |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 5th September 2010 - 10:15 PM |