无忧启动论坛

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

[教程] 一分钟内手工制作一个一百多mb的纯64位网络骨头版WIN10pe的最快捷方便的通用教程

    [复制链接]
跳转到指定楼层
1#
发表于 2020-11-24 19:43:30 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 sairen139 于 2020-11-30 15:35 编辑

一分钟内手工制作一个一百多mb的纯64位网络骨头版WIN10pe的最快捷方便的通用教程和批处理
前两天我发表了一篇名为《150m的网络版pe管中窥豹2:一个较为精简的纯X64位网络版win10pe的目录架构和文件清单》的pe制作帖子,今天粗略整理了下来讲述一分钟内怎么快速利用winre.wim来制作完成一百多mb的网络版pe的方法:

步骤一:
用以前的批处理方法使用wimlib导出winre.wim的所有带.的目录文件列表为2List.txt文本清单,批处理bat或者CMD的语句如下:
%~dp0\wimlib dir winre.WIM>1List.txt
type 1List.TXT | find ".">2List.TXT
Pause

步骤二:
用下述批处理(即!一次性删除winre.WIM包导出的2List.txt文本文件里面的不需要的文件.bat)几秒内删去处理好2List.txt生成当前时间名的txt文本备用:
findstr /v "simsun.ttc SortDefault F.3ware.inf F.acpi.inf F.acpidev.inf F.acpipagr.inf F.acpitime.inf F.adp80xx.inf F.amdgpio2.inf F.amdi2c.inf F.amdsata.inf F.amdsbs.inf F.arcsas.inf F.basicdisplay.inf F.basicrender.inf F.battery.inf F.buttonconverter.inf F.c_apo.inf F.c_avc.inf F.c_battery.inf F.c_biometric.inf F.c_cdrom.inf F.c_computeaccelerator.inf F.c_computer.inf F.c_diskdrive.inf F.c_display.inf F.c_extension.inf F.c_firmware.inf F.c_hdc.inf F.c_hidclass.inf F.c_image.inf F.c_keyboard.inf F.c_legacydriver.inf F.c_mcx.inf F.c_media.inf F.c_mediumchanger.inf F.c_memory.inf F.c_modem.inf F.c_monitor.inf F.c_mouse.inf F.c_mtd.inf F.c_multifunction.inf F.c_multiportserial.inf F.c_net.inf F.c_netdriver.inf F.c_netservice.inf F.c_nettrans.inf F.c_ports.inf F.c_processor.inf F.c_proximity.inf F.c_sbp2.inf F.c_scmdisk.inf F.c_scmvolume.inf F.c_scsiadapter.inf F.c_sdhost.inf F.c_smartcard.inf F.c_smartcardfilter.inf F.c_smartcardreader.inf F.c_smrdisk.inf F.c_smrvolume.inf F.c_sslaccel.inf F.c_swcomponent.inf F.c_swdevice.inf F.c_system.inf F.c_ucm.inf F.c_unknown.inf F.c_usb.inf F.c_usbdevice.inf F.c_usbfn.inf F.c_volsnap.inf F.c_volume.inf F.c_wceusbs.inf F.dc21x4vm.inf F.disk.inf F.dwup.inf F.e2xw10x64.inf F.ehstortcgdrv.inf F.errata.inf F.errdev.inf F.genericusbfn.inf F.hal.inf F.halextintclpiodma.inf F.halextpl080.inf F.hdaudbus.inf F.hdaudio.inf F.hdaudss.inf F.hidbatt.inf F.hiddigi.inf F.hidi2c.inf F.hidinterrupt.inf F.hidserv.inf F.hidspi_km.inf F.hidvhf.inf F.hpsamd.inf F.iagpio.inf F.iai2c.inf F.iaLPSS2i_GPIO2_BXT_P.inf F.iaLPSS2i_GPIO2_CNL.inf F.iaLPSS2i_GPIO2_GLK.inf F.iaLPSS2i_GPIO2_SKL.inf F.iaLPSS2i_I2C_BXT_P.inf F.iaLPSS2i_I2C_CNL.inf F.iaLPSS2i_I2C_GLK.inf F.iaLPSS2i_I2C_SKL.inf F.ialpssi_gpio.inf F.ialpssi_i2c.inf F.iastorav.inf F.iastorv.inf F.input.inf F.ipmidrv.inf F.ipoib6x.inf F.iscsi.inf F.ItSas35i.inf F.kdnic.inf F.keyboard.inf F.lltdio.inf F.lsi_sas.inf F.lsi_sas2i.inf F.lsi_sas3i.inf F.lsi_sss.inf F.machine.inf F.mausbhost.inf F.mchgr.inf F.megasas.inf F.megasas2i.inf F.megasas35i.inf F.megasr.inf F.mf.inf F.mlx4_bus.inf F.mshdc.inf F.msmouse.inf F.msports.inf F.mssmbios.inf F.mtconfig.inf F.mvumis.inf F.ndisimplatform.inf F.ndisimplatformmp.inf F.ndisuio.inf F.ndisvirtualbus.inf F.net1ix64.inf F.net1yx64.inf F.net40i68.inf F.net44amd.inf F.net7400-x64-n650.inf F.net7500-x64-n650f.inf F.net7800-x64-n650f.inf F.net9500-x64-n650f.inf F.netax88179_178a.inf F.netax88772.inf F.nete1e3e.inf F.nete1g3e.inf F.netefe3e.inf F.netg664.inf F.netimm.inf F.netip6.inf F.netjme.inf F.netk57a.inf F.netl160a.inf F.netl1e64.inf F.netl260a.inf F.netloop.inf F.netmscli.inf F.netmyk64.inf F.netnb.inf F.netnvma.inf F.netnwifi.inf F.netrasa.inf F.netrass.inf F.netrast.inf F.netrtl64.inf F.netserv.inf F.netsstpa.inf F.nett4x64.inf F.nettcpip.inf F.netvf63a.inf F.netvg63a.inf F.netxex64.inf F.netxix64.inf F.npsvctrig.inf F.nvdimm.inf F.nvraid.inf F.pci.inf F.percsas2i.inf F.percsas3i.inf F.pmem.inf F.puwk.inf F.qd3x64.inf F.ramdisk.inf F.rawsilo.inf F.rdshup.inf F.rspndr.inf F.rt640x64.inf F.rtux64w10.inf F.sbp2.inf F.sceregvl.inf F.scmbus.inf F.scmvolume.inf F.scsidev.inf F.sdbus.inf F.sdstor.inf F.secrecs.inf F.sisraid2.inf F.sisraid4.inf F.SmartSAMD.inf F.smrdisk.inf F.smrvolume.inf F.spaceport.inf F.stexstor.inf F.stornvme.inf F.storufs.inf F.swenum.inf F.uaspstor.inf F.uefi.inf F.ufxchipidea.inf F.ufxsynopsys.inf F.umbus.inf F.umpass.inf F.unknown.inf F.usb.inf F.usbhub3.inf F.usbnet.inf F.usbport.inf F.usbser.inf F.usbstor.inf F.usbxhci.inf F.vdrvroot.inf F.vhdmp.inf F.virtdisk.inf F.volmgr.inf F.volsnap.inf F.volume.inf F.vsmraid.inf F.vstxraid.inf F.wdmaudiocoresystem.inf F.wdmvsc.inf F.whyperkbd.inf F.wmiacpi.inf F.wnetvsc.inf F.wstorflt.inf F.wstorvsc.inf F.wvmbus.inf F.wvmbushid.inf F.wvmbusvideo.inf F.ykinx64.inf L2Schemas aero.msstyles regedit aclui.dll advapi32.dll aepic.dll apisetschema.dll asycfilt.dll atl.dll authz.dll basesrv.dll bcd.dll bcdboot.exe bcdedit.exe 2.*bcrypt.dll bcryptprimitives.dll BFE.DLL BOOTVID.DLL BrokerLib.dll cabinet.dll cdd.dll cfgmgr32.dll ci.dll clb.dll cmd.exe cmdext.dll combase.dll comdlg32.dll coml2.dll conhost.exe console.dll credui.dll 2.*crypt32.dll cryptbase.dll 2.cryptdll.dll 2.cryptsp.dll 2.*cryptsvc.dll csrsrv.dll csrss.exe C_1252.NLS C_437.NLS C_936.NLS d2d1.dll d3d11.dll dab.dll dabapi.dll dbgcore.dll dbghelp.dll devobj.dll devrtl.dll dhcpcore.dll dhcpcore6.dll dhcpcsvc.dll dhcpcsvc6.dll diskpart.exe dllhost.exe dnsapi.dll dnsrslvr.dll 2.dpapi.dll 2.dpapisrv.dll drvinst.exe drvload.exe drvsetup.dll drvstore.dll dsparse.dll dsrole.dll dui70.dll duser.dll dwmapi.dll DWrite.dll dxgi.dll eappprxy.dll EventAggregation.dll feclient.dll find.exe findstr.exe FirewallAPI.dll fltLib.dll fmifs.dll fontdrvhost.exe format.com fsutil.exe fsutilext.dll fveapi.dll fwbase.dll fwpolicyiomgr.dll FWPUCLNT.DLL gdi32.dll gdi32full.dll gpapi.dll hal.dll hhsetup.dll iertutil.dll ifsutil.dll IKEEXT.DLL imagehlp.dll imageres.dll imapi2.dll imm32.dll ipconfig.exe IPHLPAPI.DLL joinutil.dll KBDUS.DLL kd.dll KerbClientShared.dll kerberos.dll kernel.appcore.dll kernel32.dll KernelBase.dll keyiso.dll ksuser.dll ktmw32.dll l2nacp.dll linkinfo.dll lmhsvc.dll 2.locale.nls logoncli.dll lsasrv.dll lsass.exe lsm.dll l_intl.nls mfc42u.dll mpr.dll MPSSVC.dll msasn1.dll msctf.dll msftedit.dll msimg32.dll msports.dll msprivs.dll msv1_0.dll msvcp110_win.dll msvcp_win.dll msvcrt.dll mswsock.dll 2.*msxml 2.*ncrypt.dll ncsi.dll net.exe net1.exe netapi32.dll netbios.dll netcfgx.dll netjoin.dll netlogon.dll netmsg.dll netprovfw.dll NetSetupApi.dll NetSetupEngine.dll NetSetupSvc.dll netshell.dll netutils.dll newdev.dll ninput.dll nlaapi.dll nlasvc.dll normaliz.dll notepad.exe nrpsrv.dll nsi.dll nsisvc.dll 2.ntasn1.dll ntdll.dll ntdsapi.dll ntlanman.dll NtlmShared.dll ntmarta.dll ntoskrnl.exe ole32.dll oleacc.dll oleaccrc.dll oleaut32.dll oledlg.dll OneCoreCommonProxyStub.dll onex.dll osuninst.dll powrprof.dll profapi.dll propsys.dll psapi.dll PSHED.DLL rasadhlp.dll 2.*rasapi32.dll 2.rasman.dll reg.exe regsvr32.exe RpcEpMap.dll rpcrt4.dll RpcRtRemote.dll rpcss.dll 2.rsaenh.dll rundll32.exe samcli.dll samsrv.dll schannel.dll schema.dat sechost.dll secur32.dll services.exe setupapi.dll SHCore.dll shell32.dll shlwapi.dll shutdownux.dll slc.dll SmiEngine.dll smss.exe spfileq.dll 2.spinf.dll sppc.dll srvcli.dll srvsvc.dll sscore.dll sspicli.dll sspisrv.dll stdole2.tlb Storprop.dll svchost.exe sxs.dll sxssrv.dll sysclass.dll sysntfy.dll SystemEventsBrokerServer.dll takeown.exe taskmgr.exe TextShaping.dll ucrtbase.dll uexfat.dll ufat.dll ulib.dll umpdc.dll umpnpmgr.dll umpo.dll unattend.dll untfs.dll urlmon.dll user32.dll userenv.dll usp10.dll UXInit.dll uxtheme.dll vds.exe vdsbas.dll vdsdyn.dll vdsldr.exe vdsutil.dll vdsvd.dll vds_ps.dll version.dll virtdisk.dll webio.dll wevtapi.dll wevtsvc.dll wimgapi.dll wimserv.exe win32k.sys win32kbase.sys win32kfull.sys win32u.dll winbrand.dll Windows.FileExplorer.Common.dll windows.storage.dll CatRoot 2.drivers DriverStore WindowsCodecs.dll winhttp.dll wininet.dll wininit.exe wininitext.dll winlogon.exe winmm.dll winmmbase.dll winnlsres.dll winnsi.dll winpeshl winspool.drv winsrv.dll winsrvext.dll winsta.dll 2.wintrust.dll WinTypes.dll wkscli.dll wkssvc.dll wlanapi.dll wlanhlp.dll wlanmsm.dll wlansec.dll wlansvc.dll wlanutil.dll Wldap32.dll 2.*wldp.dll wmiclnt.dll wpeutil ws2_32.dll wshhyperv.dll wsock32.dll wtsapi32.dll xcopy.exe xmllite.dll Boot.winload.efi driver.stl g.DEFAULT g.DRIVERS g.SAM g.SECURITY g.SOFTWARE g.SYSTEM NetworkList .*_microsoft.windows.c..-controls.resources_.*_zh-cn .*_microsoft.windows.common-controls .*_microsoft.windows.gdiplus_.*_none Manifests.*_microsoft.windows.i..utomation.proxystub Manifests.*_microsoft.windows.isolationautomation Manifests.*_microsoft.windows.systemcompatible" 2List.TXT>"%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%".txt
PAUSE

