无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 13894|回复: 24
打印 上一主题 下一主题

求助DiskPart.exe 还需要什么文件才能在PE下单独使用

[复制链接]
跳转到指定楼层
1#
发表于 2008-1-2 18:25:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
DiskPart.exe 还需要什么文件才能在PE下单独使用,高人指路。


关键是在PE下用系统的磁盘管理分区老出错!汗。

[ 本帖最后由 打狗协会理事 于 2008-1-3 01:26 PM 编辑 ]
2#
 楼主| 发表于 2008-1-2 19:52:02 | 只看该作者
顶上去,怎么没人回,高人能不能帮帮忙!

多谢多谢!!~!!
回复

使用道具 举报

3#
发表于 2008-1-2 19:54:04 | 只看该作者
出错有何提示??
回复

使用道具 举报

4#
发表于 2008-1-2 19:58:34 | 只看该作者
diskpart.exe
========================
user32.dll
advapi32.dll
kernel32.dll
ntdll.dll
rpcrt4.dll
ole32.dll
setupapi.dll
dmadmin.exe (这个可能还需要别的文件)
services.exe (同上)
回复

使用道具 举报

5#
 楼主| 发表于 2008-1-2 20:36:44 | 只看该作者
问题如下:

未命名1.JPG (58.27 KB, 下载次数: 117)

未命名1.JPG
回复

使用道具 举报

6#
 楼主| 发表于 2008-1-2 20:40:17 | 只看该作者
原帖由 无优处男 于 2008-1-2 07:58 PM 发表
diskpart.exe
========================
user32.dll
advapi32.dll
kernel32.dll
ntdll.dll
rpcrt4.dll
ole32.dll
setupapi.dll
dmadmin.exe (这个可能还需要别的文件)
services.exe (同上)




“services.exe (同上)” 是作什么用的
回复

使用道具 举报

7#
发表于 2008-1-2 20:56:07 | 只看该作者
需要某种服务,估计没搞头
回复

使用道具 举报

8#
 楼主| 发表于 2008-1-2 21:07:43 | 只看该作者
哪位高人帮看下都需要什么文件能在PE中单独运行     DiskPart.exe

DiskPart.exe     资源文件内容如下:


STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
1,  "\nDiskPart was unable to mark the partition active.\nMake sure the partition is valid.\n"
2,  "\nThe disk is not a fixed basic MBR disk.\nPlease select a fixed basic MBR disk to use this command.\n"
3,  "\nThere is no partition selected.\nPlease select a partition and try again.\n"
4,  "\nDiskPart marked the current partition as active.\n"
5,  "\nDiskPart was unable to add a mirror to the volume.\nPlease make sure the volume is valid for mirroring.\n"
6,  "\nThe volume you have selected may not be mirrored.\nPlease select a different volume to mirror.\n"
7,  "\nThere is no disk specified to add as a mirror.\nPlease specify a disk using the 'disk=<n>' parameter.\n"
8,  "\nThe volume you selected is not dynamic.\nPlease select a dynamic volume and try again.\n"
9,  "\nThere is no volume selected to add the mirror to.\nSelect a simple dynamic volume and try again.\n"
10,  "\nDiskPart succeeded in adding a mirror to the volume.\n"
11,  "\nThe disk you have specified is too small for the volume.\nPlease select a different disk for the mirror.\n"
12,  "disk"
13,  "hH?"
14,  "letter"
15,  "mount"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
1,  "\nDiskPart 无法将这个分区标为活动。\n请确定分区是否有效。\n"
2,  "\n磁盘不是固定基本 MBR 磁盘。\n请选择一个固定基本 MBR 磁盘来使用这个命令。\n"
3,  "\n没有选择分区。\n请选择一个分区,再试一次。\n"
4,  "\nDiskPart 将当前分区标为活动。\n"
5,  "\nDiskPart 无法将镜像添加到卷。\n请确定卷是否有效,可以添加镜像。\n"
6,  "\n您选择的卷无法镜像。\n请选择一个不同的卷来镜像。\n"
7,  "\n没有指定作为镜像添加的磁盘。\n请用 'disk=<n>' 参数来指定一个磁盘。\n"
8,  "\n您选择的卷不是动态卷。\n请选择一个动态卷,再试一次。\n"
9,  "\n没有选择可以添加镜像的卷。\n选择一个简单动态卷,再试一次。\n"
10,  "\nDiskPart 已将镜像成功地添加到这个卷。\n"
11,  "\n您指定的磁盘对这个卷太小了。\n请选择一个不同的磁盘作为镜像。\n"
12,  "磁盘"
13,  "hH?"
14,  "驱动器号"
15,  "装入"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
16,  "sS"
17,  "/-"
18,  "vV"
19,  "\nThe specified letter has already been assigned to this drive.\n"
20,  "\nDiskPart could not assign the drive letter or mount point.\nMake sure the drive letter or mount point is valid.\n"
21,  "\nThe letter you specified is not a valid volume letter.\n"
22,  "\nThe volume you specified is not valid, or does not exist.\nUse the 'refresh' command to refresh your information.\n"
23,  "\nThere are no free drive letters to assign to this volume.\nPlease free up a drive letter and try again.\n"
24,  "\nDiskPart cannot reassign the drive letter on a system, boot or pagefile volume.\n"
25,  "\nThere is no volume specified.\nPlease select a volume and try again.\n"
26,  "\nDiskPart assigned the drive letter, but your computer needs to be rebooted\nbefore the changes take effect.\n"
27,  "\nDiskPart successfully assigned the drive letter or mount point.\n"
28,  "\nDiskPart failed to break the volume.\nMake sure the volume is valid for breaking.\n"
29,  "\nThe volume you have selected may not be broken.\nPlease select a different volume to break.\n"
30,  "\nThere is no disk specified to retain the volume information.\nPlease specify a disk using the 'disk=<n>' parameter.\n"
31,  "\nOnly dynamic volumes may be broken.\nPlease select a dynamic mirror to break.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
16,  "sS"
17,  "/-"
18,  "vV"
19,  "\n指定的字母已指派给这个驱动器。\n"
20,  "\nDiskPart 无法指派驱动器号或装载点。\n请确定驱动器号或装载点是否有效。\n"
21,  "\n您指定的字母不是有效的卷号。\n"
22,  "\n您指定的卷无效或者不存在。\n请用“刷新”命令来刷新您的信息。\n"
23,  "\n没有可以指派给这个卷的可用驱动器号。\n请释放一个驱动器号,再试一次。\n"
24,  "\nDiskPart 无法在系统、启动或页面文件卷上重新指派驱动器号。\n"
25,  "\n没有指定卷。\n请选择一个卷,再试一次。\n"
26,  "\nDiskPart 指派了驱动器号,但要使改动生效,\n必须重新启动计算机。\n"
27,  "\nDiskPart 成功地指派了驱动器号或装载点。\n"
28,  "\nDiskPart 未能切断卷。\n请确定卷是否有效,可以切断。\n"
29,  "\n您所选的卷不能切断。\n请选择一个不同的卷来切断。\n"
30,  "\n没有指定保存卷信息的磁盘。\n请用 'disk=<n>' 参数来指定一个磁盘。\n"
31,  "\n只有动态卷才能切断。\n请选择一个动态镜像来切断。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
32,  "\nThere is no volume selected to break.\nPlease select a dynamic mirror to break.\n"
33,  "\nDiskPart successfully broke the mirror volume.\n"
34,  "\nDiskPart succeeded in breaking the mirror, but was unable to locate resulting volumes.\n"
35,  "1394"
36,  "IDE"
37,  "SCSI"
38,  "Unknown"
39,  "USB"
40,  "\nDiskPart was unable to clean the disk.\nThe data on this disk may be unrecoverable.\n"
41,  "\nThe selected disk is neccessary to the operation of your computer, and may not be cleaned.\n"
42,  "\nThere is no disk selected.\nPlease select a disk and try again.\n"
43,  "\nDiskPart succeeded in cleaning the disk.\n"
44,  "active"
45,  "On computer: %s\n"
46,  "\nThere is no disk selected to convert.\nSelect a disk and try again.\n"
47,  "\nThe selected disk is not a dynamic disk.\nSelect a dynamic disk to convert to basic.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
32,  "\n没有选择要切断的卷。\n请选择一个动态卷来切断。\n"
33,  "\nDiskPart 成功地切断了镜像卷。\n"
34,  "\nDiskPart 成功地中断了镜像,但无法找到相关卷。\n"
35,  "1394"
36,  "IDE"
37,  "SCSI"
38,  "未知"
39,  "USB"
40,  "\nDiskPart无法清除磁盘。\n无法恢复这个磁盘上的数据。\n"
41,  "\n所选分区对计算机的运行是必需的,不能清除。\n"
42,  "\n没有选择磁盘。\n请选择一个磁盘,再试一次。\n"
43,  "\nDiskPart 成功地清除了磁盘。\n"
44,  "活动"
45,  "位于计算机: %s\n"
46,  "\n没有选择要转换的磁盘。\n请选择一个磁盘,再试一次。\n"
47,  "\n所选磁盘不是动态磁盘。\n选择一个动态磁盘,将其转换成基本磁盘。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
48,  "\nThe selected disk is not empty.\nPlease make sure the disk is empty before converting to basic.\n"
49,  "\nDiskPart successfully converted the selected disk to basic format.\n"
50,  "\nThe selected disk cannot be upgraded to dynamic.\nPlease select a valid basic disk to convert.\n"
51,  "\nDiskPart successfully converted the selected disk to dynamic format.\n"
52,  "\nYou must reboot your computer to complete this operation.\n"
53,  "\nThe disk you specified cannot be converted to GPT.\nPlease select an empty MBR disk to convert.\n"
54,  "\nDiskPart successfully converted the selected disk to GPT format.\n"
55,  "\nThe disk you specified cannot be converted to MBR.\nPlease select an empty GPT disk to convert.\n"
56,  "\nDiskPart successfully converted the selected disk to MBR format.\n"
57,  "Copyright (C) 1999-2001 Microsoft Corporation.\n"
58,  "\nDiskPart was unable to create the specified partition.\n"
59,  "\nThe specified disk is not valid.\nPlease select a valid disk.\n"
60,  "\nThere is no disk selected to create a partition.\nSelect a disk and try again.\n"
61,  "\nDiskPart succeeded in creating the specified partition.\n"
62,  "\nThe partition was created successfully.\nIt was automatically assigned a drive letter.\n"
63,  "\nThe partition type you specified does not meet the format requirements.\nType in an unsigned hexidecimal byte for MBR disks, or a GUID for GPT disks.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
48,  "\n所选磁盘不是空的。\n请确定磁盘是空的,再将其转换成基本磁盘。\n"
49,  "\nDiskPart 已将所选磁盘成功地转换成基本格式。\n"
50,  "\n无法将所选磁盘转换成动态磁盘。\n请选择一个有效的基本磁盘。\n"
51,  "\nDiskPart 已将所选磁盘成功地转换成动态格式。\n"
52,  "\n要完成这个操作,您必须重新启动计算机。\n"
53,  "\n无法将所选的磁盘转换成 GPT。请选择一个空白的 MBR 磁盘。\n"
54,  "\nDiskPart 已将所选磁盘成功地转换成 GPT 格式。\n"
55,  "\n无法将您指定的磁盘转换成 MBR。\n请选择一个空白的 GPT 磁盘来转换。\n"
56,  "\nDiskPart 已将所选磁盘成功地转换成 MBR 格式。\n"
57,  "版权所有 (C) 1999-2001 Microsoft Corporation.\n"
58,  "\nDiskPart 无法创建指定分区。\n"
59,  "\n指定的磁盘无效。\n请选择一个有效磁盘。\n"
60,  "\n没有选择要创建分区的磁盘。\n选择一个磁盘,再试一次。\n"
61,  "\nDiskPart 成功地创建了指定分区。\n"
62,  "\n分区创建成功。\n自动指派了驱动器号。\n"
63,  "\n您指定的分区类型不符合格式要求。\n为 MBR 磁盘键入 unsigned 十六进制字节,为 GPT 磁盘键入 GUID。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
64,  "\nDiskPart was unable to create the specified volume.\nPlease check your disks and parameters.\n"
65,  "\nThere is no disk specified to create the volume.\nPlease specify a disk using the 'disk=<n>,[[<n>],...]' parameter.\n"
66,  "\nDiskPart successfully created the volume.\n"
67,  "\nDiskPart successfully created the volume, but was unable to select it.\nMake sure the volume exists, adn restart DiskPart if necessary.\n"
68,  "\nThe volume you have specified is too big for the disk.\n"
69,  "\nYou did not specify enough disks to create a RAID-5 set.\nPlease specify at least 3 disks.\n"
70,  "\nYou did not specify enough disks to create a stripe set.\nPlease specify at least 2 disks.\n"
71,  "\nThe disk you specified cannot be deleted.\nPlease select an empty missing disk to delete.\n"
72,  "\nThere is no disk selected to delete.\nSelect a disk and try again.\n"
73,  "\nDiskPart successfully deleted the missing disk.\n"
74,  "\nThe partition you selected is invalid.\nPlease select a different partition.\n"
75,  "\nThere are no partitions selected.\nPlease select a partition, and try again.\n"
76,  "\nThe selected partition may be neccessary to the operation of your computer, and may not be deleted.\n"
77,  "\nDiskPart successfully deleted the selected partition.\n"
78,  "\nDiskPart failed to delete the selected partition.\nPlease make sure the selected partition is valid to delete.\n"
79,  "\nDiskPart failed to delete the selected volume.\nPlease make sure the selected volume is valid to delete.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
64,  "\nDiskPart 无法创建指定的卷。\n请检查您的磁盘和参数。\n"
65,  "\n没有指定创建卷的磁盘。\n请用 'disk=<n>' 参数来指定一个磁盘。\n"
66,  "\nDiskPart 成功地创建了卷。\n"
67,  "\nDiskPart 成功地创建了卷,但无法选择。\n请确定卷是否存在,如果必要,重新启动 DiskPart。\n"
68,  "\n您指定的卷对卷太大了。\n"
69,  "\n您没有指定足够磁盘,无法创建 RAID-5 集。\n请指定至少三个磁盘。\n"
70,  "\n您没有指定足够磁盘,无法创建带区集。\n请指定至少两个磁盘。\n"
71,  "\n无法删除指定的磁盘。\n请选择一个空白的遗失的磁盘来删除。\n"
72,  "\n没有选择要删除的磁盘。\n选择一个磁盘,再试一次。\n"
73,  "\nDiskPart 成功地删除了遗失的磁盘。\n"
74,  "\n选择的分区无效。\n请选择一个不同的分区。\n"
75,  "\n没有选择分区。\n请选择一个分区,再试一次。\n"
76,  "\n所选分区对计算机的运行是必需的,不能删除。\n"
77,  "\nDiskPart 成功地删除了所选分区。\n"
78,  "\nDiskPart 未能删除所选分区。\n请确定所选分区是有效的,可以删除。\n"
79,  "\nDiskPart 未能删除所选卷。\n请确定所选卷是有效的,可以删除。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
80,  "\nThe volume you have selected is not valid.\nPlease select a different volume to delete.\n"
81,  "\nThere is no volume selected.\nPlease select a volume and try again.\n"
82,  "\nDiskPart cannot delete volumes on removeable media.\n"
83,  "\nThe selected volume is necessary to the operation of your computer.\nYou may not delete this volume.\n"
84,  "\nDiskPart successfully deleted the volume.\n"
85,  "\n%s\nDisk ID: %s\nType   : %s\nBus    : %d\nTarget : %d\nLUN ID : %d\n"
86,  "\nThere is no disk selected to list details for.\nPlease select a disk and try again.\n"
87,  "\nPartition %lu\nType    : %s\nHidden  : %s\nRequired: %s\n"
88,  "\nPartition %lu\nType  : %s\nHidden: %s\nActive: %s\n"
89,  "\nThere is no disk selected.\nPlease select a disk and try again.\n"
90,  "\nThere is no partition selected.\nPlease select a partition and try again.\n"
91,  "\nThere is no volume associated with this partition.\n"
92,  "%2.2lX"
93,  "\nUnknown partition type.\n"
94,  "\nThere are no disks attached to this volume.\n"
95,  "\nThere is no volume selected.\nPlease select a volume and try again.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
80,  "\n您选择的卷无效。\n请选择一个不同的卷来删除。\n"
81,  "\n没有选择卷。\n请选择一个卷,再试一次。\n"
82,  "\nDiskPart 无法删除可移动媒体上的卷。\n"
83,  "\n所选卷对计算机的运行是必需的。\n您不能删除这个卷。\n"
84,  "\nDiskPart 成功地删除了卷。\n"
85,  "\n%s\n磁盘 ID: %s\n类型   : %s\n总线    : %d\n目标 : %d\nLUN ID : %d\n"
86,  "\n没有选择列出其详细信息的磁盘。\n请选择一个磁盘,再试一次。\n"
87,  "\n分区 %lu\n类型  : %s\n隐藏: %s\n所需: %s\n"
88,  "\n分区 %lu\n类型  : %s\n隐藏: %s\n活动: %s\n"
89,  "\n没有选择磁盘。\n请选择一个磁盘,再试一次。\n"
90,  "\n没有选择分区。\n请选择一个分区,再试一次。\n"
91,  "\n没有跟这个分区相关联的卷。\n"
92,  "%2.2lX"
93,  "\n未知分区类型。\n"
94,  "\n没有附到这个卷的磁盘。\n"
95,  "\n没有选择卷。\n请选择一个卷,再试一次。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
96,  "Errors"
97,  "Foreign"
98,  "Missing"
99,  "Offline"
100,  "Online"
101,  "Unknown"
102,  "Unreadable"
103,  "Disk ID: "
104,  "\nDiskPart was unable to process the parameters.\nUse 'diskpart /?' for more information.\n"
105,  "\nDiskPart encountered an error starting the COM services.\n"
106,  "\nThat command could not be found in the command table.\n"
107,  "\nDiskPart can only extend NTFS file systems.\n"
108,  "\nDiskPart was unable to open or read the script file.\nMake sure the file you specified exists.\n"
109,  "\nDiskPart encountered an error starting the disk management services.\n"
110,  "\nDiskPart has run out of memory, and could not complete the operation.\n"
111,  "\nDiskPart encountered an error while registering for PnP notifications.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
96,  "错误"
97,  "外部"
98,  "丢失"
99,  "脱机"
100,  "联机"
101,  "未知"
102,  "不可读取"
103,  "磁盘 ID: "
104,  "\nDiskPart 无法处理这些参数。\n有关详细信息,请用 'diskpart /?'。\n"
105,  "\nDiskPart 启动 COM 服务时遇到一个错误。\n"
106,  "\n在命令表格中找不到这个命令。\n"
107,  "\nDiskPart 只能扩展 NTFS 文件系统。\n"
108,  "\nDiskPart 无法打开或读取脚本文件。\n请确定您指定的文件是否存在。\n"
109,  "\nDiskPart 启动磁盘管理服务时遇到一个错误。\n"
110,  "\nDiskPart 内存不足,无法完成操作。\n"
111,  "\nDiskPart 注册 PnP 通知时遇到一个错误。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
112,  "\nThe arguments you specified for this command are not valid.\n"
113,  "\nThe disk management services could not complete the operation.\n"
114,  "\nLeaving DiskPart...\n"
115,  "\nDiskPart failed to extend the volume.\nPlease make sure the volume is valid for extending.\n"
116,  "\nThe volume you have selected may not be extended.\nPlease select another volume and try again.\n"
117,  "\nThere is no disk specified to extend the volume.\nPlease specify a disk using the 'disk=<n>' parameter.\n"
118,  "\nThe volume you have selected is not a dynamic volume.\nPlease select a simple dynamic volume and try again.\n"
119,  "\nThere is no volume selected.\nPlease select a volume and try again.\n"
120,  "\nDiskPart successfully extended the volume.\n"
121,  "\nThe volume size you have selected is too large for the disk.\nEither select a disk with more free space, or specify a smaller volume.\n"
122,  "Activates the current basic partition."
123,  "Add a mirror to a simple volume."
124,  "Assign a drive letter or mount point to the selected volume."
125,  "Break a mirror set."
126,  "Clear the configuration information, or all information, off the\n              disk."
127,  "Prints a list of commands."
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
112,  "\n为这个命令指定的参数无效。\n"
113,  "\n磁盘管理服务无法完成这个操作。\n"
114,  "\n退出 DiskPart...\n"
115,  "\nDiskPart 未能扩展卷。\n请确定卷是有效的,可以扩展。\n"
116,  "\n无法扩展您选择的卷。\n请选择另一个卷,再试一次。\n"
117,  "\n没有指定扩展卷的磁盘。\n请用 'disk=<n>' 参数来指定一个磁盘。\n"
118,  "\n您选择的卷不是动态卷。\n请选择一个简单动态卷,再试一次。\n"
119,  "\n没有选择卷。\n请选择一个卷,再试一次。\n"
120,  "\nDiskPart 成功地扩展了卷。\n"
121,  "\n您所选的卷对于这个磁盘太大了。\n选择一个可用空间更多的磁盘,或者指定一个更小的卷。\n"
122,  "激活当前基本分区。"
123,  "将镜像添加到一个简单卷。"
124,  "给所选卷指派一个驱动器号或装载点。"
125,  "中断镜像集。"
126,  "从磁盘清除配置信息或所有信息。"
127,  "打印命令列表。"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
128,  "Converts between different disk formats."
129,  "Convert a disk from dynamic to basic."
130,  "Convert a disk from basic to dynamic."
131,  "Convert a disk from MBR to GPT."
132,  "Convert a disk from GPT to MBR."
133,  "Create a volume or partition."
134,  "Create a partition."
135,  "Create a volume."
136,  "Delete an object."
137,  "Delete a missing disk from the disk list."
138,  "Delete the selected partition."
139,  "Delete the selected volume."
140,  "Provide details about an object."
141,  "Print a list of volumes on the disk."
142,  "Shows details about the current partition."
143,  "Print a list of disks that contribute to the volume."
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
128,  "在不同的磁盘格式之间转换。"
129,  "将磁盘从动态转换成基本。"
130,  "将磁盘从基本转换成动态。"
131,  "将磁盘从 MBR 转换成 GPT。"
132,  "将磁盘从 GPT 转换成 MBR。"
133,  "创建卷或分区。"
134,  "创建分区。"
135,  "创建卷。"
136,  "删除对象。"
137,  "从磁盘列表删除遗失的磁盘。"
138,  "删除所选分区。"
139,  "删除所选卷。"
140,  "提供对象详细信息。"
141,  "打印磁盘上的卷的列表。"
142,  "显示当前分区的详细信息。"
143,  "打印构成这个卷的磁盘的列表。"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
144,  "Create an EFI system partition."
145,  "Exit DiskPart"
146,  "Extend a volume."
147,  "Create an extended partition."
148,  "Imports a disk group."
149,  "Prints out a list of objects."
150,  "Prints out a list of disks."
151,  "Prints out a list of partitions on the current disk."
152,  "Print a list of volumes."
153,  "Create a logical drive."
154,  "Create a Microsoft reserved partition."
155,  "Online a disk that is currently marked as offline."
156,  "Create a primary partition."
157,  "Create a software RAID-5 volume set."
158,  "Does nothing. Used to comment scripts."
159,  "Remove a drive letter or mount point assignment."
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
144,  "创建 EFI 系统分区。"
145,  "退出 DiskPart"
146,  "扩展卷。"
147,  "创建扩展分区。"
148,  "导入磁盘组。"
149,  "打印对象列表。"
150,  "打印磁盘列表。"
151,  "打印当前磁盘上分区列表。"
152,  "打印卷列表。"
153,  "创建逻辑驱动器。"
154,  "创建 Microsoft 保留分区。"
155,  "使当前标为脱机的磁盘联机。"
156,  "创建主要分区。"
157,  "创建软件 RAID-5 卷集。"
158,  "不起任何作用。用来注解脚本。"
159,  "删除驱动器号或装载点指派。"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
160,  "Rescan the computer looking for disks and volumes."
161,  "Move the focus to an object."
162,  "Move the focus to a disk, or see disk focus."
163,  "Move the focus to a partition, or see partition focus."
164,  "Set the focus to a volume."
165,  "Create a simple volume."
166,  "Create a stripe volume set."
167,  "%-11.11s - %-.1009s\n"
168,  "\nThere is no disk selected to import.\nSelect a disk and try again.\n"
169,  "\nDiskPart successfully imported the disk group.\n"
170,  " "
171,  "CD-ROM"
172,  "DVD-ROM"
173,  "Mirror"
174,  "Partition"
175,  "RAID-5"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
160,  "重新扫描计算机,查找磁盘和卷。"
161,  "将焦点移到一个对象。"
162,  "将焦点移到一个磁盘,或见磁盘焦点。"
163,  "将焦点移到一个分区,或见分区焦点。"
164,  "将焦点设到卷上。"
165,  "创建简单卷。"
166,  "创建带区卷集。"
167,  "%-11.11s - %-.1009s\n"
168,  "\n没有选择要导入的磁盘。\n选择一个磁盘,再试一次。\n"
169,  "\nDiskPart 成功地导入了磁盘组。\n"
170,  " "
171,  "CD-ROM"
172,  "DVD-ROM"
173,  "镜像"
174,  "磁盘分区"
175,  "RAID-5"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
176,  "Removeable"
177,  "Simple"
178,  "Spanned"
179,  "Stripe"
180,  "Unknown"
181,  "*"
182,  "\n  Disk ###  Status      Size     Free     Dyn  Gpt\n  --------  ----------  -------  -------  ---  ---\n"
183,  "%s Disk %-3lu  %-10.10s  %7s  %7s   %s    %s\n"
184,  "%s Disk M%-2lu  %-10.10s  %7s  %7s   %s    %s\n"
185,  "\nThere are no fixed disks to show.\n"
186,  "\n  Partition ###  Type              Size     Offset\n  -------------  ----------------  -------  -------\n"
187,  "%s Partition %-3.3s  %-16.16s  %-7.7s  %-7.7s\n"
188,  "\nThere is no disk selected to list partitions.\nSelect a disk and try again.\n"
189,  "\nThere are no partitions on this disk to show.\n"
190,  "Dynamic Data"
191,  "Dynamic Reserved"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
176,  "可移动"
177,  "简单"
178,  "跨区"
179,  "带区"
180,  "未知"
181,  "*"
182,  "\n  磁盘 ###  状态      大小     可用     动态  Gpt\n  --------  ----------  -------  -------  ---  ---\n"
183,  "%s 磁盘 %-3lu  %-10.10s  %7s  %7s   %s    %s\n"
184,  "%s 磁盘 M%-2lu  %-10.10s  %7s  %7s   %s    %s\n"
185,  "\n没有可以显示的固定磁盘。\n"
186,  "\n  分区 ###  类型              大小     偏移\n  -------------  ----------------  -------  -------\n"
187,  "%s 分区 %-3.3s  %-16.16s  %-7.7s  %-7.7s\n"
188,  "\n没有选择要列出分区的磁盘。\n选择一个磁盘,再试一次。\n"
189,  "\n这个磁盘上没有显示的分区。\n"
190,  "动态数据"
191,  "动态保留"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
192,  "Extended"
193,  "Free"
194,  "Logical"
195,  "OEM"
196,  "Primary"
197,  "Reserved"
198,  "System"
199,  "Unknown"
200,  "Unused"
201,  "\n  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info\n  ----------  ---  -----------  -----  ----------  -------  ---------  --------\n"
202,  "At Risk"
203,  "Boot"
204,  "Crashdmp"
205,  "Pagefile"
206,  "System"
207,  "%1.1s Volume %-3.3s   %c   %-11.11s  %-5.5s  %-10.10s  %-7.7s  %-9.9s  %-8.8s\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
192,  "扩展的"
193,  "可用"
194,  "逻辑"
195,  "OEM"
196,  "主要"
197,  "保留"
198,  "系统"
199,  "未知"
200,  "未用的"
201,  "\n  卷 ###  Ltr  标签        Fs     类型        大小     状况     信息\n  ----------  ---  -----------  -----  ----------  -------  ---------  --------\n"
202,  "有危险"
203,  "启动"
204,  "故障转储"
205,  "页面文件"
206,  "系统"
207,  "%1.1s 卷 %-3.3s   %c   %-11.11s  %-5.5s  %-10.10s  %-7.7s  %-9.9s  %-8.8s\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
208,  "    (%lu)%s\n"
209,  "    %c:%s\n"
210,  "\nThere are no volumes.\n"
211,  "Failed"
212,  "Failed Rd"
213,  "Healthy"
214,  "\n"
215,  "No"
216,  "\nDiskPart could not online the selected disk.\n"
217,  "\nDiskPart brought the selected disk online.\n"
218,  "\nNo objects were selected to online.\nPlease select a disk or volume and try again.\n"
219,  "\nDiskPart could not online the selected volume.\n"
220,  "\nDIskPart brought the selected volume online.\n"
221,  "[email=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}]ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}':;/?,.><\\[/email]|"
222,  ";"
223,  ""
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
208,  "    (%lu)%s\n"
209,  "    %c:%s\n"
210,  "\n没有卷。\n"
211,  "失败"
212,  "失败的读取操作"
213,  "状态良好"
214,  "\n"
215,  "否"
216,  "\nDiskPart 无法使所选磁盘联机。\n"
217,  "\nDiskPart 使所选磁盘联机。\n"
218,  "\n没有选择联机的对象。\n请选择一个磁盘或卷,再试一次。\n"
219,  "\nDiskPart 无法使所选卷联机。\n"
220,  "\nDiskPart 使所选卷联机。\n"
221,  "[email=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}]ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_+[]{}':;/?,.><\\[/email]|"
222,  ";"
223,  ""
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
224,  "\n"
225,  "0123456789"
226,  "\"'"
227,  "Unknown"
228,  "%5I64d B"
229,  "%%4I64d %cB"
230,  "-KMGTP?"
231,  "\nDISKPART> "
232,  "\nDiskPart could not remove the drive letter or mount point.\nMake sure the drive letter or mount point is valid.\n"
233,  "\nThe volume you specified is not valid, or does not exist.\nUse the 'refresh' command to refresh your information.\n"
234,  "\nThe selected volume has no letter to remove.\n"
235,  "\nThere is no volume selected.\nPlease select a volume and try again.\n"
236,  "\nDiskPart removed the drive letter, but your computer needs to be rebooted before the changes take effect.\n"
237,  "\nDiskPart successfully removed the drive letter or mount point.\n"
238,  "\nThe letter you specified is not assigned to that volume.\n"
239,  "\nThe specified mount point is not assigned to that volume.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
224,  "\n"
225,  "0123456789"
226,  "\"'"
227,  "未知"
228,  "%5I64d B"
229,  "%%4I64d %cB"
230,  "-KMGTP?"
231,  "\nDISKPART> "
232,  "\nDiskPart 无法删除驱动器号或装载点。\n请确定驱动器号或装载点是否有效。\n"
233,  "\n您指定的卷无效或者不存在。\n请用“刷新”命令来刷新您的信息。\n"
234,  "\n所选的卷没有可以删除的字母。\n"
235,  "\n没有选择卷。\n请选择一个卷,再试一次。\n"
236,  "\nDiskPart 删除了驱动器号,但要使改动生效,\n必须重新启动计算机。\n"
237,  "\nDiskPart 成功地删除了驱动器号或装载点。\n"
238,  "\n您指定的字母没有指派给那个卷。\n"
239,  "\n指定的装载点没有指派给那个卷。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
240,  "\nDiskPart has finished scanning your configuration.\n"
241,  "mM"
242,  "\nDisk %lu is now the selected disk.\n"
243,  "\nDisk M%lu is now the selected disk.\n"
244,  "\nThe disk you specified is not valid."
245,  "\nThere is no disk selected.\n"
246,  "\nPartition %lu is now the selected partition.\n"
247,  "\nThe specified partition is not valid.\nPlease select a valid partition.\n"
248,  "\nThere is no disk selected to set the partition.\nSelect a disk and try again.\n"
249,  "\nThere is no partition selected.\n"
250,  "\nVolume %lu is the selected volume.\n"
251,  "\nThe volume you selected is not valid or does not exist.\n"
252,  "\nThere is no volume selected.\n"
253,  "\nMicrosoft DiskPart syntax:\n\tdiskpart [/s <script>] [/?]\n\n\t/s <script> - Use a DiskPart script.\n\t/?          - Show this help screen.\n"
254,  "\nDiskPart is running in verbose mode.\n"
255,  "DiskPart is starting the COM services.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
240,  "\nDiskPart 已扫描完您的配置。\n"
241,  "mM"
242,  "\n磁盘 %lu 现在是所选磁盘。\n"
243,  "\n磁盘 M%lu 现在是所选磁盘。\n"
244,  "\n您指定的磁盘无效。"
245,  "\n没有选择磁盘。\n"
246,  "\n分区 %lu 现在是所选分区。\n"
247,  "\n指定的分区无效。\n请选择一个有效分区。\n"
248,  "\n没有选择磁盘来设置分区。\n选择一个磁盘,再试一次。\n"
249,  "\n没有选择分区。\n"
250,  "\n卷 %lu 是所选卷。\n"
251,  "\n您选择的卷无效或者不存在。\n"
252,  "\n没有选择卷。\n"
253,  "\nMicrosoft DiskPart 语法:\n\tdiskpart [/s <script>] [/?]\n\n\t/s <script> - 使用一个 DiskPart 脚本。\n\t/?          - 显示这个帮助屏幕。\n"
254,  "\nDiskPart 运行模式是“详述”。\n"
255,  "DiskPart 正在启动 COM 服务。\n"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
256,  "DiskPart is stopping the COM services.\n"
257,  "DiskPart is starting the disk management services.\n"
258,  "DiskPart is stopping the disk management services.\n"
259,  "DiskPart is registering for PnP notifications.\n"
260,  "DiskPart is unregistering for PnP notifications.\n"
261,  "DiskPart is using script mode.\n"
262,  "DiskPart is closing the script file.\n"
263,  "DiskPart is using standard input mode.\n"
264,  "\nMicrosoft DiskPart version 1.0\n"
265,  "At Risk"
266,  "Boot"
267,  "Crashdmp"
268,  "Pagefile"
269,  "System"
270,  "Failed"
271,  "Failed Rd"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
256,  "DiskPart 正在停止 COM 服务。\n"
257,  "DiskPart 正在启动磁盘管理服务。\n"
258,  "DiskPart 正在停止磁盘管理服务。\n"
259,  "DiskPart 正在注册 PnP 通知。\n"
260,  "DiskPart 正在解除注册 PnP 通知。\n"
261,  "DiskPart 正在使用脚本模式。\n"
262,  "DiskPart 正在关闭脚本文件。\n"
263,  "DiskPart 正在使用标准输入模式。\n"
264,  "\nMicrosoft DiskPart 版本 1.0\n"
265,  "有危险"
266,  "启动"
267,  "故障转储"
268,  "页面文件"
269,  "系统"
270,  "失败"
271,  "失败的读取操作"
}

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
272,  "Healthy"
273,  "Unknown"
274,  "\nPlease wait while DiskPart scans your configuration...\n"
275,  "."
276,  "Yes"
277,  "\nThe command you selected is not available with this version of Windows.\n"
278,  "Place a retainer partition under a simple volume."
279,  "\nDiskPart cannot create a partition under the selected volume.\n"
280,  "\nThe selected volume now has a partition associated with it.\n"
281,  "\nOne of the objects you are trying to edit has changed recently.\nPlease use the \"rescan\" command to scan your configuration for new information.\n"
}

