Help - Search - Members - Calendar
Full Version: New Partion Magic 8 plugin
The CD Forum > Bart's PE Builder > Plugins
Rajesh 2010
this is PM8 plugin which will automatically dismount all drives
when started and when you exit the PM all the drives will be automatically remounted


it requires the following plugins to work
MMC and WSH

and foll programs(added automatically when pe is built)
mountvol.exe
diskpart.exe


the PM8 is launched by a vb script which takes care of every thing

the old problems r still there;that is why i dismount the drives before launching PM8

the only care that needs to be taken is that one should not allocate a drive letter in PM8
and every thing will be fine

oh i forgot to mention one thing ,for remounting i use diskpart service ,so when you close norton a console will open running a
diskpart script .and sometimes diskpart just hangs ..so in that case you can just close that window..which leave some partitions unmounted..
for this problem i have created one more menu called Re-mount which will just remount the partitions which were not mounted.
jaclaz
Can you post a link to:
  • MMC
  • WSH

plugins that you used? unsure.gif

jaclaz
Rajesh 2010
QUOTE (jaclaz @ Oct 17 2010, 05:51 AM) *
Can you post a link to:
  • MMC
  • WSH

plugins that you used? unsure.gif

jaclaz

will post them
i thought everyone might be having those

i have attatched WSH

code for MMC
CODE
; mmc.inf
; MMC add-on for Windows XP SP2

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name=" 000 MMC add-on for Windows XP SP2"
Enable=0