步骤三:使用excel去掉步骤二里生成当前时间名的txt文本里的某些条目只留下需要的winre.wim里的系统文件列表excel.txt并加以调整。
具体方法就是新建一个excel文件把步骤二生成的当前时间名的txt全选复制粘贴到Sheet页里的B列里然后照着图操作即可【图里的Excel中表格簿Sheet2页操作有个技巧把delete --force --recursive "复制贴入到A1单元格后将鼠标移到A1单元格右下角当鼠标变成➕号形状时,双击鼠标左键就能填充完A列所有行!大家可以细看图上单元簿Sheet2页C1单元格也是按照这个操作技巧操作填充完C列所有行的英文双引号"非常快捷,这样后续处理只要把txt中的任意一个间隔符长带状空白复制出来ctrl+H快捷键替换掉就行】
PS:步骤三也可以用批处理bat来代替在excel里的手动操作,批处理具体方法语句在本页的第5楼,两种方法请选择一种方法就行!

步骤四:
把winre.wim改名成BOOT.WIM,使用wimlib依照excel.txt一次性增删削减BOOT.WIM里的文件就能制作成功一个一百多mb的pe!
批处理命令如下:
%~dp0\wimlib update BOOT.WIM<excel.txt>NUL
%~dp0wimlib optimize BOOT.WIM
pause

如果你已经制作出某个版本的的excel.txt,那么将来你再制作pe时只需要步骤四就成功了,只需费时3秒内就能成功制作一个pe!