STRINGTABLE
LANGUAGE LANG_CHINESE, 0x2
{
272,  "状态良好"
273,  "未知"
274,  "\nDiskPart 正在扫描您的配置,请稍候...\n"
275,  "."
276,  "是"
277,  "\n所选的命令在这个版本的 Windows 上无法使用。\n"
278,  "在一个简单卷下放置一个保留分区。"
279,  "\nDiskPart 无法在所选卷下创建分区。\n"
280,  "\n所选卷有与其相关联的分区。\n"
281,  "\n要编辑的一个对象最近已更改。\n请用“重新扫描”命令来扫描配置,取得新信息。\n"
}

1 VERSIONINFO
FILEVERSION 5,1,3565,0
PRODUCTVERSION 5,1,3565,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904b0"
{
  VALUE "Comments", ""
  VALUE "CompanyName", "Microsoft Corporation"
  VALUE "FileDescription", "Diskpart Application"
  VALUE "FileVersion", "5.1.3565"
  VALUE "InternalName", "diskpart"
  VALUE "LegalCopyright", "Copyright ? 2000"
  VALUE "LegalTrademarks", ""
  VALUE "OriginalFilename", "diskpart.rc"
  VALUE "PrivateBuild", ""
  VALUE "ProductName", "Microsoft Corporation Diskpart Application"
  VALUE "ProductVersion", "5.1.3565"
  VALUE "SpecialBuild", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04B0
}
}