[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
jaclaz
QUOTE (Rajesh 2010 @ Oct 17 2010, 11:55 AM) *
will post them
i thought everyone might be having those

Maybe hmm.gif, but this way we avoid people posting whining ph34r.gif that they cannot find the plugin(s) or that the plugin(s) they found do(es) not work. smile.gif

In other words, now your nice PM8 plugin is "self-standing" and someone interested in it has no need to go around searching for anything else. thumbup.gif

Possible unsure.gif (redistributable) replacements for pskill:
http://theabsolute.net/sware/endprocess.html
http://www.beyondlogic.org/consulting/proc...processutil.htm
http://www.softtreetech.com/24x7/archive/49.htm

And of course MS own XP's taskkill:
http://www.microsoft.com/resources/documen...l.mspx?mfr=true
and tskill:
http://blog.lusu.ro/2006/10/kill-processes...and-prompt.html
http://commandwindows.com/taskkill.htm
http://www.tweakxp.com/article39559.aspx

There should be also a WMIC way, but it's rare that WMI is running on PE's:
http://isc.sans.edu/diary.html?storyid=1229

jaclaz
Rajesh 2010
@jaclaz
great, you are full of redistributables
will use one of them once there is a good response
and no error report with the plugin

best regards
Rajesh 2010
so many downloads
but no comments
Bananenpaule
Hi Rajesh 2010,
You are young and enthusiastic!
Why not merging this all together happy62.gif
And of course a detailed instuction including credits for the authors of the cannibalized sources in your NPM8.htm.
And some XPE shortcuts.

Plugins for PE-Builder-Bart-PE

Read this etc.:
Partition Magic V8.01 Plugin, simpler than others


some completive Teletom related ressources:
PE-Builder Plugins

Offline NT Password & Registry Editor
Rajesh 2010
@Bananenpaule
i have made the changes and re uploaded the plugin
credits included
also process.exe added in package as suggested by @jaclaz
now its a complete plugin

added xpe shortcuts ;please check as i stopped using xpe for a very long time

oops.gif also the PMagic8.xml updated as i forgot to add the re-mount as i said it was there


by the did u use the plugin
regards
Rajesh 2010
just downloads but no comments
good or bad i dont mind
jaclaz
QUOTE (Rajesh 2010 @ Oct 27 2010, 06:08 PM) *
just downloads but no comments
good or bad i dont mind

Life is tough. sad.gif

Compare the number of thank you's here (currently 8 as in 11-3 to which you can add maybe 20 posted wrongly on the main threads, say at the most totaling 30):
http://www.msfn.org/board/index.php?showtopic=111401

With the actual views of the main threads (currently 1,583,613 Views+771,384 Views+596,881 Views) w00t.gif
http://www.msfn.org/board/index.php?showforum=157
(without counting the threads on 911CD and boot-land)

Even if one every 100 views has downloaded and used one of the tools we have 2,951,878/100=29,519

If we round it to 30,000 (and this number is most probably roughly 1/10th of the actual number of people that used one or the other app)


30/30,000=0.001

Statistically you need another 874 downloads before you are likely to get a thank you.

Compare also with this whistling.gif:
http://www.boot-land.net/forums/index.php?showtopic=2362
http://www.boot-land.net/forums/index.php?...=2362&st=31
and the number of posts in the thread.....

More generally, offering a plugin for a discontinued:
http://en.wikipedia.org/wiki/PartitionMagic
QUOTE
PartitionMagic was a computer program for hard disk drive partitioning originally made by the PowerQuest corporation but now owned by Symantec. As of December 8, 2009, the Symantec website stated that they no longer offer Partition Magic. The program ran on Microsoft Windows operating systems (only 2000 and XP, not Vista or 7) or from a bootable CD-ROM and enabled creation and modification of partitions. Existing partitions could be resized without loss of data.

COMMERCIAL ph34r.gif tool is not the best initiative in terms of popularity..... wink.gif

jaclaz
Bananenpaule
Hi Rajesh 2010,

Why So Serious?

Sharing is caring!
It's a leechers world.

Developing is just fun and honour(measured in download rates) - nothing else


As I am older now, I try to avoid using such partition managing tools. My partitions are quiet well organized at creation time wink.gif
And I can only use them(partition managing tools), when I have the space for the backups of the involved partitions, better would be involved harddisks whistling.gif
PQMagic has a major disadvantage for present and now past operating systems and partition managing tools too : It expects DOS style partition borders sad.gif
QUOTE
Info: Partition didn't begin on head boundary. ucBeginSector expected to be 1, not 2.
... and never let PQMagic repair this bye2.gif you'll learn a lot about partition organisation while reparing manually or with testdisk. An actual formated PartInNT.exe printout is helpful then ...

QUOTE (Rajesh 2010 @ Oct 23 2010, 07:39 PM) *
[...]by the did u use the plugin
regards

no, I do not used it yet.

Maybe there could be problems with the .vbs call, or my personal BartXPE configuration was incomplete, or my remembrance is wrong.
I personal have some .vbs scripts at XPE startup and needed to run them with
wscript MyScriptNameWithoutSpaces.vbs
Randomizing Workstation Names in XPE, How To...

In this case try this:
0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Partition Magic", "%SystemDrive%\Programs\PMagic\PMagic.exe||wscript %SystemDrive%\Programs\PMagic\NPM.VBS"

0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Re-Mount", "%SystemDrive%\Programs\PMagic\PMagic.exe||wscript %SystemDrive%\Programs\PMagic\NPM.VBS 1"


Hello jaclaz, my dear old pal,

COMMERCIAL or not, nobody cares
QUOTE (Isane Wonko @ Apr 4 2010, 05:34 PM UTC+-??)
tongue.gif
Bananenpaule
addendum

1)
pmagic.inf

[WinntDirectories]
a="Programs\PMagic8",2

[SourceDisksFiles]
NPM.VBS=a,,1
Process.exe=2,,1
PMagicNT.exe=a,,1
PTEDIT32.EXE=a,,1
About.pqg=a,,1
Splash.pqg=a,,1
PQPB.RTC=a,,1
License.txt=a,,1
DrvMap.exe=a,,1
Pqboot32.exe=a,,1
*???.dll=a,,1
*???.pqg=a,,1
*???.fnt=a,,1
*???.hlp=a,,1
*???.rtc=a,,1
*???.vxd=a,,1


some faults, some missing:

[Software.Addreg]
; Shortcut(s) for Partition Magic
0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Partition Magic", "%SystemDrive%\Programs\PMagic\PMagicNT.exe||%SystemDrive%\Programs\PMagic\NPM.VBS"

0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Re-Mount", "%SystemDrive%\Programs\PMagic8\PMagicNT.exe||%SystemDrive%\Programs\PMagic\NPM.VBS 1"

