I'm not sure if this is the right (or best) place to post this request. Note to board admins - please feel free to move it to somewhere more appropriate.
I've been playing around with Dietmar's XPSP1 with full commandline and NTFS below 10 MB and have created a WinBuilder wrapper for one of his projects included in the thread.
I'm having trouble getting diskpart working if Windows XP Service Pack 2 or 3 source files are used - diskpart is however working fine if the source files are from XP Gold or Service Pack 1.
I therefore posted the following in the MiniXP thread -
...We are now now in the unfortunate position where diskpart is only working with Gold and SP1 sources, and USB Mass Storage is only working with SP2 and SP3...
...cdob responded with...
This rings a old bell: Bart added DComLaunch Service to enable diskpart at SP2 and up.
LiveXP adds DComLaunch at Register Factory API http://livexp.boot-l...gFactory.Script
...which led to...
@cdob
Thanks for the hints. I feel like I'm making some progress, however I can't get the DcomLaunch service working. I tried adding the following registry keys via a winbuilder script -RegWrite,HKLM,0x7,"_XPCLI_SYSTEM\ControlSet001\Services\RpcSs","DependOnService","DcomLaunch","" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH","NextInstance",0x1 RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Class","LegacyDriver" RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","ConfigFlags",0x0 RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","DeviceDesc","DCOM Services" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Legacy",0x1 RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000","Service","DcomLaunch" RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Enum\Root\LEGACY_DCOMLAUNCH\0000\Control","ActiveService","DcomLaunch" RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","Description","DCOM Services" RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","DisplayName","DCOM Services" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","ErrorControl",0x1 RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","Group","Event Log" RegWrite,HKLM,0x2,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","ImagePath","svchost -k DcomLaunch" RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","ObjectName","LocalSystem" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","Start",0x2 RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","Type",0x20 RegWrite,HKLM,0x3,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch","FailureActions",00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,60,ea,00,00 RegWrite,HKLM,0x1,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch\Enum","0","Root\LEGACY_DCOMLAUNCH\0000" RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch\Enum","Count",0x1 RegWrite,HKLM,0x4,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch\Enum","NextInstance",0x1 RegWrite,HKLM,0x2,"_XPCLI_SYSTEM\ControlSet001\Services\DcomLaunch\Parameters","ServiceDll","rpcss.dll"Sadly diskpart is still not working. I used the sc command to check whether dcomlaunch and rpcss services were working, and received the following errors -
RpcSs starts fine if the DependOnService DcomLaunch entry is removed.
I think that cdob's suggestion of adding the DcomLaunch service will resolve the Diskpart problem. The entries noted above seem to work fine in Windows PE, however MiniXP is not a PE environment.
Any help will be greatly appreciated.
Thanks in advance,
Regards,
Misty