1 VERSIONINFO
FILEVERSION 5,1,3565,0
PRODUCTVERSION 5,1,3565,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "080404B0"
{
  VALUE "Comments", ""
  VALUE "CompanyName", "Microsoft Corporation"
  VALUE "FileDescription", "Diskpart Application"
  VALUE "FileVersion", "5.1.3565"
  VALUE "InternalName", "diskpart"
  VALUE "LegalCopyright", "Copyright (C) 2000"
  VALUE "LegalTrademarks", ""
  VALUE "OriginalFilename", "diskpart.rc"
  VALUE "PrivateBuild", ""
  VALUE "ProductName", "Microsoft Corporation Diskpart Application"
  VALUE "ProductVersion", "5.1.3565"
  VALUE "SpecialBuild", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0804 0x04B0
}
}


麻烦了.
回复

使用道具 举报

9#
发表于 2008-1-2 21:25:58 | 只看该作者
(同上)的意思是跟上面一样,也就是(可能还需要别的文件),具体是哪些文件我就没去分析了(留给你去研究了),

services.exe 这个是加载服务或动态驱动的时候需要的,相关的信息他会从注册表中读取。

diskpart大概需要的是那个
Logical Disk Manager
Logical Disk Manager Administrative Service

Logical Disk Manager依赖Plug and Play和Remote Procedure Call(RPC)的那两个
Logical Disk Manager Administrative Service需要上面的三个