经实验后最新更新:前三步骤合一的批处理语句如下:
%~dp0\wimlib dir winre.wim>1List.txt
type 1List.TXT | find ".">2List.TXT
@echo off
set TheStart=delete --force --recursive "
set TheEnd="^
findstr /v "simsun.ttc SortDefault F.3ware.inf F.acpi.inf F.acpidev.inf F.acpipagr.inf F.acpitime.inf F.adp80xx.inf F.amdgpio2.inf F.amdi2c.inf F.amdsata.inf F.amdsbs.inf F.arcsas.inf F.basicdisplay.inf F.basicrender.inf F.battery.inf F.buttonconverter.inf F.c_apo.inf F.c_avc.inf F.c_battery.inf F.c_biometric.inf F.c_cdrom.inf F.c_computeaccelerator.inf F.c_computer.inf F.c_diskdrive.inf F.c_display.inf F.c_extension.inf F.c_firmware.inf F.c_hdc.inf F.c_hidclass.inf F.c_image.inf F.c_keyboard.inf F.c_legacydriver.inf F.c_mcx.inf F.c_media.inf F.c_mediumchanger.inf F.c_memory.inf F.c_modem.inf F.c_monitor.inf F.c_mouse.inf F.c_mtd.inf F.c_multifunction.inf F.c_multiportserial.inf F.c_net.inf F.c_netdriver.inf F.c_netservice.inf F.c_nettrans.inf F.c_ports.inf F.c_processor.inf F.c_proximity.inf F.c_sbp2.inf F.c_scmdisk.inf F.c_scmvolume.inf F.c_scsiadapter.inf F.c_sdhost.inf F.c_smartcard.inf F.c_smartcardfilter.inf F.c_smartcardreader.inf F.c_smrdisk.inf F.c_smrvolume.inf F.c_sslaccel.inf F.c_swcomponent.inf F.c_swdevice.inf F.c_system.inf F.c_ucm.inf F.c_unknown.inf F.c_usb.inf F.c_usbdevice.inf F.c_usbfn.inf F.c_volsnap.inf F.c_volume.inf F.c_wceusbs.inf F.dc21x4vm.inf F.disk.inf F.dwup.inf F.e2xw10x64.inf F.ehstortcgdrv.inf F.errata.inf F.errdev.inf F.genericusbfn.inf F.hal.inf F.halextintclpiodma.inf F.halextpl080.inf F.hdaudbus.inf F.hdaudio.inf F.hdaudss.inf F.hidbatt.inf F.hiddigi.inf F.hidi2c.inf F.hidinterrupt.inf F.hidserv.inf F.hidspi_km.inf F.hidvhf.inf F.hpsamd.inf F.iagpio.inf F.iai2c.inf F.iaLPSS2i_GPIO2_BXT_P.inf F.iaLPSS2i_GPIO2_CNL.inf F.iaLPSS2i_GPIO2_GLK.inf F.iaLPSS2i_GPIO2_SKL.inf F.iaLPSS2i_I2C_BXT_P.inf F.iaLPSS2i_I2C_CNL.inf F.iaLPSS2i_I2C_GLK.inf F.iaLPSS2i_I2C_SKL.inf F.ialpssi_gpio.inf F.ialpssi_i2c.inf F.iastorav.inf F.iastorv.inf F.input.inf F.ipmidrv.inf F.ipoib6x.inf F.iscsi.inf F.ItSas35i.inf F.kdnic.inf F.keyboard.inf F.lltdio.inf F.lsi_sas.inf F.lsi_sas2i.inf F.lsi_sas3i.inf F.lsi_sss.inf F.machine.inf F.mausbhost.inf F.mchgr.inf F.megasas.inf F.megasas2i.inf F.megasas35i.inf F.megasr.inf F.mf.inf F.mlx4_bus.inf F.mshdc.inf F.msmouse.inf F.msports.inf F.mssmbios.inf F.mtconfig.inf F.mvumis.inf F.ndisimplatform.inf F.ndisimplatformmp.inf F.ndisuio.inf F.ndisvirtualbus.inf F.net1ix64.inf F.net1yx64.inf F.net40i68.inf F.net44amd.inf F.net7400-x64-n650.inf F.net7500-x64-n650f.inf F.net7800-x64-n650f.inf F.net9500-x64-n650f.inf F.netax88179_178a.inf F.netax88772.inf F.nete1e3e.inf F.nete1g3e.inf F.netefe3e.inf F.netg664.inf F.netimm.inf F.netip6.inf F.netjme.inf F.netk57a.inf F.netl160a.inf F.netl1e64.inf F.netl260a.inf F.netloop.inf F.netmscli.inf F.netmyk64.inf F.netnb.inf F.netnvma.inf F.netnwifi.inf F.netrasa.inf F.netrass.inf F.netrast.inf F.netrtl64.inf F.netserv.inf F.netsstpa.inf F.nett4x64.inf F.nettcpip.inf F.netvf63a.inf F.netvg63a.inf F.netxex64.inf F.netxix64.inf F.npsvctrig.inf F.nvdimm.inf F.nvraid.inf F.pci.inf F.percsas2i.inf F.percsas3i.inf F.pmem.inf F.puwk.inf F.qd3x64.inf F.ramdisk.inf F.rawsilo.inf F.rdshup.inf F.rspndr.inf F.rt640x64.inf F.rtux64w10.inf F.sbp2.inf F.sceregvl.inf F.scmbus.inf F.scmvolume.inf F.scsidev.inf F.sdbus.inf F.sdstor.inf F.secrecs.inf F.sisraid2.inf F.sisraid4.inf F.SmartSAMD.inf F.smrdisk.inf F.smrvolume.inf F.spaceport.inf F.stexstor.inf F.stornvme.inf F.storufs.inf F.swenum.inf F.uaspstor.inf F.uefi.inf F.ufxchipidea.inf F.ufxsynopsys.inf F.umbus.inf F.umpass.inf F.unknown.inf F.usb.inf F.usbhub3.inf F.usbnet.inf F.usbport.inf F.usbser.inf F.usbstor.inf F.usbxhci.inf F.vdrvroot.inf F.vhdmp.inf F.virtdisk.inf F.volmgr.inf F.volsnap.inf F.volume.inf F.vsmraid.inf F.vstxraid.inf F.wdmaudiocoresystem.inf F.wdmvsc.inf F.whyperkbd.inf F.wmiacpi.inf F.wnetvsc.inf F.wstorflt.inf F.wstorvsc.inf F.wvmbus.inf F.wvmbushid.inf F.wvmbusvideo.inf F.ykinx64.inf L2Schemas aero.msstyles regedit aclui.dll advapi32.dll aepic.dll apisetschema.dll asycfilt.dll atl.dll authz.dll basesrv.dll bcd.dll bcdboot.exe bcdedit.exe 2.*bcrypt.dll bcryptprimitives.dll BFE.DLL BOOTVID.DLL BrokerLib.dll cabinet.dll cdd.dll cfgmgr32.dll ci.dll clb.dll cmd.exe cmdext.dll combase.dll comdlg32.dll coml2.dll conhost.exe console.dll credui.dll 2.*crypt32.dll cryptbase.dll 2.cryptdll.dll 2.cryptsp.dll 2.*cryptsvc.dll csrsrv.dll csrss.exe C_1252.NLS C_437.NLS C_936.NLS d2d1.dll d3d11.dll dab.dll dabapi.dll dbgcore.dll dbghelp.dll devobj.dll devrtl.dll dhcpcore.dll dhcpcore6.dll dhcpcsvc.dll dhcpcsvc6.dll diskpart.exe dllhost.exe dnsapi.dll dnsrslvr.dll 2.dpapi.dll 2.dpapisrv.dll drvinst.exe drvload.exe drvsetup.dll drvstore.dll dsparse.dll dsrole.dll dui70.dll duser.dll dwmapi.dll DWrite.dll dxgi.dll eappprxy.dll EventAggregation.dll feclient.dll find.exe findstr.exe FirewallAPI.dll fltLib.dll fmifs.dll fontdrvhost.exe format.com fsutil.exe fsutilext.dll fveapi.dll fwbase.dll fwpolicyiomgr.dll FWPUCLNT.DLL gdi32.dll gdi32full.dll gpapi.dll hal.dll hhsetup.dll iertutil.dll ifsutil.dll IKEEXT.DLL imagehlp.dll imageres.dll imapi2.dll imm32.dll ipconfig.exe IPHLPAPI.DLL joinutil.dll KBDUS.DLL kd.dll KerbClientShared.dll kerberos.dll kernel.appcore.dll kernel32.dll KernelBase.dll keyiso.dll ksuser.dll ktmw32.dll l2nacp.dll linkinfo.dll lmhsvc.dll 2.locale.nls logoncli.dll lsasrv.dll lsass.exe lsm.dll l_intl.nls mfc42u.dll mpr.dll MPSSVC.dll msasn1.dll msctf.dll msftedit.dll msimg32.dll msports.dll msprivs.dll msv1_0.dll msvcp110_win.dll msvcp_win.dll msvcrt.dll mswsock.dll 2.*msxml 2.*ncrypt.dll ncsi.dll net.exe net1.exe netapi32.dll netbios.dll netcfgx.dll netjoin.dll netlogon.dll netmsg.dll netprovfw.dll NetSetupApi.dll NetSetupEngine.dll NetSetupSvc.dll netshell.dll netutils.dll newdev.dll ninput.dll nlaapi.dll nlasvc.dll normaliz.dll notepad.exe nrpsrv.dll nsi.dll nsisvc.dll 2.ntasn1.dll ntdll.dll ntdsapi.dll ntlanman.dll NtlmShared.dll ntmarta.dll ntoskrnl.exe ole32.dll oleacc.dll oleaccrc.dll oleaut32.dll oledlg.dll OneCoreCommonProxyStub.dll onex.dll osuninst.dll powrprof.dll profapi.dll propsys.dll psapi.dll PSHED.DLL rasadhlp.dll 2.*rasapi32.dll 2.rasman.dll reg.exe regsvr32.exe RpcEpMap.dll rpcrt4.dll RpcRtRemote.dll rpcss.dll 2.rsaenh.dll rundll32.exe samcli.dll samsrv.dll schannel.dll schema.dat sechost.dll secur32.dll services.exe setupapi.dll SHCore.dll shell32.dll shlwapi.dll shutdownux.dll slc.dll SmiEngine.dll smss.exe spfileq.dll 2.spinf.dll sppc.dll srvcli.dll srvsvc.dll sscore.dll sspicli.dll sspisrv.dll stdole2.tlb Storprop.dll svchost.exe sxs.dll sxssrv.dll sysclass.dll sysntfy.dll SystemEventsBrokerServer.dll takeown.exe taskmgr.exe TextShaping.dll ucrtbase.dll uexfat.dll ufat.dll ulib.dll umpdc.dll umpnpmgr.dll umpo.dll unattend.dll untfs.dll urlmon.dll user32.dll userenv.dll usp10.dll UXInit.dll uxtheme.dll vds.exe vdsbas.dll vdsdyn.dll vdsldr.exe vdsutil.dll vdsvd.dll vds_ps.dll version.dll virtdisk.dll webio.dll wevtapi.dll wevtsvc.dll wimgapi.dll wimserv.exe win32k.sys win32kbase.sys win32kfull.sys win32u.dll winbrand.dll Windows.FileExplorer.Common.dll windows.storage.dll CatRoot 2.drivers DriverStore WindowsCodecs.dll winhttp.dll wininet.dll wininit.exe wininitext.dll winlogon.exe winmm.dll winmmbase.dll winnlsres.dll winnsi.dll winpeshl winspool.drv winsrv.dll winsrvext.dll winsta.dll 2.wintrust.dll WinTypes.dll wkscli.dll wkssvc.dll wlanapi.dll wlanhlp.dll wlanmsm.dll wlansec.dll wlansvc.dll wlanutil.dll Wldap32.dll 2.*wldp.dll wmiclnt.dll wpeutil ws2_32.dll wshhyperv.dll wsock32.dll wtsapi32.dll xcopy.exe xmllite.dll winload. driver.stl g.DEFAULT g.DRIVERS g.SAM g.SECURITY g.SOFTWARE g.SYSTEM NetworkList .*_microsoft.windows.c..-controls.resources_.*_zh-cn .*_microsoft.windows.common-controls .*_microsoft.windows.gdiplus_.*_none Manifests.*_microsoft.windows.i..utomation.proxystub Manifests.*_microsoft.windows.isolationautomation Manifests.*_microsoft.windows.systemcompatible" 2List.TXT>"%date:~0,4%%date:~5,2%%date:~8,2%".txt
echo.
echo 正在处理需要删除的路径列表文本文件,请您稍微等待几秒钟。。。(下一行出现请按任意键继续...就表示已经处理完成了!)
(for /f "delims=" %%i in ('type "%date:~0,4%%date:~5,2%%date:~8,2%".txt') do ( echo %TheStart%%%i%TheEnd% ))>excel.txt
PAUSE