; Shortcut(s) for Partition Info
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Partition Info", ;"%SystemDrive%\Programs\PMagic8\PartInNT.exe||%SystemDrive%\Programs\PMagic\PartIn.exe"

; Shortcut(s) for Partition Edit
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Partition Table Editor", ;"%SystemDrive%\Programs\PMagic8\PTEDIT32.EXE||%SystemDrive%\Programs\PMagic\PTEDIT32.EXE"


; Shortcut(s) for Drive Mapper
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Drive Mapper", ;"%SystemDrive%\Programs\PMagic8\DrvMap.exe||%SystemDrive%\Programs\PMagic\DrvMap.exe"

; Shortcut(s) for PQBoot
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\PQBoot", ;"%SystemDrive%\Programs\PMagic8\Pqboot32.exe||%SystemDrive%\Programs\PMagic\Pqboot32.exe"

; Shortcut(s) for PQBoot for Windows
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\PQBoot for Windows", ;"%SystemDrive%\Programs\PMagic8\pqbw.exe||%SystemDrive%\Programs\PMagic\pqbw.exe"

2)
not in PMagic8.xml yet:

; Shortcut(s) for Drive Mapper
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\Drive Mapper", ;"%SystemDrive%\Programs\PMagic8\DrvMap.exe||%SystemDrive%\Programs\PMagic\DrvMap.exe"

; Shortcut(s) for PQBoot
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\PQBoot", ;"%SystemDrive%\Programs\PMagic8\Pqboot32.exe||%SystemDrive%\Programs\PMagic\Pqboot32.exe"

; Shortcut(s) for PQBoot for Windows
;0x2, "Sherpya\XPEinit\Programs", "PowerQuest\PQBoot for Windows", ;"%SystemDrive%\Programs\PMagic8\pqbw.exe||%SystemDrive%\Programs\PMagic\pqbw.exe"

3)
BeeblebroxNT is better
Does PE Builder work on Windows XP 64-bit systems?, Has BartPE been tested with a Windows XP 64-bit install CD
PowerQuest Partition tools.htm
; Created by Bananenpaule
doudi
HI Rajesh 2010

THAKS FOR WSH plugin....

BR
DD
NickOlsen
Hello Rajesh 2010,

I have tested and analyse your plugin again and found some mistakes in your plugin files "PMagic8.xml" and "pmagic.inf", therefore it doesn't work on my system!

In your "pmagic.inf" are some mistakes to start the programs, see also "xpe.htm":
QUOTE
Extended shortcut registry key syntax, the value field
program_to_launch|program_arguments|icon_file[,n] - n icon index in the icon file


To configure your Nu2Menu file "PMagic8.xml" see:
http://www.nu2.nu/nu2menu/
http://www.nu2.nu/nu2menu/funchlp.php

Please keep the menu entries of XPE and Nu2menu consistent!
Furthermore copy at the best the required "WSH" and "MMC" plugins directly into your plugin ZIP file!

Here are corrected files for your plugin:

pmagic.inf:
CODE
; PE Builder v3 plug-in INF file for Nu2Menu
; PowerQuest PartitionMagic v8.xx Plugin
; http://www.powerquest.com/partitionmagic/

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="300 Norton PartitionMagic v8.xx"
Enable=1


[WinntDirectories]
a="Programs\PMagic8",2

[SourceDisksFiles]
NPM.VBS=a,,1
Process.exe=2,,1
PMagicNT.exe=a,,1
PTEDIT32.EXE=a,,1
About.pqg=a,,1
Splash.pqg=a,,1
PQPB.RTC=a,,1
License.txt=a,,1
;Optional files:
PartInNT.exe=a,,4
Pqboot32.exe=a,,4
pqbw*.*=a,,4

[Software.AddReg]
;The follwing three lines are for registration information,
;uncomment them and add the appropriate information.
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "Name", "ENTER NAME HERE"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "Company", "ENTER COMPANY HERE"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "SerialNumber", "ENTER SERIAL NUMBER HERE"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "License", "License.txt"
0x1, "PowerQuest\PartitionMagic\8.0\UserInfo", "VersionNumber", "80"