也就是说你需要在PE中加入上面的三个服务才行
上面的服务需要的DLL你又要找出来,然后改PE的注册表加载他们……
回复

使用道具 举报

10#
发表于 2008-1-2 21:29:07 | 只看该作者
举个例子
上面的Services.exe
调用了scesrv.dll,而这个DLL又再次调用authz.dll,而a..这个又调用rpcrt4.dll……

这个内部的调用的文件你全部要找出来,并且放到相应位置。
回复

使用道具 举报

11#
 楼主| 发表于 2008-1-3 04:01:00 | 只看该作者
汗,这么连锁,慢慢找。

如果能把他们都找对测试成功的话,能不能加个壳做成一个小的分区软件呢???
回复

使用道具 举报

12#
发表于 2008-1-3 09:53:14 | 只看该作者
还有个更简单的办法,我就先不说了,等你搞好后我再告诉你,呵呵
回复

使用道具 举报

13#
 楼主| 发表于 2008-1-3 15:24:46 | 只看该作者
嗯,好,可现在我先无期限暂停这个问题,因为我硬盘要挂了,正在全力备份数据。
回复

使用道具 举报

14#
发表于 2008-1-3 15:25:28 | 只看该作者
等你能运行起来时估计体积增大几M还不如直接用WINPM
回复