最新更新:2020年11月28日感谢由本论坛大神bfgxp改进批处理时间缩短到5秒制作完成网络骨头版的WIN10pe,批处理语句如下:

copy Winre.wim BOOT.WIM /y
@echo off
set /a startS=%time:~6,2%
set /a startM=%time:~3,2%
echo %time%
%~dp0\wimlib dir winre.wim | find ".">1List.TXT
%~dp0\wimlib dir winre.wim --path=windows\winsxs | find ".">winsxsList.TXT
@echo off
findstr /vil "simsun.ttc SortDefault 3ware.inf acpi.inf acpidev.inf acpipagr.inf acpitime.inf adp80xx.inf amdgpio2.inf amdi2c.inf amdsata.inf amdsbs.inf arcsas.inf basicdisplay.inf basicrender.inf battery.inf buttonconverter.inf c_apo.inf c_avc.inf c_battery.inf c_biometric.inf c_cdrom.inf c_computeaccelerator.inf c_computer.inf c_diskdrive.inf c_display.inf c_extension.inf c_firmware.inf c_hdc.inf c_hidclass.inf c_image.inf c_keyboard.inf c_legacydriver.inf c_mcx.inf c_media.inf c_mediumchanger.inf c_memory.inf c_modem.inf c_monitor.inf c_mouse.inf c_mtd.inf c_multifunction.inf c_multiportserial.inf c_net.inf c_netdriver.inf c_netservice.inf c_nettrans.inf c_ports.inf c_processor.inf c_proximity.inf c_sbp2.inf c_scmdisk.inf c_scmvolume.inf c_scsiadapter.inf c_sdhost.inf c_smartcard.inf c_smartcardfilter.inf c_smartcardreader.inf c_smrdisk.inf c_smrvolume.inf c_sslaccel.inf c_swcomponent.inf c_swdevice.inf c_system.inf c_ucm.inf c_unknown.inf c_usb.inf c_usbdevice.inf c_usbfn.inf c_volsnap.inf c_volume.inf c_wceusbs.inf dc21x4vm.inf disk.inf dwup.inf e2xw10x64.inf ehstortcgdrv.inf errata.inf errdev.inf genericusbfn.inf hal.inf halextintclpiodma.inf halextpl080.inf hdaudbus.inf hdaudio.inf hdaudss.inf hidbatt.inf hiddigi.inf hidi2c.inf hidinterrupt.inf hidserv.inf hidspi_km.inf hidvhf.inf hpsamd.inf iagpio.inf iai2c.inf iaLPSS2i_GPIO2_BXT_P.inf iaLPSS2i_GPIO2_CNL.inf iaLPSS2i_GPIO2_GLK.inf iaLPSS2i_GPIO2_SKL.inf iaLPSS2i_I2C_BXT_P.inf iaLPSS2i_I2C_CNL.inf iaLPSS2i_I2C_GLK.inf iaLPSS2i_I2C_SKL.inf ialpssi_gpio.inf ialpssi_i2c.inf iastorav.inf iastorv.inf input.inf ipmidrv.inf ipoib6x.inf iscsi.inf ItSas35i.inf kdnic.inf keyboard.inf lltdio.inf lsi_sas.inf lsi_sas2i.inf lsi_sas3i.inf lsi_sss.inf machine.inf mausbhost.inf mchgr.inf megasas.inf megasas2i.inf megasas35i.inf megasr.inf mf.inf mlx4_bus.inf mshdc.inf msmouse.inf msports.inf mssmbios.inf mtconfig.inf mvumis.inf ndisimplatform.inf ndisimplatformmp.inf ndisuio.inf ndisvirtualbus.inf net1ix64.inf net1yx64.inf net40i68.inf net44amd.inf net7400-x64-n650.inf net7500-x64-n650f.inf net7800-x64-n650f.inf net9500-x64-n650f.inf netax88179_178a.inf netax88772.inf nete1e3e.inf nete1g3e.inf netefe3e.inf netg664.inf netimm.inf netip6.inf netjme.inf netk57a.inf netl160a.inf netl1e64.inf netl260a.inf netloop.inf netmscli.inf netmyk64.inf netnb.inf netnvma.inf netnwifi.inf netrasa.inf netrass.inf netrast.inf netrtl64.inf netserv.inf netsstpa.inf nett4x64.inf nettcpip.inf netvf63a.inf netvg63a.inf netxex64.inf netxix64.inf npsvctrig.inf nvdimm.inf nvraid.inf pci.inf percsas2i.inf percsas3i.inf pmem.inf puwk.inf qd3x64.inf ramdisk.inf rawsilo.inf rdshup.inf rspndr.inf rt640x64.inf rtux64w10.inf sbp2.inf sceregvl.inf scmbus.inf scmvolume.inf scsidev.inf sdbus.inf sdstor.inf secrecs.inf sisraid2.inf sisraid4.inf SmartSAMD.inf smrdisk.inf smrvolume.inf spaceport.inf stexstor.inf stornvme.inf storufs.inf swenum.inf uaspstor.inf uefi.inf ufxchipidea.inf ufxsynopsys.inf umbus.inf umpass.inf unknown.inf usb.inf usbhub3.inf usbnet.inf usbport.inf usbser.inf usbstor.inf usbxhci.inf vdrvroot.inf vhdmp.inf virtdisk.inf volmgr.inf volsnap.inf volume.inf vsmraid.inf vstxraid.inf wdmaudiocoresystem.inf wdmvsc.inf whyperkbd.inf wmiacpi.inf wnetvsc.inf wstorflt.inf wstorvsc.inf wvmbus.inf wvmbushid.inf wvmbusvideo.inf ykinx64.inf L2Schemas aero.msstyles regedit aclui.dll advapi32.dll aepic.dll apisetschema.dll asycfilt.dll atl.dll authz.dll basesrv.dll bcd.dll bcdboot.exe bcdedit.exe bcryptprimitives.dll BFE.DLL BOOTVID.DLL BrokerLib.dll cabinet.dll cdd.dll cfgmgr32.dll ci.dll clb.dll cmd.exe cmdext.dll combase.dll comdlg32.dll coml2.dll conhost.exe console.dll credui.dll cryptbase.dll cryptdll.dll cryptsp.dll bcrypt.dll crypt32.dll cryptsvc.dll msxml ncrypt.dll rasapi32.dll wldp.dll csrsrv.dll csrss.exe C_1252.NLS C_437.NLS C_936.NLS d2d1.dll d3d11.dll dab.dll dabapi.dll dbgcore.dll dbghelp.dll devobj.dll devrtl.dll dhcpcore.dll dhcpcore6.dll dhcpcsvc.dll dhcpcsvc6.dll diskpart.exe dllhost.exe dnsapi.dll dnsrslvr.dll dpapi.dll dpapisrv.dll drvinst.exe drvload.exe drvsetup.dll drvstore.dll dsparse.dll dsrole.dll dui70.dll duser.dll dwmapi.dll DWrite.dll dxgi.dll eappprxy.dll EventAggregation.dll feclient.dll find.exe findstr.exe FirewallAPI.dll fltLib.dll fmifs.dll fontdrvhost.exe format.com fsutil.exe fsutilext.dll fveapi.dll fwbase.dll fwpolicyiomgr.dll FWPUCLNT.DLL gdi32.dll gdi32full.dll gpapi.dll hal.dll hhsetup.dll iertutil.dll ifsutil.dll IKEEXT.DLL imagehlp.dll imageres.dll imapi2.dll imm32.dll ipconfig.exe IPHLPAPI.DLL joinutil.dll KBDUS.DLL kd.dll KerbClientShared.dll kerberos.dll kernel.appcore.dll kernel32.dll KernelBase.dll keyiso.dll ksuser.dll ktmw32.dll l2nacp.dll linkinfo.dll lmhsvc.dll locale.nls logoncli.dll lsasrv.dll lsass.exe lsm.dll l_intl.nls mfc42u.dll mpr.dll MPSSVC.dll msasn1.dll msctf.dll msftedit.dll msimg32.dll msports.dll msprivs.dll msv1_0.dll msvcp110_win.dll msvcp_win.dll msvcrt.dll mswsock.dll ncsi.dll net.exe net1.exe netapi32.dll netbios.dll netcfgx.dll netjoin.dll netlogon.dll netmsg.dll netprovfw.dll NetSetupApi.dll NetSetupEngine.dll NetSetupSvc.dll netshell.dll netutils.dll newdev.dll ninput.dll nlaapi.dll nlasvc.dll normaliz.dll notepad.exe nrpsrv.dll nsi.dll nsisvc.dll ntasn1.dll ntdll.dll ntdsapi.dll ntlanman.dll NtlmShared.dll ntmarta.dll ntoskrnl.exe ole32.dll oleacc.dll oleaccrc.dll oleaut32.dll oledlg.dll OneCoreCommonProxyStub.dll onex.dll osuninst.dll powrprof.dll profapi.dll propsys.dll psapi.dll PSHED.DLL rasadhlp.dll rasman.dll reg.exe regsvr32.exe RpcEpMap.dll rpcrt4.dll RpcRtRemote.dll rpcss.dll rsaenh.dll rundll32.exe samcli.dll samsrv.dll schannel.dll schema.dat sechost.dll secur32.dll services.exe setupapi.dll SHCore.dll shell32.dll shlwapi.dll shutdownux.dll slc.dll SmiEngine.dll smss.exe spfileq.dll spinf.dll sppc.dll srvcli.dll srvsvc.dll sscore.dll sspicli.dll sspisrv.dll stdole2.tlb Storprop.dll svchost.exe sxs.dll sxssrv.dll sysclass.dll sysntfy.dll SystemEventsBrokerServer.dll takeown.exe taskmgr.exe TextShaping.dll ucrtbase.dll uexfat.dll ufat.dll ulib.dll umpdc.dll umpnpmgr.dll umpo.dll unattend.dll untfs.dll urlmon.dll user32.dll userenv.dll usp10.dll UXInit.dll uxtheme.dll vds.exe vdsbas.dll vdsdyn.dll vdsldr.exe vdsutil.dll vdsvd.dll vds_ps.dll version.dll virtdisk.dll webio.dll wevtapi.dll wevtsvc.dll wimgapi.dll wimserv.exe win32k.sys win32kbase.sys win32kfull.sys win32u.dll winbrand.dll Windows.FileExplorer.Common.dll windows.storage.dll CatRoot 2\drivers DriverStore WindowsCodecs.dll winhttp.dll wininet.dll wininit.exe wininitext.dll winlogon.exe winmm.dll winmmbase.dll winnlsres.dll winnsi.dll winpeshl winspool.drv winsrv.dll winsrvext.dll winsta.dll wintrust.dll WinTypes.dll wkscli.dll wkssvc.dll wlanapi.dll wlanhlp.dll wlanmsm.dll wlansec.dll wlansvc.dll wlanutil.dll Wldap32.dll wmiclnt.dll wpeutil ws2_32.dll wshhyperv.dll wsock32.dll wtsapi32.dll xcopy.exe xmllite.dll winload driver.stl winsxs" 1list.txt>2list.txt
findstr /v ".*_microsoft.windows.c..-controls.resources_.*_zh-cn .*_microsoft.windows.common-controls .*_microsoft.windows.gdiplus_.*_none Manifests.*_microsoft.windows.i..utomation.proxystub Manifests.*_microsoft.windows.isolationautomation Manifests.*_microsoft.windows.systemcompatible" winsxsList.TXT>>2list.txt
echo.
echo 正在增删削减winre.wim包里的文件制作pe过程中,请您稍微等待。。。
del excel.txt /f /q
for /f "delims=" %%i in (2list.txt) do (
        echo delete --force --recursive "%%i">>excel.txt
    )
