![]() |
![]() ![]() |
Apr 3 2004, 12:39 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 24-March 04 Member No.: 4,909 |
I'm having problem to run diskpart under windows XP sp2 rc1 and BartPE 3.0.32.
And the appended nu2meny.xml is only under /plugin/nu2menu. Not under /program/nu2menu. Is it just me or has someone else this problem? /Gook |
|
|
|
Apr 3 2004, 01:15 PM
Post
#2
|
|
|
Titanium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,556 Joined: 29-August 03 From: NC, USA Member No.: 1,527 |
Neither diskpart or the MMC disk manager plugin work for me under SP2 RC1. I don't have any problem with nu2menu.
-------------------- |
|
|
|
Apr 4 2004, 05:29 AM
Post
#3
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I am using Windows XP SP2 RC1 and BartPE 3.0.32. I run both Disk Management and Diskpart without any problems, at least I can start them without any problems. Didn't really test them. I use a self-made disk management plugin and n4tune8 MMC plugin (http://pages.infinit.net/goriol/peplugin.htm). Sherpya's MMC plugin, part of the XPE plugin (http://oss.netfarm.it/winpe/) can also be used. I created the disk management plugin, because I do not want to use the XPE/explorer plugin, but I wanted to have disk management.
Here are the disk management plugin files. It is a stripped n4tune8 explorer plugin. Don't know if all files are needed, at least there no extra registry entries. The plugin also registers the files MMCNDMGR.DLL and MSXML3.DLL. ======== diskmgmt.inf ======== ; PE Builder v3 plug-in INF file for Diskmgmt [Version] Signature= "$Windows NT$" [PEBuilder] Name="Disk Management (Needs MMC plugin)" Enable=1 [WinntDirectories] a="Shortcuts",2 [SourceDisksFiles] explorer.exe=2 accwiz.exe=2 actxprxy.dll=2 adsnt.dll=2 advpack.dll=2 appmgr.dll=2 appwiz.cpl=2 atl.dll=2 batmeter.dll=2 browselc.dll=2 browsewm.dll=2 cabview.dll=2 camocx.dll=2 catsrvut.dll=2 cdfview.dll=2 certmgr.dll=2 certmgr.msc=2 ciadv.msc=2 cic.dll=2 ciodm.dll=2 clbcatq.dll=2 clbcatex.dll=2 comaddin.dll=2 comexp.msc=2 compatui.dll=2 compmgmt.msc=2 comres.dll=2 comsnap.dll=2 comsvcs.dll=2 control.exe=2 crypt32.dll=2 cryptsvc.dll=2 cryptext.dll=2 cryptui.dll=2 cscui.dll=2 csseqchk.dll=2 ctl3dv2.dll=2 danim.dll=2 datime.dll=2 davclnt.dll=2 ddrawex.dll=2 desk.cpl=2 deskadp.dll=2 deskmon.dll=2 deskperf.dll=2 devmgmt.msc=2 dfrg.msc=2 dfrgsnap.dll=2 dfrgui.dll=2 diskmgmt.msc=2 dmdlgs.dll=2 dmdskmgr.dll=2 dmdskres.dll=2 dmocx.dll=2 dmremote.exe=2 dmview.ocx=2 drprov.dll=2 dsquery.dll=2 dssenh.dll=2 dxtmsft.dll=2 dxtrans.dll=2 els.dll=2 es.dll=2 eventvwr.msc=2 access.cpl=2 filemgmt.dll=2 fmifs.dll=2 fontext.dll=2 fsmgmt.msc=2 geo.nls=2 gpedit.msc=2 hdwwiz.cpl=2 help.exe=2 hhctrl.ocx=2 hhsetup.dll=2 hid.dll=2 hmmapi.dll=2 hnetcfg.dll=2 hnetwiz.dll=2 hotplug.dll=2 icaapi.dll=2 icmui.dll=2 ie.inf=20 iedkcs32.dll=2 iesetup.dll=2 iexplore.exe=2 inetcomm.dll=2 inetcpl.cpl=2 inetcplc.dll=2 inetmib1.dll=2 input.dll=2 intl.cpl=2 itss.dll=2 joy.cpl=2 jscript.dll=2 jsproxy.dll=2 lmrt.dll=2 localsec.dll=2 lpk.dll=2 lusrmgr.msc=2 magnify.exe=2 main.cpl=2 mdminst.dll=2 mlang.dll=2 mmc.exe=2 mmcbase.dll=2 mmcndmgr.dll=2 mmcshext.dll=2 mmsys.cpl=2 modemui.dll=2 msaatext.dll=2 msctf.dll=2 msdtctm.dll=2 msdtcprx.dll=2 mshta.exe=2 mshtml.dll=2 mshtmled.dll=2 msieftp.dll=2 msimtf.dll=2 msjtes40.dll=2 mslwvtts.dll=2 msrating.dll=2 msscp.dll=2 mstime.dll=2 mstlsapi.dll=2 msutb.dll=2 msxml3.dll=2 msxml3r.dll=2 mycomput.dll=2 mydocs.dll=2 ncpa.cpl=2 netid.dll=2 netplwiz.dll=2 ntlsapi.dll=2 ntmsapi.dll=2 ntmsmgr.dll=2 ntmsmgr.msc=2 ntmsoprq.msc=2 ntshrui.dll=2 ntvdm.exe=2 ntvdmd.dll=2 nusrmgr.cpl=2 nwc.cpl=2 odbccp32.cpl=2 oleaccrc.dll=2 oleprn.dll=2 osk.exe=2 panmap.dll=2 pdh.dll=2 perfdisk.dll=2 perfmon.msc=2 perfmon.exe=2 perfos.dll=2 pifmgr.dll=2 plugin.ocx=2 powercfg.cpl=2 quartz.dll=2 regedit.exe=1 remotepg.dll=2 riched32.dll=2 rsop.msc=2 rundll32.exe=2 safrdm.dll=2 safrslv.dll=2 sapi.cpl=2 schedsvc.dll=2 scrobj.dll=2 scrrun.dll=2 search.asp=2 secpol.msc=2 sens.dll=2 services.msc=2 shdoclc.dll=2 shgina.dll=2 shimgvw.dll=2 shscrap.dll=2 smlogcfg.dll=2 sniffpol.dll=2 stdole2.tlb=2 stobject.dll=2 syncui.dll=2 sysdm.cpl=2 syssetup.inf=20 sysmon.ocx=2 tapi3.dll=2 telephon.cpl=2 termmgr.dll=2 termsrv.dll=2 themeui.dll=2 timedate.cpl=2 ulib.dll=2 uniplat.dll=2 usp10.dll=2 vbscript.dll=2 vmmreg32.dll=1 VSSAPI.DLL=2 webcheck.dll=2 wlnotify.dll=2 wmdmlog.dll=2 wmimgmt.msc=2 wmiprov.dll=2 wmiscmgr.dll=2 wow32.dll=2 wscript.exe=2 wshext.dll=2 xenroll.dll=2 zipfldr.dll=2 ; VB and VC runtime libraries asycfilt.dll=2 comcat.dll=2 msvbvm50.dll=2 msvbvm60.dll=2 oleaut32.dll=2 olepro32.dll=2 ; Telnet server tlntadmn.exe=2 tlntsess.exe=2 tlntsvrp.dll=2 tlntsvr.exe=2 ; Removable Storage Manager rsmps.dll=2 rsnotify.exe=2 rsmsink.exe=2 rsmui.exe=2 rsm.exe=2 ; Windows tlb files stdole32.tlb=2 msdatsrc.tlb=2 mshtml.tlb=2 simpdata.tlb=2 ; Windows ActiveX controls files asctrls.ocx=2 msscript.ocx=2 wshom.ocx=2 ; Automated system recovery files asr_fmt.exe=2 asr_ldm.exe=2 asr_pfu.exe=2 ; Windows programs drwtsn32.exe=2 eventvwr.exe=2 extrac32.exe=2 fontview.exe=2 fsutil.exe=2 getmac.exe=2 help.exe=2 msiexec.exe=2 mstinit.exe=2 ntbackup.exe=2 packager.exe=2 runas.exe=2 systray.exe=2 winmsd.exe=2 winver.exe=2 ; Windows executables cidaemon.exe=2 cisvc.exe=2 cleanmgr.exe=2 cscript.exe=2 ctfmon.exe=2 dcomcnfg.exe=2 ddeshare.exe=2 diskperf.exe=2 dllhost.exe=2 dllhst3g.exe=2 grpconv.exe=2 lodctr.exe=2 logman.exe=2 logoff.exe=2 logonui.exe=2 mpnotify.exe=2 msdtc.exe=2 msg.exe=2 msswchx.exe=2 nddeapir.exe=2 netdde.exe=2 qappsrv.exe=2 qprocess.exe=2 qwinsta.exe=2 rdsaddin.exe=2 rdshost.exe=2 relog.exe=2 sctasks.exe=2,schtasks.exe shutdown.exe=2 smlogsvc.exe=2 taskkill.exe=2 tasklist.exe=2 taskman.exe=2 tcpsvcs.exe=2 tracerpt.exe=2 tscon.exe=2 tsdiscon.exe=2 typeperf.exe=2 unlodctr.exe=2 upnpcont.exe=2 ups.exe=2 utilman.exe=2 vssadmin.exe=2 vssvc.exe=2 w32tm.exe=2 ; Remote Desktop Connection client mstsc.exe=2 mstscax.dll=2 ; WinHelp hh.exe=1 hh.exe=2 winhlp32.exe=2 winhlp32.exe=2 winhelp.exe=1 winhelp.hlp=2 helpctr.exe=2 helphost.exe=2 helpsvc.exe=2 windows.hlp=21 sstub.dll=21 tshoot.dll=21 sniffpol.dll=21 bnts.dll=21 winhlp32.hlp=21 winhlp32.cnt=21 wind_w.chq=21,windows.chq cpanel_w.chq=21,cpanel.chq Autorun1diskmgmt.cmd=2 diskmgmt.cmd=2 [Append] nu2menu.xml, diskmgmt_nu2menu.xml ========= diskmgmt.cmd ========= @echo off start /MIN %systemroot%\system32\diskmgmt.msc exit 0 =============== Autorun1diskmgmt.cmd =============== @echo off REM Register DLLs to make Disk Management work regsvr32 %systemroot%\system32\MMCNDMGR.DLL /s regsvr32 %systemroot%\system32\MSXML3.DLL /s exit ================ diskmgmt_nu2menu.xml ================ <!-- Nu2Menu entry for MMC --> <NU2MENU> <MENU ID="Programs"> <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\diskmgmt.cmd))" CMD="RUN" FUNC="@GetWinDir()\system32\diskmgmt.cmd">Disk Management</MITEM> </MENU> </NU2MENU> |
|
|
|
Apr 6 2004, 01:50 PM
Post
#4
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I just removed the "RPCSS Service Security Patch (KB824146)" (patch_824146)plugin and diskpart and disk management stopped working!
Disk Management --------------------- The RPC server is unavailable! Diskpart ---------- The disk management services could not complete the operation. To my best knowledge KB824146 is not needed with Windows XP SP2 RC1. Windows XP SP2 RC1 contains newer files than the files used by KB824146. I am gonna try again with patch KB824146 enabled. Just to be sure it solves the problem. I will post the result here. If diskpart and disk management start working again it has something to do with a newer version of ole32.dll, rpcrt4.dll or rpcss.dll. Looking at the error above it is probably related to one of the rpc*.dll files. To be continued... |
|
|
|
Apr 6 2004, 02:22 PM
Post
#5
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I just enabled the "RPCSS Service Security Patch (KB824146)" (patch_824146)plugin and diskpart and disk management are both working again!
So, the problem is traced down to one or more of these files: ole32.dll, rpcrt4.dll or rpcss.dll. Maybe the new files in XP SP2 RC1 need some new registrykeys in the MMC plugin? I use n4tune8 MMC plugin. I will try again removing the "RPCSS Service Security Patch (KB824146)" plugin and enabling XPE's MMC plugin instead of n4tune8 MMC plugin. To be continued... |
|
|
|
Apr 6 2004, 03:09 PM
Post
#6
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
XPE MMC plugin did not solve the problem.
|
|
|
|
Apr 6 2004, 03:23 PM
Post
#7
|
|
|
Gold Member ![]() ![]() ![]() ![]() Group: Members Posts: 749 Joined: 25-September 03 Member No.: 1,782 |
Did you look at the registry entries about mmc on a real XP ?
Maybe after comparing both you might find a solution. Perhaps it's another limitation set by MS in the new rpc subsystem from SP2. |
|
|
|
Apr 6 2004, 03:43 PM
Post
#8
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I am just preparing an Windows XP SP2 RC1 system.
I will try to find the MMC differences between SP1 and SP2 RC1. |
|
|
|
Apr 6 2004, 04:50 PM
Post
#9
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I have problems preparing a Windows XP SP2 RC1 system => not enough diskspace! Maybe someone else can give it a try.
as mentioned before Windows XP SP2 RC1 probaby contains a new rpc subsystem. The MMC plugin probably needs some adjustments. n4tune8, Sherpya ? Anybody? |
|
|
|
Apr 7 2004, 02:55 PM
Post
#10
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 206 Joined: 11-April 03 Member No.: 607 |
Say, guys, I was just browsin' here and wonder if any of y'all can tell me:
Do any of these disk/partition mgmt programs work on Win 9x?... If so, where on the web can I find 'em?... Thx. -------------------- "Jesus Christ didn't die to make you a self-centered religionist...
He died so that you and I could stop living for ourselves, and start living for others. Courage is the highest expression of humility; it's coming to that place where we say 'Father, my life is not about me. It's about You.' " -Erwin McManus |
|
|
|
Apr 8 2004, 01:07 PM
Post
#11
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
Maybe you better use an application like CompuApps SwissKnife on Win9x.
It is freeware and a download can be found here: http://www.compuapps.com/Download/swisskni.../swissknife.htm |
|
|
|
Apr 10 2004, 08:33 AM
Post
#12
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I think to get Disk Management working and Diskpart working under Windows XP SP2 RC1 we need to enable and start the services DCOMLaunch and RPCSS. Maybe this is needed to get Diskpart working using Windows XP SP2 RC1 and the KB824146 patch plugin disabled.
Someone knows how to do this? It probably has something to do with the following registry keys: HKLM\SYSTEM\ControlSet001\Services\DcomLaunch and HKLM\SYSTEM\ControlSet001\Services\RpcSs |
|
|
|
Apr 10 2004, 09:17 AM
Post
#13
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
I was on the right track. I have diskpart and Disk Management working right now!
I will post a plugin soon... |
|
|
|
Apr 10 2004, 11:03 AM
Post
#14
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
Here is the needed plugin to enable diskpart and diskmanagement when using Windows XP SP2 RC1. Disable the KB824146 patch plugin when using Windows XP SP2 RC1. The mmc_sp2 plugin works just fine with both n4tune8 MMC plugin and XPE's MMC plugin. Did not test if diskpart works without one of these MMC plugins. Maybe I will try it later.
mmc_sp2.inf ======== ; mmc_sp2.inf ; MMC add-on for Windows XP SP2 RC1 [Version] Signature= "$Windows NT$" [PEBuilder] Name="MMC add-on for Windows XP SP2 RC1" Enable=1 [SetupReg.AddReg] 0x1, "ControlSet001\Services\RpcSs","Description","Provides the endpoint mapper and other miscellaneous RPC services." 0x1, "ControlSet001\Services\RpcSs","DisplayName","Remote Procedure Call (RPC)" 0x4, "ControlSet001\Services\RpcSs","ErrorControl", 0x00000001 0x1, "ControlSet001\Services\RpcSs","Group","COM Infrastructure" 0x2, "ControlSet001\Services\RpcSs","ImagePath","%SystemRoot%\system32\svchost -k rpcss" 0x1, "ControlSet001\Services\RpcSs","ObjectName","LocalSystem" 0x4, "ControlSet001\Services\RpcSs","Start", 0x00000002 0x4, "ControlSet001\Services\RpcSs","Type", 0x00000020 0x3, "ControlSet001\Services\RpcSs","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 0x7, "ControlSet001\Services\RpcSs","DependOnService","DcomLaunch" 0x2, "ControlSet001\Services\RpcSs\Parameters","ServiceDll","%SystemRoot%\system32\rpcss.dll" 0x3, "ControlSet001\Services\RpcSs\Security","Security",\ 01,00,14,80,a8,00,00,00,b4,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1C,00,01,00,00,00,02,80,14,00,FF,01,0F,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,78,00,05,00,00,00,00,00,14,00,8D,00,02,00,01,01,00,00,00,00,00,\ 05,0B,00,00,00,00,00,18,00,FF,01,0F,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,18,00,8D,00,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,\ 02,00,00,00,00,14,00,9D,00,00,00,01,01,00,00,00,00,00,05,04,00,00,00,00,00,\ 18,00,9D,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,21,02,00,00,01,01,00,\ 00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00 0x1, "ControlSet001\Services\RpcSs\Enum","0","Root\LEGACY_RPCSS\0000" 0x4, "ControlSet001\Services\RpcSs\Enum","Count", 0x00000001 0x4, "ControlSet001\Services\RpcSs\Enum","NextInstance", 0x00000001 0x1, "ControlSet001\Services\DcomLaunch","Description","Provides launch functionality for DCOM services." 0x1, "ControlSet001\Services\DcomLaunch","DisplayName","DCOM Server Process Launcher" 0x4, "ControlSet001\Services\DcomLaunch","ErrorControl", 0x00000001 0x1, "ControlSet001\Services\DcomLaunch","Group","COM Infrastructure" 0x2, "ControlSet001\Services\DcomLaunch","ImagePath","%SystemRoot%\system32\svchost -k DcomLaunch" 0x1, "ControlSet001\Services\DcomLaunch","ObjectName","LocalSystem" 0x4, "ControlSet001\Services\DcomLaunch","Start", 0x00000002 0x4, "ControlSet001\Services\DcomLaunch","Type", 0x00000020 0x3, "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 0x2, "ControlSet001\Services\DcomLaunch\Parameters","ServiceDll","%SystemRoot%\system32\rpcss.dll" 0x3, "ControlSet001\Services\DcomLaunch\Security","Security",\ 01,00,14,80,b4,00,00,00,c0,00,00,00,14,00,00,00,34,00,00,00,02,\ 00,20,00,01,00,00,00,02,80,18,00,FF,01,0F,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,20,02,00,00,02,00,80,00,05,00,00,00,00,03,18,00,8D,00,02,00,01,01,00,\ 00,00,00,00,01,00,00,00,00,00,00,00,00,00,03,18,00,FF,01,0F,00,01,02,00,00,\ 00,00,00,05,20,00,00,00,20,02,00,00,00,03,18,00,8F,00,02,00,01,02,00,00,00,\ 00,00,05,20,00,00,00,23,02,00,00,00,03,18,00,9D,00,00,00,01,01,00,00,00,00,\ 00,05,04,00,00,00,23,02,00,00,00,03,18,00,9D,00,00,00,01,02,00,00,00,00,00,\ 05,20,00,00,00,21,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,\ 00,00,00,05,12,00,00,00 0x1, "ControlSet001\Services\DcomLaunch\Enum","0","Root\LEGACY_DCOMLAUNCH\0000" 0x4, "ControlSet001\Services\DcomLaunch\Enum","Count", 0x00000001 0x4, "ControlSet001\Services\DcomLaunch\Enum","NextInstance", 0x00000001 |
|
|
|
Apr 10 2004, 11:20 AM
Post
#15
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 306 Joined: 4-October 03 Member No.: 1,864 |
Diskpart is working just fine with the mmc_sp2 plugin. It does not need one of the mmc plugins.
|
|
|
|
Apr 10 2004, 12:51 PM
Post
#16
|
|
|
Titanium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 5,556 Joined: 29-August 03 From: NC, USA Member No.: 1,527 |
It also fixed perfectdisk 6 not working on SP2 as well.
-------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th February 2010 - 11:49 AM |