使用道具 举报

15#
 楼主| 发表于 2008-1-3 15:26:35 | 只看该作者
哎,迈拓盒二年保的,才用了三年半多二月就要挂了,郁闷啊!
回复

使用道具 举报

16#
 楼主| 发表于 2008-1-3 15:27:45 | 只看该作者
原帖由 123 于 2008-1-3 03:25 PM 发表
等你能运行起来时估计体积增大几M还不如直接用WINPM



是啊,昨天把小弄给的那几个文件找一下放在一起有近7M,现在我也是这么想的。
回复

使用道具 举报

17#
发表于 2008-1-9 14:51:50 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

18#
发表于 2008-1-10 23:53:25 | 只看该作者
用filemon关注着他的文件调用,他调用什么文件就给他什么文件
不过也有可能不行,可能需要注册表项或其他的什么原因……不知道了
有兴趣就试试把
回复

使用道具 举报

19#
发表于 2008-12-11 22:14:05 | 只看该作者
原帖由 无优处男 于 2008-1-3 09:53 发表
还有个更简单的办法,我就先不说了,等你搞好后我再告诉你,呵呵

想知道有什么更简单的办法
我现在只是保存了vista恢复光盘的那几个文件
回复

使用道具 举报

20#
发表于 2008-12-12 08:22:33 | 只看该作者
Hi jaclaz,