%~dp0wimlib update BOOT.WIM<excel.txt>NUL
%~dp0wimlib update BOOT.WIM<add2wim\add2wim.txt>NUL
%~dp0wimlib optimize BOOT.WIM

set /a endS=%time:~6,2%
set /a endM=%time:~3,2%
echo %time%
set /a diffS_=%endS%-%startS%
set /a diffM_=%endM%-%startM%
echo cost:%diffM_% %diffS_%
echo.
echo 感谢您的等待,现在PE已经制作完成,BOOT.WIM就是你的网络骨头版pe成品!
echo 感谢您的等待,现在PE已经制作完成,BOOT.WIM就是你的网络骨头版pe成品!
echo 感谢您的等待,现在PE已经制作完成,BOOT.WIM就是你的网络骨头版pe成品!
echo.
PAUSE













38EBD814-DB51-4BFA-90CF-060F73B19EC1.jpeg (1.22 MB, 下载次数: 138)

38EBD814-DB51-4BFA-90CF-060F73B19EC1.jpeg

E2FB24E8-C992-4CD1-B7E6-364CF9886F60.jpeg (1.83 MB, 下载次数: 135)

E2FB24E8-C992-4CD1-B7E6-364CF9886F60.jpeg

DC3D34E1-DCFA-4627-B64E-BC75714A8018.jpeg (1.75 MB, 下载次数: 173)

DC3D34E1-DCFA-4627-B64E-BC75714A8018.jpeg

CFD4F53E-AF21-4113-AA95-F2EB54CDA54F.jpeg (1.22 MB, 下载次数: 138)

CFD4F53E-AF21-4113-AA95-F2EB54CDA54F.jpeg

3A6F1BD9-D91F-40EF-A30E-6A6D2F68ADAD.jpeg (1.31 MB, 下载次数: 135)

3A6F1BD9-D91F-40EF-A30E-6A6D2F68ADAD.jpeg

步骤2之!!一次性删除winre.WIM包导出的2List.txt文本文件里面的不需要的文件.bat.TXT

7.7 KB, 下载次数: 69, 下载积分: 无忧币 -2

excel.txt

1.73 MB, 下载次数: 79, 下载积分: 无忧币 -2

