|
本帖最后由 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, 下载次数: 136)
-
E2FB24E8-C992-4CD1-B7E6-364CF9886F60.jpeg
(1.83 MB, 下载次数: 133)
-
DC3D34E1-DCFA-4627-B64E-BC75714A8018.jpeg
(1.75 MB, 下载次数: 172)
-
CFD4F53E-AF21-4113-AA95-F2EB54CDA54F.jpeg
(1.22 MB, 下载次数: 137)
-
3A6F1BD9-D91F-40EF-A30E-6A6D2F68ADAD.jpeg
(1.31 MB, 下载次数: 133)
-
-
步骤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
评分
-
查看全部评分
|