to integrate diskpart.exe in my mini XP isnt an easy task.

You have to add the following files:

diskpart.exe
dmadmin.exe

cabinet.dll
clusapi.dll
dmintf.dll
dmserver.dll
dmutil.dll
ole32.dll
oleaut32.dll
osuninst.dll
setupapi.dll
shlwapi.dll

The Registry needs 3 parts, I tested them, they work.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\dmadmin.exe]
"AppID"="{4FB6BB00-3347-11d0-B40A-00AA005FF586}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{4FB6BB00-3347-11d0-B40A-00AA005FF586}]
@="Logical Disk Manager Administrative Service"
"LocalService"="dmadmin"






Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin]
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,\
00,6d,00,61,00,64,00,6d,00,69,00,6e,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\
63,00,6f,00,6d,00,00,00
"Start"=dword:00000003
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,50,00,6c,00,75,00,\
67,00,50,00,6c,00,61,00,79,00,00,00,44,00,6d,00,53,00,65,00,72,00,76,00,65,\
00,72,00,00,00,00,00
"Type"=dword:00000020
"Description"="Configures hard disk drives and volumes. The service only runs for configuration processes and then stops."
"DisplayName"="Logical Disk Manager Administrative Service"
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="Root\\LEGACY_DMADMIN\\0000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmadmin\Parameters]
"EnableDynamicConversionFor1394"=dword:00000000