!!!!一分钟内手工制作完成网络版pe的批处理和四大步骤.zip.003.ZIP

40.42 KB, 下载次数: 158, 下载积分: 无忧币 -2

!!!!一分钟内手工制作完成网络版pe的批处理和四大步骤.zip.002.ZIP

2 MB, 下载次数: 324, 下载积分: 无忧币 -2

!!!!一分钟内手工制作完成网络版pe的批处理和四大步骤.zip.001.ZIP

2 MB, 下载次数: 175, 下载积分: 无忧币 -2

!一键批处理制作网络版pe前三步骤合一的批处理语句.bat.TXT

8.04 KB, 下载次数: 42, 下载积分: 无忧币 -2

评分

参与人数 8无忧币 +40 收起 理由
泮安宁 + 5 很给力!
cchessbd + 5 一键式操作见2楼附件吧,感谢楼主的辛勤付.
ferdfg + 5 赞一个!
wuxin9712 + 5
freesoft00 + 5
新空气 + 5 很给力!
echo88 + 5 赞一个!
fulibo + 5 很给力!

查看全部评分

2#
发表于 2020-11-24 20:00:28 | 只看该作者
本帖最后由 cchessbd 于 2020-11-25 15:02 编辑

好好好,值得研究一下。成品见 http://bbs.wuyou.net/forum.php?m ... &extra=page%3D1

点评

推荐大家用这个cchessbd的坛友改进的批处理,cchessbd的批处理比我的更集约化、也更简单方便!  详情 回复 发表于 2020-11-25 16:45
一般在原版系统install.wim里面的system32文件夹下的Recovery文件夹里。另外如果你的系统是用的微软原版安装的那么winre.wim可以直接找到。 查找步骤如下:   1、打开计算机;   2、打开C盘;   3、打开Re  详情 回复 发表于 2020-11-24 20:09
不包含pecmd,只包含本论坛Slore大神发布的WinXShell  详情 回复 发表于 2020-11-24 20:03
回复

使用道具 举报

3#
 楼主| 发表于 2020-11-24 20:03:01 | 只看该作者
cchessbd 发表于 2020-11-24 20:00
高手,可以发个成品的吗,不知道哪里有winre.wim。。。
pecmd也包含了吗

不包含pecmd,只包含本论坛Slore大神发布的WinXShell
回复

使用道具 举报

4#
 楼主| 发表于 2020-11-24 20:03:14 | 只看该作者
本帖最后由 sairen139 于 2020-11-26 13:10 编辑