[Software.Addreg]
; Shortcut(s) for Partition Magic via NPM.VBS
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\PartitionMagic 8", "%SystemDrive%\Programs\PMagic8\NPM.VBS||%SystemDrive%\Programs\PMagic8\PMagicNT.exe"

; Shortcut(s) for NPM.VBS
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\Re-Mount", "%SystemDrive%\Programs\PMagic8\NPM.VBS|1|%SystemDrive%\Programs\PMagic8\PMagicNT.exe"

; Shortcut(s) for Drive Mapper
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\Drive Mapper", "%SystemDrive%\Programs\PMagic8\DrvMap.exe||%SystemDrive%\Programs\PMagic8\DrvMap.exe"

; Shortcut(s) for Partition Info
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\Partition Info", "%SystemDrive%\Programs\PMagic8\PartInNT.exe||%SystemDrive%\Programs\PMagic8\PartInNT.exe"

; Shortcut(s) for PQBoot
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\PQBoot", "%SystemDrive%\Programs\PMagic8\Pqboot32.exe||%SystemDrive%\Programs\PMagic8\Pqboot32.exe"

; Shortcut(s) for PQBoot for Windows
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\PQBoot for Windows", "%SystemDrive%\Programs\PMagic8\pqbw.exe||%SystemDrive%\Programs\PMagic8\pqbw.exe"

; Shortcut(s) for Partition Table Editor
0x2, "Sherpya\XPEinit\Programs", "PartitionMagic 8\Partition Table Editor", "%SystemDrive%\Programs\PMagic8\PTEDIT32.EXE||%SystemDrive%\Programs\PMagic8\PTEDIT32.EXE"

[Append]
nu2menu.xml, PMagic8.xml


PMagic8.xml:
CODE
<!-- Nu2Menu entry for PowerQuest PartitionMagic v8.xx -->
<NU2MENU>
        <MENU ID="Programs">
                <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\*.*))" MENUID="PMagic8">PartitionMagic 8</MITEM>
        </MENU>
        <MENU ID="PMagic8">
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\PMagicNT.exe))" CMD="RUN" FUNC="@Null(@ChangeDir(@GetProgramDrive()\Programs\PMagic8))@GetWinDir()\System32\wscript //Nologo @GetProgramDrive()\Programs\PMagic8\NPM.VBS">PartitionMagic 8</MITEM>
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\NPM.VBS))"      CMD="RUN" FUNC="@Null(@ChangeDir(@GetProgramDrive()\Programs\PMagic8))@GetWinDir()\System32\wscript //Nologo @GetProgramDrive()\Programs\PMagic8\NPM.VBS 1">Re-Mount</MITEM>
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\PartInNT.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic8\PartInNT.exe">Partition Info</MITEM>
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\Pqboot32.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic8\Pqboot32.exe">PQBoot</MITEM>
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\pqbw.exe))"     CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic8\pqbw.exe">PQBoot for Windows</MITEM>
                <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\PMagic8\PTEDIT32.EXE))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\PMagic8\PTEDIT32.EXE">Partition Table Editor</MITEM>
        </MENU>
</NU2MENU>


Please update your plugin download also!


Regards
NickOlsen
Rajesh 2010
hi
NickOlsen

thanks for finding the mistakes .
actually i have used a custom way to create my shortcuts
http://www.911cd.net/forums//index.php?showtopic=24152

i dont use xpe or nu2 style xml
so i was not able to check its working.
i have tested the plugin on winxp sp2
it works fine for me.
the additional dependency are added to make script work and ease the work of mounting and unmounting
you can just double click the script file to execute it.
i am quite busy for some time.
will update and let you guys know
NickOlsen
Hi Rajesh 2010,

QUOTE (Rajesh 2010 @ Mar 23 2011, 05:55 PM) *
[...]
i am quite busy for some time.
will update and let you guys know

because your are still busy I have allowed me to update your plug-in package with corrected menu files wink.gif
(The zip file including the required plug-ins for the MMC and WSH support)


Download: Click to view attachment

Regards,
NickOlsen

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.