"ServiceParameters"="/com"





Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver]
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,50,00,6c,00,75,00,\
67,00,50,00,6c,00,61,00,79,00,00,00,00,00
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"DisplayName"="Logical Disk Manager"
"ErrorControl"=dword:00000001
"Type"=dword:00000020
"Start"=dword:00000002
"ObjectName"="LocalSystem"
"Description"="Detects and monitors new hard disk drives and sends disk volume information to Logical Disk Manager Administrative Service for configuration. If this service is stopped, dynamic disk status and configuration information may become out of date. If this service is disabled, any services that explicitly depend on it will fail to start."

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Enum]
"Count"=dword:00000001
"NextInstance"=dword:00000001
"0"="Root\\LEGACY_DMSERVER\\0000"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,6d,00,73,00,65,00,72,00,76,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,\
00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\dmserver\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,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,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\
23,02,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,14,00,fd,01,02,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,01,01,00,00,00,00,00,05,12,00,00,00


But you have to build a Mini XP to make diskpart work also with

dllhost.exe
lsass.exe
regsvr32.exe
rundll32.exe
services.exe
svchost.exe

and their whole dependencies. This makes my Mini XP larger to 48 MB (uncompressed).
Today I build such a Mini XP by hand, and diskpart.exe works with the 3 registry entries above.

Nice to hear from you
Dietmar
回复

使用道具 举报

21#
发表于 2008-12-12 22:38:30 | 只看该作者
谢谢丢了
期待小马能看到。我比较喜欢他的6.5,只是diskpart运行不起来
我就用vista 32 64的维护光盘来回捣鼓
捣鼓到现在,2003 xp的msdn光盘都无法启动了(拔掉硬盘能启动)
兴致勃勃研究2天,还是开始郁闷了
回复

使用道具 举报

22#
发表于 2010-11-1 23:10:01 | 只看该作者
汗PE运行diskpart.exe 需要48M  超过精简版PE了
回复

使用道具 举报

23#
发表于 2010-11-2 08:46:11 | 只看该作者
现在的骨头版内置,不到1M

20M的骨头版已经包括这个独立组件.
回复

使用道具 举报

24#
发表于 2010-12-7 03:01:39 | 只看该作者

diskpart 需要哪些文件

在微软的 MSDN 里有关于 WinPE 下diskpart 磁盘管理组件服务详细说明、那部分功能需要哪些 dll/sys 等。楼上有人说diskpart 需要 MMC 里的 DISKMGMT.MSC 这是不准确的,DISKMGMT.MSC 就是磁盘管理的一个图形界面,如果你只要命令行的磁盘管理是不需要它的。即 diskpart.exe 执行程序和 COMPMGMT.MSC 是平行关系,但命令行的功能要强大一些。它有像接上新磁盘后重新扫描、获取分配盘符,动态磁盘管理等。使用此实用工具从脚本、远程会话或其他命令提示符处启用存储配置。

[ 本帖最后由 wang755 于 2010-12-7 03:12 编辑 ]
回复

使用道具 举报

25#
发表于 2011-4-18 16:55:41 | 只看该作者
我也一直没搞清楚需要哪些文件,这是困扰我许久了。今天才看到这篇帖子。感谢指点的高人们!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-12-2 13:23

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表