前三步骤合一的批处理语句如下:
%~dp0\wimlib dir winre.wim>1List.txt
type 1List.TXT | find ".">2List.TXT
@echo off
set TheStart=delete --force --recursive "
set TheEnd="^
findstr /v "simsun.ttc SortDefault F.3ware.inf F.acpi.inf F.acpidev.inf F.acpipagr.inf F.acpitime.inf F.adp80xx.inf F.amdgpio2.inf F.amdi2c.inf F.amdsata.inf F.amdsbs.inf F.arcsas.inf F.basicdisplay.inf F.basicrender.inf F.battery.inf F.buttonconverter.inf F.c_apo.inf F.c_avc.inf F.c_battery.inf F.c_biometric.inf F.c_cdrom.inf F.c_computeaccelerator.inf F.c_computer.inf F.c_diskdrive.inf F.c_display.inf F.c_extension.inf F.c_firmware.inf F.c_hdc.inf F.c_hidclass.inf F.c_image.inf F.c_keyboard.inf F.c_legacydriver.inf F.c_mcx.inf F.c_media.inf F.c_mediumchanger.inf F.c_memory.inf F.c_modem.inf F.c_monitor.inf F.c_mouse.inf F.c_mtd.inf F.c_multifunction.inf F.c_multiportserial.inf F.c_net.inf F.c_netdriver.inf F.c_netservice.inf F.c_nettrans.inf F.c_ports.inf F.c_processor.inf F.c_proximity.inf F.c_sbp2.inf F.c_scmdisk.inf F.c_scmvolume.inf F.c_scsiadapter.inf F.c_sdhost.inf F.c_smartcard.inf F.c_smartcardfilter.inf F.c_smartcardreader.inf F.c_smrdisk.inf F.c_smrvolume.inf F.c_sslaccel.inf F.c_swcomponent.inf F.c_swdevice.inf F.c_system.inf F.c_ucm.inf F.c_unknown.inf F.c_usb.inf F.c_usbdevice.inf F.c_usbfn.inf F.c_volsnap.inf F.c_volume.inf F.c_wceusbs.inf F.dc21x4vm.inf F.disk.inf F.dwup.inf F.e2xw10x64.inf F.ehstortcgdrv.inf F.errata.inf F.errdev.inf F.genericusbfn.inf F.hal.inf F.halextintclpiodma.inf F.halextpl080.inf F.hdaudbus.inf F.hdaudio.inf F.hdaudss.inf F.hidbatt.inf F.hiddigi.inf F.hidi2c.inf F.hidinterrupt.inf F.hidserv.inf F.hidspi_km.inf F.hidvhf.inf F.hpsamd.inf F.iagpio.inf F.iai2c.inf F.iaLPSS2i_GPIO2_BXT_P.inf F.iaLPSS2i_GPIO2_CNL.inf F.iaLPSS2i_GPIO2_GLK.inf F.iaLPSS2i_GPIO2_SKL.inf F.iaLPSS2i_I2C_BXT_P.inf F.iaLPSS2i_I2C_CNL.inf F.iaLPSS2i_I2C_GLK.inf F.iaLPSS2i_I2C_SKL.inf F.ialpssi_gpio.inf F.ialpssi_i2c.inf F.iastorav.inf F.iastorv.inf F.input.inf F.ipmidrv.inf F.ipoib6x.inf F.iscsi.inf F.ItSas35i.inf F.kdnic.inf F.keyboard.inf F.lltdio.inf F.lsi_sas.inf F.lsi_sas2i.inf F.lsi_sas3i.inf F.lsi_sss.inf F.machine.inf F.mausbhost.inf F.mchgr.inf F.megasas.inf F.megasas2i.inf F.megasas35i.inf F.megasr.inf F.mf.inf F.mlx4_bus.inf F.mshdc.inf F.msmouse.inf F.msports.inf F.mssmbios.inf F.mtconfig.inf F.mvumis.inf F.ndisimplatform.inf F.ndisimplatformmp.inf F.ndisuio.inf F.ndisvirtualbus.inf F.net1ix64.inf F.net1yx64.inf F.net40i68.inf F.net44amd.inf F.net7400-x64-n650.inf F.net7500-x64-n650f.inf F.net7800-x64-n650f.inf F.net9500-x64-n650f.inf F.netax88179_178a.inf F.netax88772.inf F.nete1e3e.inf F.nete1g3e.inf F.netefe3e.inf F.netg664.inf F.netimm.inf F.netip6.inf F.netjme.inf F.netk57a.inf F.netl160a.inf F.netl1e64.inf F.netl260a.inf F.netloop.inf F.netmscli.inf F.netmyk64.inf F.netnb.inf F.netnvma.inf F.netnwifi.inf F.netrasa.inf F.netrass.inf F.netrast.inf F.netrtl64.inf F.netserv.inf F.netsstpa.inf F.nett4x64.inf F.nettcpip.inf F.netvf63a.inf F.netvg63a.inf F.netxex64.inf F.netxix64.inf F.npsvctrig.inf F.nvdimm.inf F.nvraid.inf F.pci.inf F.percsas2i.inf F.percsas3i.inf F.pmem.inf F.puwk.inf F.qd3x64.inf F.ramdisk.inf F.rawsilo.inf F.rdshup.inf F.rspndr.inf F.rt640x64.inf F.rtux64w10.inf F.sbp2.inf F.sceregvl.inf F.scmbus.inf F.scmvolume.inf F.scsidev.inf F.sdbus.inf F.sdstor.inf F.secrecs.inf F.sisraid2.inf F.sisraid4.inf F.SmartSAMD.inf F.smrdisk.inf F.smrvolume.inf F.spaceport.inf F.stexstor.inf F.stornvme.inf F.storufs.inf F.swenum.inf F.uaspstor.inf F.uefi.inf F.ufxchipidea.inf F.ufxsynopsys.inf F.umbus.inf F.umpass.inf F.unknown.inf F.usb.inf F.usbhub3.inf F.usbnet.inf F.usbport.inf F.usbser.inf F.usbstor.inf F.usbxhci.inf F.vdrvroot.inf F.vhdmp.inf F.virtdisk.inf F.volmgr.inf F.volsnap.inf F.volume.inf F.vsmraid.inf F.vstxraid.inf F.wdmaudiocoresystem.inf F.wdmvsc.inf F.whyperkbd.inf F.wmiacpi.inf F.wnetvsc.inf F.wstorflt.inf F.wstorvsc.inf F.wvmbus.inf F.wvmbushid.inf F.wvmbusvideo.inf F.ykinx64.inf L2Schemas aero.msstyles regedit aclui.dll advapi32.dll aepic.dll apisetschema.dll asycfilt.dll atl.dll authz.dll basesrv.dll bcd.dll bcdboot.exe bcdedit.exe 2.*bcrypt.dll bcryptprimitives.dll BFE.DLL BOOTVID.DLL BrokerLib.dll cabinet.dll cdd.dll cfgmgr32.dll ci.dll clb.dll cmd.exe cmdext.dll combase.dll comdlg32.dll coml2.dll conhost.exe console.dll credui.dll 2.*crypt32.dll cryptbase.dll 2.cryptdll.dll 2.cryptsp.dll 2.*cryptsvc.dll csrsrv.dll csrss.exe C_1252.NLS C_437.NLS C_936.NLS d2d1.dll d3d11.dll dab.dll dabapi.dll dbgcore.dll dbghelp.dll devobj.dll devrtl.dll dhcpcore.dll dhcpcore6.dll dhcpcsvc.dll dhcpcsvc6.dll diskpart.exe dllhost.exe dnsapi.dll dnsrslvr.dll 2.dpapi.dll 2.dpapisrv.dll drvinst.exe drvload.exe drvsetup.dll drvstore.dll dsparse.dll dsrole.dll dui70.dll duser.dll dwmapi.dll DWrite.dll dxgi.dll eappprxy.dll EventAggregation.dll feclient.dll find.exe findstr.exe FirewallAPI.dll fltLib.dll fmifs.dll fontdrvhost.exe format.com fsutil.exe fsutilext.dll fveapi.dll fwbase.dll fwpolicyiomgr.dll FWPUCLNT.DLL gdi32.dll gdi32full.dll gpapi.dll hal.dll hhsetup.dll iertutil.dll ifsutil.dll IKEEXT.DLL imagehlp.dll imageres.dll imapi2.dll imm32.dll ipconfig.exe IPHLPAPI.DLL joinutil.dll KBDUS.DLL kd.dll KerbClientShared.dll kerberos.dll kernel.appcore.dll kernel32.dll KernelBase.dll keyiso.dll ksuser.dll ktmw32.dll l2nacp.dll linkinfo.dll lmhsvc.dll 2.locale.nls logoncli.dll lsasrv.dll lsass.exe lsm.dll l_intl.nls mfc42u.dll mpr.dll MPSSVC.dll msasn1.dll msctf.dll msftedit.dll msimg32.dll msports.dll msprivs.dll msv1_0.dll msvcp110_win.dll msvcp_win.dll msvcrt.dll mswsock.dll 2.*msxml 2.*ncrypt.dll ncsi.dll net.exe net1.exe netapi32.dll netbios.dll netcfgx.dll netjoin.dll netlogon.dll netmsg.dll netprovfw.dll NetSetupApi.dll NetSetupEngine.dll NetSetupSvc.dll netshell.dll netutils.dll newdev.dll ninput.dll nlaapi.dll nlasvc.dll normaliz.dll notepad.exe nrpsrv.dll nsi.dll nsisvc.dll 2.ntasn1.dll ntdll.dll ntdsapi.dll ntlanman.dll NtlmShared.dll ntmarta.dll ntoskrnl.exe ole32.dll oleacc.dll oleaccrc.dll oleaut32.dll oledlg.dll OneCoreCommonProxyStub.dll onex.dll osuninst.dll powrprof.dll profapi.dll propsys.dll psapi.dll PSHED.DLL rasadhlp.dll 2.*rasapi32.dll 2.rasman.dll reg.exe regsvr32.exe RpcEpMap.dll rpcrt4.dll RpcRtRemote.dll rpcss.dll 2.rsaenh.dll rundll32.exe samcli.dll samsrv.dll schannel.dll schema.dat sechost.dll secur32.dll services.exe setupapi.dll SHCore.dll shell32.dll shlwapi.dll shutdownux.dll slc.dll SmiEngine.dll smss.exe spfileq.dll 2.spinf.dll sppc.dll srvcli.dll srvsvc.dll sscore.dll sspicli.dll sspisrv.dll stdole2.tlb Storprop.dll svchost.exe sxs.dll sxssrv.dll sysclass.dll sysntfy.dll SystemEventsBrokerServer.dll takeown.exe taskmgr.exe TextShaping.dll ucrtbase.dll uexfat.dll ufat.dll ulib.dll umpdc.dll umpnpmgr.dll umpo.dll unattend.dll untfs.dll urlmon.dll user32.dll userenv.dll usp10.dll UXInit.dll uxtheme.dll vds.exe vdsbas.dll vdsdyn.dll vdsldr.exe vdsutil.dll vdsvd.dll vds_ps.dll version.dll virtdisk.dll webio.dll wevtapi.dll wevtsvc.dll wimgapi.dll wimserv.exe win32k.sys win32kbase.sys win32kfull.sys win32u.dll winbrand.dll Windows.FileExplorer.Common.dll windows.storage.dll CatRoot 2.drivers DriverStore WindowsCodecs.dll winhttp.dll wininet.dll wininit.exe wininitext.dll winlogon.exe winmm.dll winmmbase.dll winnlsres.dll winnsi.dll winpeshl winspool.drv winsrv.dll winsrvext.dll winsta.dll 2.wintrust.dll WinTypes.dll wkscli.dll wkssvc.dll wlanapi.dll wlanhlp.dll wlanmsm.dll wlansec.dll wlansvc.dll wlanutil.dll Wldap32.dll 2.*wldp.dll wmiclnt.dll wpeutil ws2_32.dll wshhyperv.dll wsock32.dll wtsapi32.dll xcopy.exe xmllite.dll winload. driver.stl g.DEFAULT g.DRIVERS g.SAM g.SECURITY g.SOFTWARE g.SYSTEM NetworkList .*_microsoft.windows.c..-controls.resources_.*_zh-cn .*_microsoft.windows.common-controls .*_microsoft.windows.gdiplus_.*_none Manifests.*_microsoft.windows.i..utomation.proxystub Manifests.*_microsoft.windows.isolationautomation Manifests.*_microsoft.windows.systemcompatible" 2List.TXT>"%date:~0,4%%date:~5,2%%date:~8,2%".txt
echo.
echo 正在处理需要删除的路径列表文本文件,请您稍微等待几秒钟。。。(下一行出现请按任意键继续...就表示已经处理完成了!)
(for /f "delims=" %%i in ('type "%date:~0,4%%date:~5,2%%date:~8,2%".txt') do ( echo %TheStart%%%i%TheEnd% ))>excel.txt
PAUSE


剖析pe的启动原理:用压缩软件7zip打开winre.wim包里的Windows文件夹下system32文件夹里可发现有个winpeshl.ini文件,这个文件定义了pe启动时会开启什么程序。如果没有这个winpeshl.ini的话pe会自动进入下一步开启一个start.cmd的黑色命令窗,也就是我们通俗意义上说没有UI界面的CMDpe。所以只要pe的BOOT.WIM在Windows文件夹下System32文件夹里面有个winpeshl.ini,这个winpeshl.ini里面有下面的内容就能进winxshell壳的UI界面的正常pe桌面了!
winpeshl.ini的内容如下:
[LaunchApps]
%ProgramFiles%\WinXShell.exe -winpe

回复

使用道具 举报

5#
 楼主| 发表于 2020-11-24 20:03:28 | 只看该作者
本帖最后由 sairen139 于 2020-11-25 13:32 编辑

批处理在文本txt头尾加字符代替步骤三批处理语句如下:
@echo off
set TheStart=delete --force --recursive "
set TheEnd="^
(for /f "delims=" %%i in ('type 1.txt') do ( echo %TheStart%%%i%TheEnd% ))>2.txt

点评

更新:前三步骤合一的批处理语句如下: %~dp0\wimlib dir winre.wim>1List.txt type 1List.TXT | find ".">2List.TXT @echo off set TheStart=delete --force --recursive " set TheEnd="^ findstr /v "simsun  详情 回复 发表于 2020-11-26 12:49
回复

使用道具 举报

6#
 楼主| 发表于 2020-11-24 20:09:27 | 只看该作者
cchessbd 发表于 2020-11-24 20:00
高手,可以发个成品的吗,不知道哪里有winre.wim。。。
pecmd也包含了吗

一般在原版系统install.wim里面的system32文件夹下的Recovery文件夹里。另外如果你的系统是用的微软原版安装的那么winre.wim可以直接找到。
查找步骤如下:
  1、打开计算机;
  2、打开C盘;
  3、打开Recovery文件夹,如果未找到该文件夹,点击组织菜单下文件夹和搜索选项命令;
  4、弹出对话框点击查看选项卡,点击显示隐藏的文件、文件夹和驱动器,点击去除勾选隐藏受保护的操作系统文件,点击确定;就能发现里面有winre.wim了。

回复

使用道具 举报

7#
发表于 2020-11-24 22:13:31 | 只看该作者
本帖最后由 echo88 于 2020-11-24 22:16 编辑

按照楼主的方法,采用Win10_20H2_x64中提取的winre.wim制作成功,167M!
感谢楼主分享制作方法。
楼主的步骤二中漏掉了 winload.exe,手动补充后可以正常启动了!

点评

哈哈哈哈,用我的方法成功了就好。因为我的几台电脑都是纯uefi的苹果电脑,所以习惯性的没有保留winload.exe  详情 回复 发表于 2020-11-24 22:35
回复

使用道具 举报

8#
 楼主| 发表于 2020-11-24 22:35:08 | 只看该作者
echo88 发表于 2020-11-24 22:13
按照楼主的方法,采用Win10_20H2_x64中提取的winre.wim制作成功,167M!
感谢楼主分享制作方法。
楼主的步 ...

哈哈哈哈,用我的方法成功了就好。因为我的几台电脑都是纯uefi的苹果电脑,所以习惯性的没有保留winload.exe
回复

使用道具 举报

9#
发表于 2020-11-24 23:04:39 | 只看该作者
厉害了我的锅
回复

使用道具 举报

10#
发表于 2020-11-25 00:25:09 来自手机 | 只看该作者
支持一下
回复

使用道具 举报

11#
发表于 2020-11-25 00:33:30 | 只看该作者
感谢分享!
回复

使用道具 举报

12#
发表于 2020-11-25 06:34:39 | 只看该作者
纯干货,支持一下
回复

使用道具 举报

13#
发表于 2020-11-25 08:05:47 | 只看该作者
感谢分享
回复

使用道具 举报

14#
发表于 2020-11-25 08:17:50 | 只看该作者
好东西 !!!!
回复

使用道具 举报

15#
发表于 2020-11-25 08:31:22 | 只看该作者
支持楼主,前几天用excel比对,头有点晕。今天楼主再整理后,似乎简单了些。

点评

现在非常简单了,步骤一点击批处理,步骤二点击批处理,步骤三把步骤二生成的带时间的txt内容复制到一个excel里过度处理一下然后复制粘贴到excel.txt的前面,最后步骤四也是运行批处理就完工了。只要BOOT.WIM里windo  详情 回复 发表于 2020-11-25 08:59
回复

使用道具 举报

16#
发表于 2020-11-25 08:57:06 | 只看该作者
一分钟内手工制作一个一百多mb的纯64位网络骨头版WIN10pe的最快捷方便的通用教程
回复

使用道具 举报

17#
 楼主| 发表于 2020-11-25 08:59:24 | 只看该作者
bfgxp 发表于 2020-11-25 08:31
支持楼主,前几天用excel比对,头有点晕。今天楼主再整理后,似乎简单了些。

现在非常简单了,步骤一点击批处理,步骤二点击批处理,步骤三把步骤二生成的带时间的txt内容复制到一个excel里过度处理一下然后复制粘贴到excel.txt的前面,最后步骤四也是运行批处理就完工了。只要BOOT.WIM里windows文件下system32
文件夹里有winpeshl.ini内容如下即可:
[LaunchApps]
%ProgramFiles%\WinXShell.exe -winpe
回复

使用道具 举报

18#
发表于 2020-11-25 09:07:04 来自手机 | 只看该作者
牛逼!文成武德,一统江湖!
回复

使用道具 举报

19#
发表于 2020-11-25 10:51:47 | 只看该作者
测试了,findstr最好加上 /i 参数,过滤字段 net.*dll wlan.*dll 使用通配,这样可以补上漏掉的几个文件

点评

等你完善后贴一个完整的批处理给我学习学习  详情 回复 发表于 2020-11-25 12:06
回复

使用道具 举报

20#
发表于 2020-11-25 11:41:44 | 只看该作者
顶你一下面
回复

使用道具 举报

21#
 楼主| 发表于 2020-11-25 12:06:20 | 只看该作者
bfgxp 发表于 2020-11-25 10:51
测试了,findstr最好加上 /i 参数,过滤字段 net.*dll wlan.*dll 使用通配,这样可以补上漏掉的几个文件

等你完善后贴一个完整的批处理给我学习学习
回复

使用道具 举报

22#
发表于 2020-11-25 14:25:47 | 只看该作者
虽然启动成功,但无法运行  Opera.exe,\Windows\System32\netman.dll原150M有的,现在也没了,不知会不会影响

点评

去搜我这个帖子下载那个opera12下载下来后把opera.exe解开解压到文件夹里使用:winre.wim是无线WiFi上网的pe最好基础WIM包因winre.wim自带无线组件仅需添加WiFi驱动  详情 回复 发表于 2020-11-25 15:10
回复

使用道具 举报

23#
发表于 2020-11-25 15:03:31 | 只看该作者
前来学习
一直想把 PE 弄到 ESP 分区里
回复

使用道具 举报

24#
 楼主| 发表于 2020-11-25 15:10:43 | 只看该作者
gbzx 发表于 2020-11-25 14:25
虽然启动成功,但无法运行  Opera.exe,\Windows\System32\netman.dll原150M有的,现在也没了,不知会不会 ...

去搜我这个帖子下载那个opera12下载下来后把opera.exe解开解压到文件夹里使用:winre.wim是无线WiFi上网的pe最好基础WIM包因winre.wim自带无线组件仅需添加WiFi驱动
回复

使用道具 举报

25#
 楼主| 发表于 2020-11-25 16:45:15 | 只看该作者
cchessbd 发表于 2020-11-24 20:00
好好好,值得研究一下。成品见 http://bbs.wuyou.net/forum.php?mod=viewthread&tid=423083&extra=page%3D1 ...

推荐大家用这个cchessbd的坛友改进的批处理,cchessbd的批处理比我的更集约化、也更简单方便!
回复

使用道具 举报

26#
发表于 2020-11-25 17:36:42 | 只看该作者
厉害了
回复

使用道具 举报

27#
发表于 2020-11-25 21:54:16 | 只看该作者
本帖最后由 gbzx 于 2020-11-25 22:34 编辑

只支持64位程序,我试了楼主的Opera.exe,解压后可运行,64位的DiskGeniusx64和ghost64都可运行,但CGI是32位和64位自动的,不可运行。我平时用CGI较多,经测试,并不是所有64位程序都能运行,估计是少了一些文件。

点评

有空请告知哪些64位程序可以运行,又有哪些64位程序不能运行?我好一一对应相应的程序补充相应的文件  详情 回复 发表于 2020-11-26 00:22
回复

使用道具 举报

28#
 楼主| 发表于 2020-11-26 00:22:09 | 只看该作者
gbzx 发表于 2020-11-25 21:54
只支持64位程序,我试了楼主的Opera.exe,解压后可运行,64位的DiskGeniusx64和ghost64都可运行,但CGI是32 ...

有空请告知哪些64位程序可以运行,又有哪些64位程序不能运行?我好一一对应相应的程序补充相应的文件
回复

使用道具 举报

29#
发表于 2020-11-26 05:56:37 | 只看该作者
感谢楼主的付出。PXE启动网络部署正需要这样的PE。
回复

使用道具 举报

30#
发表于 2020-11-26 10:08:04 | 只看该作者
是我搞错了,官网下载的7z1900x64x3610.exe无法运行,后来解压后可运行了,不知谁能从CGI中提取纯64的CGI,因为它无法用7Z和WINRAR解压。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-11-27 14:09

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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