无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 29984|回复: 192
打印 上一主题 下一主题

[分享] 从"五秒制作完成网络骨头版pe"瞎改的从原版iso制作网络骨头版pe批处理0422

    [复制链接]
1#
发表于 2020-12-13 23:07:30 | 显示全部楼层
改的很好,只是为什么不基于最新版的批处理来改。而是基于原先老的批处理来改呢?
回复

使用道具 举报

2#
发表于 2020-12-14 14:58:32 | 显示全部楼层
江南一根葱 发表于 2020-12-14 09:05
不知道新版是哪个类,我想把列表独立出来,win7win8之类的文件列表不一样的吧

这个是新版批处理的内容:

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
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
回复

使用道具 举报

3#
发表于 2020-12-14 20:42:44 来自手机 | 显示全部楼层
  2020-12-14 20:20
@echo off&& cd /d %~dp0
if exist winre.wim (
echo winre.wim

оboot.wim
回复

使用道具 举报

4#
发表于 2020-12-14 20:50:04 | 显示全部楼层
江南一根葱 发表于 2020-12-14 20:46
零啊,对的,是写成%~dp0boot.wim
这个是MM头像的liuzhaoyzz(柳昭仪?)MM教我的。

刚才写的被吞了,我刚才发的是在陪床没法验证,不过感觉boot.wim的启动标志在你的新批处理里没有做相应处理。
回复

使用道具 举报

5#
发表于 2020-12-14 20:51:19 | 显示全部楼层
江南一根葱 发表于 2020-12-14 20:46
零啊,对的,是写成%~dp0boot.wim
这个是MM头像的liuzhaoyzz(柳昭仪?)MM教我的。

用新批处理解压boot.wim出来后制作完能成功启动吗?
回复

使用道具 举报

6#
发表于 2020-12-14 20:53:54 | 显示全部楼层
江南一根葱 发表于 2020-12-14 20:52
有处理,我试了直接从iso翔出来,可以启的
if "%wimfile%" == "boot.wim" (
echo 从boot.wim制作,准备 ...

好的,我刚才没看到这个地方,那就没问题了
回复

使用道具 举报

7#
发表于 2020-12-14 20:57:26 | 显示全部楼层
江南一根葱 发表于 2020-12-14 20:56
折腾想屁吃,有没有win7和win8的列表

没有,老婆刚生了个儿子我最近没时间折腾
回复

使用道具 举报

8#
发表于 2020-12-14 21:00:33 | 显示全部楼层
不过是win7和win8应该大体相同,只要稍稍改动一点点就行
回复

使用道具 举报

9#
发表于 2020-12-18 14:48:04 | 显示全部楼层
xhwfq 发表于 2020-12-18 13:36
该研究一下,怎样一键生成象微pe一样"好用"的10pe?

那样的话,需要用wimlib参数再从install.wim里抽取一些文件来。或者干脆直接以install.wim为基础来削减应该是最好的!

点评

说来64位的boot.wim里面也有syswow64文件夹,也有不少文件 要让纯64位pe兼容32位程序,还需要哪些文件的,貌似一直找不到相关资料  详情 回复 发表于 2021-1-21 14:53
回复

使用道具 举报

10#
发表于 2021-1-18 09:26:30 | 显示全部楼层
江南一根葱 发表于 2021-1-17 21:01
20210117更新
  • 制作完到桌面直接支持网络,可以进行ping测试
  • 支持ipxefm网启正常使用

  • 具体增加了哪几个文件支持了这两项功能?

    点评

    wpeinit.exe和ping.exe啊 不过好像可以通过Wpeuti.exe实现加载网络的吧,wpeinit比如适合我用,会生成日志  详情 回复 发表于 2021-1-18 11:08
    回复

    使用道具 举报

    11#
    发表于 2021-1-18 13:28:52 | 显示全部楼层
    江南一根葱 发表于 2021-1-18 11:08
    wpeinit.exe和ping.exe啊
    不过好像可以通过Wpeuti.exe实现加载网络的吧,wpeinit比如适合我用,会生成日 ...

    明白了
    回复

    使用道具 举报

    12#
    发表于 2021-1-18 13:31:48 | 显示全部楼层
    江南一根葱 发表于 2021-1-18 11:08
    wpeinit.exe和ping.exe啊
    不过好像可以通过Wpeuti.exe实现加载网络的吧,wpeinit比如适合我用,会生成日 ...

    以前我试验过单Wpeuti.exe就能实现在进pe桌面之前就加载网络,所以把wpinit.exe给去掉了。
    回复

    使用道具 举报

    13#
    发表于 2021-1-18 13:35:50 | 显示全部楼层
    江南一根葱 发表于 2021-1-18 11:08
    wpeinit.exe和ping.exe啊
    不过好像可以通过Wpeuti.exe实现加载网络的吧,wpeinit比如适合我用,会生成日 ...

    你那边把winxshell --winpe和wpeinit同时写在wpeshl.ini了会拖慢进pe桌面的速度吗?我以前实验在进pe桌面前就加载网络会慢两秒左右才进pe桌面。

    点评

    两秒没关系啊 不过这个制作完的pe貌似没有%desktop%这个东西,有没有办法内置这个“假环境变量”  详情 回复 发表于 2021-1-18 22:10
    回复

    使用道具 举报

    14#
    发表于 2021-1-18 13:39:29 | 显示全部楼层
    201196321478 发表于 2021-1-18 13:33
    葱哥,,有没有不带网络,纯维护的

    不需要网络的话可以修改批处理再删去很多文件,最终只需下面这些文件就能进维护版pe了:

    pe桌面文件夹:
    \Users\Default\Desktop

    pe开始菜单文件夹:
    \Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu

    pe的Windows下的文件夹和文件概况如下总共8文件夹:
    pe里Windows目录下字体Font文件夹(内有1个文件):
    \Windows\Fonts\simsun.ttc

    pe里Windows目录下Globalization文件夹(内有1个文件):
    \Windows\Globalization\Sorting\SortDefault.nls

    pe里Windows目录下INF文件夹(内有9个文件):
    \Windows\INF\acpi.inf
    \Windows\INF\disk.inf
    \Windows\INF\errata.inf
    \Windows\INF\hal.inf
    \Windows\INF\keyboard.inf
    \Windows\INF\machine.inf
    \Windows\INF\mshdc.inf
    \Windows\INF\msmouse.inf
    \Windows\INF\volume.inf

    pe里Windows目录下resources主题文件夹(内2个文件均可删但界面最大化按钮变怪故保留):
    \Windows\resources\Themes\aero\aero.msstyles
    \Windows\resources\Themes\aero\zh-CN\aero.msstyles.mui

    pe里Windows目录下System32文件夹推后再说……

    pe里Windows目录下 SystemResources文件夹(内有2个文件):
    \Windows\SystemResources\propsys.dll.mun
    \Windows\SystemResources\shell32.dll.mun

    pe里Windows目录下WinSxS文件夹(内有7个文件):
    \Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec\comctl32.dll
    \Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.264_none_faeb9d41761776a3\GdiPlus.dll
    \Windows\WinSxS\Manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec.manifest
    \Windows\WinSxS\Manifests\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.19041.264_none_faeb9d41761776a3.manifest
    \Windows\WinSxS\Manifests\amd64_microsoft.windows.i..utomation.proxystub_6595b64144ccf1df_1.0.19041.1_none_5f3561098cddf682.manifest
    \Windows\WinSxS\Manifests\amd64_microsoft.windows.isolationautomation_6595b64144ccf1df_1.0.19041.1_none_b5be0fd62dd3dc6e.manifest
    \Windows\WinSxS\Manifests\amd64_microsoft.windows.systemcompatible_6595b64144ccf1df_6.0.19041.1_none_bcf22701031bcbf3.manifest

    pe里Windows目录下zh-CN文件夹(内有1个注册表资源文件):
    \Windows\zh-CN\regedit.exe.mui{不用的话可删除}

    pe里Windows目录下1个注册表编辑器本体文件:
    \Windows\regedit.exe{不用的话可删除}


    接上面推后再说的Windows子文件夹System32目录下共有八个文件夹具体情形如下所述:
    System32目录里的系统文件:
    \Windows\System32\aclui.dll  
    \Windows\System32\advapi32.dll  
    \Windows\System32\apisetschema.dll  
    \Windows\System32\authz.dll  
    \Windows\System32\basesrv.dll  
    \Windows\System32\bcrypt.dll  
    \Windows\System32\bcryptprimitives.dll  
    \Windows\System32\BOOTVID.DLL   
    \Windows\System32\cdd.dll  
    \Windows\System32\cfgmgr32.dll  
    \Windows\System32\ci.dll  
    \Windows\System32\clb.dll  
    \Windows\System32\cmd.exe  
    \Windows\System32\cmdext.dll   
    \Windows\System32\combase.dll  
    \Windows\System32\comctl32.dll  
    \Windows\System32\comdlg32.dll   
    \Windows\System32\conhost.exe  
    \Windows\System32\crypt32.dll  
    \Windows\System32\cryptbase.dll  
    \Windows\System32\cryptdll.dll  
    \Windows\System32\cryptsp.dll  
    \Windows\System32\csrsrv.dll  
    \Windows\System32\csrss.exe  
    \Windows\System32\C_1252.NLS  
    \Windows\System32\C_437.NLS  
    \Windows\System32\C_936.NLS  
    \Windows\System32\dabapi.dll  
    \Windows\System32\devobj.dll  
    \Windows\System32\dpapisrv.dll   
    \Windows\System32\dui70.dll  
    \Windows\System32\duser.dll  
    \Windows\System32\dwmapi.dll  
    \Windows\System32\EventAggregation.dll  
    \Windows\System32\fltLib.dll  
    \Windows\System32\fontdrvhost.exe  
    \Windows\System32\format.com  
    \Windows\System32\gdi32.dll  
    \Windows\System32\gdi32full.dll  
    \Windows\System32\hal.dll  
    \Windows\System32\hid.dll  
    \Windows\System32\iertutil.dll  
    \Windows\System32\imageres.dll  
    \Windows\System32\imm32.dll  
    \Windows\System32\IPHLPAPI.DLL  
    \Windows\System32\KBDUS.DLL  
    \Windows\System32\kd.dll  
    \Windows\System32\kernel.appcore.dll  
    \Windows\System32\kernel32.dll  
    \Windows\System32\KernelBase.dll  
    \Windows\System32\locale.nls  
    \Windows\System32\lsasrv.dll  
    \Windows\System32\lsass.exe  
    \Windows\System32\lsm.dll  
    \Windows\System32\l_intl.nls  
    \Windows\System32\mpr.dll  
    \Windows\System32\msasn1.dll  
    \Windows\System32\msimg32.dll  
    \Windows\System32\msprivs.dll  
    \Windows\System32\msv1_0.dll  
    \Windows\System32\msvcp_win.dll  
    \Windows\System32\msvcrt.dll  
    \Windows\System32\msxml3.dll  
    \Windows\System32\msxml3r.dll  
    \Windows\System32\ncrypt.dll  
    \Windows\System32\notepad.exe  
    \Windows\System32\ntasn1.dll  
    \Windows\System32\ntdll.dll  
    \Windows\System32\ntdsapi.dll  
    \Windows\System32\NtlmShared.dll  
    \Windows\System32\ntmarta.dll  
    \Windows\System32\ntoskrnl.exe  
    \Windows\System32\ole32.dll  
    \Windows\System32\oleacc.dll  
    \Windows\System32\oleaccrc.dll  
    \Windows\System32\oleaut32.dll  
    \Windows\System32\oledlg.dll  
    \Windows\System32\powrprof.dll  
    \Windows\System32\profapi.dll  
    \Windows\System32\propsys.dll  
    \Windows\System32\psapi.dll  
    \Windows\System32\PSHED.DLL  
    \Windows\System32\RpcEpMap.dll  
    \Windows\System32\rpcrt4.dll  
    \Windows\System32\rpcss.dll  
    \Windows\System32\rsaenh.dll  
    \Windows\System32\rundll32.exe  
    \Windows\System32\samsrv.dll  
    \Windows\System32\sechost.dll  
    \Windows\System32\services.exe  
    \Windows\System32\setupapi.dll  
    \Windows\System32\SHCore.dll  
    \Windows\System32\shell32.dll  
    \Windows\System32\shellstyle.dll  
    \Windows\System32\shlwapi.dll  
    \Windows\System32\smss.exe  
    \Windows\System32\sspicli.dll  
    \Windows\System32\sspisrv.dll  
    \Windows\System32\svchost.exe  
    \Windows\System32\sxs.dll  
    \Windows\System32\sxssrv.dll  
    \Windows\System32\sysntfy.dll  
    \Windows\System32\SystemEventsBrokerServer.dll  
    \Windows\System32\TextShaping.dll  
    \Windows\System32\ucrtbase.dll  
    \Windows\System32\ulib.dll  
    \Windows\System32\urlmon.dll  
    \Windows\System32\user32.dll  
    \Windows\System32\userenv.dll  
    \Windows\System32\UXInit.dll  
    \Windows\System32\uxtheme.dll  
    \Windows\System32\version.dll  
    \Windows\System32\wimgapi.dll  
    \Windows\System32\win32k.sys  
    \Windows\System32\win32kbase.sys  
    \Windows\System32\win32kfull.sys  
    \Windows\System32\win32u.dll  
    \Windows\System32\winbrand.dll  
    \Windows\System32\Windows.FileExplorer.Common.dll  
    \Windows\System32\windows.storage.dll  
    \Windows\System32\WindowsCodecs.dll  
    \Windows\System32\wininet.dll  
    \Windows\System32\wininit.exe  
    \Windows\System32\wininitext.dll  
    \Windows\System32\winload.efi  {可删除}
    \Windows\System32\winlogon.exe  
    \Windows\System32\winmm.dll  
    \Windows\System32\winpeshl.exe  
    \Windows\System32\winpeshl.ini  
    \Windows\System32\winspool.drv  
    \Windows\System32\winsrv.dll  
    \Windows\System32\winsrvext.dll  
    \Windows\System32\winsta.dll  
    \Windows\System32\wintrust.dll   
    \Windows\System32\wkscli.dll  
    \Windows\System32\Wldap32.dll  
    \Windows\System32\wldp.dll  
    \Windows\System32\wpeutil.dll  
    \Windows\System32\wpeutil.exe  
    \Windows\System32\ws2_32.dll  
    \Windows\System32\wsock32.dll  
    \Windows\System32\wtsapi32.dll  
    \Windows\System32\xmllite.dll  

    Boot文件夹(内有1个文件):
    \Windows\System32\Boot\winload.efi

    CatRoot文件夹(内有1个文件夹9个文件):
    \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\
    Microsoft-OneCore-CoreSystem-Core-merged-Package~31bf3856ad364e35~amd64~~10.0.19041.264.cat
    Microsoft-Windows-Common-Drivers-merged-Package~31bf3856ad364e35~amd64~~10.0.19041.173.cat
    Microsoft-Windows-Common-Drivers-Package-windows-Package~31bf3856ad364e35~amd64~~10.0.19041.84.cat
    Microsoft-Windows-CoreSystem-UnifiedBPM-Package~31bf3856ad364e35~amd64~~10.0.19041.1.cat
    Microsoft-Windows-Foundation-Group-merged-Package~31bf3856ad364e35~amd64~~10.0.19041.264.cat
    Microsoft-Windows-Pnp-merged-Package~31bf3856ad364e35~amd64~~10.0.19041.1.cat
    Microsoft-Windows-SXS-Runtime-Package~31bf3856ad364e35~amd64~~10.0.19041.207.cat
    Microsoft-Windows-Winpe-Dual-Drivers-Package~31bf3856ad364e35~amd64~~10.0.19041.264.cat
    Microsoft-Windows-WinPE-SKU-Foundation-merged-Package~31bf3856ad364e35~amd64~~10.0.19041.264.cat

    CodeIntegrity文件夹(内有1个文件):
    \Windows\System32\CodeIntegrity\driver.stl

    config文件夹(内有6个文件):
    \Windows\System32\config\DEFAULT
    \Windows\System32\config\DRIVERS
    \Windows\System32\config\SAM
    \Windows\System32\config\SECURITY
    \Windows\System32\config\SOFTWARE
    \Windows\System32\config\SYSTEM

    drivers文件夹(内有1个文件夹许多文件):
    \Windows\System32\drivers\
    ……
    ……
    ……

    DriverStore文件夹(内有2个文件夹数个文件):
    ……
    ……
    ……

    WinXShell_x64文件夹(内有5个文件):
    \Windows\System32\WinXShell_x64\config.xml【Explorer++配置文件】
    \Windows\System32\WinXShell_x64\Explorer++.exe
    \Windows\System32\WinXShell_x64\Explorer++ZH.dll{Explorer++界面汉化文件可删除}
    \Windows\System32\WinXShell_x64\WinXShell.exe
    \Windows\System32\WinXShell_x64\WinXShell.jcfg【WinXShell.exe的配置文件】

    zh-CN文件夹(内有59个文件):
    \Windows\System32\zh-CN\activeds.dll.mui  
    \Windows\System32\zh-CN\advapi32.dll.mui  
    \Windows\System32\zh-CN\bcrypt.dll.mui  
    \Windows\System32\zh-CN\cmd.exe.mui  
    \Windows\System32\zh-CN\combase.dll.mui  
    \Windows\System32\zh-CN\comdlg32.dll.mui  
    \Windows\System32\zh-CN\Conhost.exe.mui  
    \Windows\System32\zh-CN\crypt32.dll.mui  
    \Windows\System32\zh-CN\csrsrv.dll.mui  
    \Windows\System32\zh-CN\csrss.exe.mui  
    \Windows\System32\zh-CN\dui70.dll.mui  
    \Windows\System32\zh-CN\dwmapi.dll.mui  
    \Windows\System32\zh-CN\fltlib.dll.mui  
    \Windows\System32\zh-CN\hid.dll.mui  
    \Windows\System32\zh-CN\kernel32.dll.mui  
    \Windows\System32\zh-CN\KernelBase.dll.mui  
    \Windows\System32\zh-CN\lsasrv.dll.mui  
    \Windows\System32\zh-CN\lsm.dll.mui  
    \Windows\System32\zh-CN\mpr.dll.mui  
    \Windows\System32\zh-CN\msprivs.dll.mui  
    \Windows\System32\zh-CN\msxml3r.dll.mui  
    \Windows\System32\zh-CN\ncrypt.dll.mui  
    \Windows\System32\zh-CN\notepad.exe.mui  
    \Windows\System32\zh-CN\ntdll.dll.mui  
    \Windows\System32\zh-CN\ntmarta.dll.mui  
    \Windows\System32\zh-CN\ole32.dll.mui  
    \Windows\System32\zh-CN\oleaccrc.dll.mui  
    \Windows\System32\zh-CN\powrprof.dll.mui  
    \Windows\System32\zh-CN\propsys.dll.mui  
    \Windows\System32\zh-CN\pshed.dll.mui  
    \Windows\System32\zh-CN\RpcEpMap.dll.mui  
    \Windows\System32\zh-CN\rpcrt4.dll.mui  
    \Windows\System32\zh-CN\rundll32.exe.mui  
    \Windows\System32\zh-CN\samsrv.dll.mui  
    \Windows\System32\zh-CN\services.exe.mui  
    \Windows\System32\zh-CN\setupapi.dll.mui  
    \Windows\System32\zh-CN\SHCore.dll.mui  
    \Windows\System32\zh-CN\shell32.dll.mui  
    \Windows\System32\zh-CN\shlwapi.dll.mui  
    \Windows\System32\zh-CN\smss.exe.mui  
    \Windows\System32\zh-CN\svchost.exe.mui  
    \Windows\System32\zh-CN\swprv.dll.mui  
    \Windows\System32\zh-CN\sxs.dll.mui  
    \Windows\System32\zh-CN\SystemEventsBrokerServer.dll.mui  
    \Windows\System32\zh-CN\user32.dll.mui  
    \Windows\System32\zh-CN\userenv.dll.mui  
    \Windows\System32\zh-CN\uxtheme.dll.mui  
    \Windows\System32\zh-CN\win32kbase.sys.mui  
    \Windows\System32\zh-CN\windows.storage.dll.mui  
    \Windows\System32\zh-CN\wininit.exe.mui  
    \Windows\System32\zh-CN\winload.efi.mui  
    \Windows\System32\zh-CN\winlogon.exe.mui  
    \Windows\System32\zh-CN\winmm.dll.mui  
    \Windows\System32\zh-CN\winpeshl.exe.mui  
    \Windows\System32\zh-CN\winsrv.dll.mui  
    \Windows\System32\zh-CN\wldap32.dll.mui  
    \Windows\System32\zh-CN\wldp.dll.mui  
    \Windows\System32\zh-CN\wpeutil.dll.mui  
    \Windows\System32\zh-CN\ws2_32.dll.mui
    回复

    使用道具 举报

    15#
    发表于 2021-1-21 15:10:58 | 显示全部楼层
    江南一根葱 发表于 2021-1-21 14:53
    说来64位的boot.wim里面也有syswow64文件夹,也有不少文件
    要让纯64位pe兼容32位程序,还需要哪些文件的 ...

    这方面的支持你可以参考这篇帖子:http://bbs.wuyou.net/forum.php?mod=viewthread&tid=418902
    回复

    使用道具 举报

    16#
    发表于 2021-2-10 16:24:08 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 15:21
    问下这种迷你pe是不是无法关闭防火墙
    wpeutil disablefirewall报错,

    哈哈哈哈,怎么会有这样的需求。试试下面这个方法行不行:
    注册表离线修改,依次展开HKEY_LOCAL_MACHINE\pe-SYSTEM\CurrentControlSet\services\mpssvc,然后找到右侧的strat将默认的2改成4,其意思是禁用该服务,更改后重启生效
    回复

    使用道具 举报

    17#
    发表于 2021-2-10 16:35:24 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 15:21
    问下这种迷你pe是不是无法关闭防火墙
    wpeutil disablefirewall报错,

    [size=0.16]@echo off
    (net start|find "Windows Firewall" >nul)&&(net stop MpsSvc>nul&sc config MpsSvc start= disabled>nul)||((sc qc mpssvc|find /i "START_TYPE"|find /i "DISABLED">nul)||sc config MpsSvc start= disabled>nul)
    echo 完成!&pause>nul
    上面这段是关防火墙,
    [size=0.16]还有下面的命令行:

    [size=0.16]关闭:sc stop MpsSvc
    开启:sc start MpsSvc
    设置防火墙服务为自动|手动|禁用:sc config MpsSvc start=auto|demand|disabled
    当然,禁用了,自然就没办法开启了。
    管它有没有这个服务干什么,没有就不存在关闭,命令执行了也没影响。



    回复

    使用道具 举报

    18#
    发表于 2021-2-10 17:04:21 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 17:01
    改了注册表后,wpeinit不能初始化网络了,看来win10pe不一样

    改成3手动而不是禁用可行吗?
    回复

    使用道具 举报

    19#
    发表于 2021-2-10 17:15:36 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 17:11
    初始化网络估计是关联防火墙的,我记得10的打印机共享也有这个问题,不能禁用或手动服务

    那只能初始化网络后,再单独用net命令或者sc命令来关闭吗?
    回复

    使用道具 举报

    20#
    发表于 2021-2-10 18:09:04 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 17:29
    也不行,看来是悬案。。
    wpeutil disablefirewall后报错 0x800706d9

    用这下面的关闭防火墙命令可行吗?
    开启防火墙:
    netsh firewall set opmode mode=enable
    关闭防火墙:
    netsh firewall set opmode mode=disable

    详细命令:netsh firewall
    参数:
    ? // 显示命令列表
    add // 添加防火墙配置
    delete // 删除防火墙配置
    dump // 显示一个配置脚本
    help // 显示命令列表
    reset // 将防火墙配置重置为默认值。
    set // 设置防火墙配置
    show // 显示防火墙配置
    add allowedprogram // 添加防火墙允许的程序配置。
    add portopening // 添加防火墙端口配置
    delete allowedprogram // 删除防火墙允许的程序配置
    delete portopening // 删除防火墙端口配置
    set allowedprogram // 设置防火墙允许的程序配置
    set icmpsetting // 设置防火墙 ICMP 配置
    set logging // 设置防火墙记录配置
    set multicastbroadcastresponse // 设置防火墙多播/广播响应配置
    set notifications // 设置防火墙通知配置
    set opmode // 设置防火墙操作配置
    set portopening // 设置防火墙端口配置
    set service // 设置防火墙服务配置
    show allowedprogram // 显示防火墙允许的程序配置
    show config // 显示防火墙配置。
    show currentprofile // 显示当前防火墙配置文件
    show icmpsetting // 显示防火墙 ICMP 配置
    show logging // 显示防火墙记录配置
    show multicastbroadcastresponse // 显示防火墙多播/广播响应配置
    show notifications // 显示防火墙操作配置
    show opmode // 显示防火墙端口配置
    show portopening // 显示防火墙端口配置
    show service // 显示防火墙服务配置
    show state // 显示当前防火墙状态  

    例如:
    命令:netsh firewall show allowedprogram //查看防火墙放行的程序
    netsh firewall set portopening TCP 445 ENABLE //打开445端口
    netsh firewall set portopening TCP 3389 ENABLE //
    netsh firewall delete allowedprogram C:\A.exe //删除放行程序A.exe
    netsh firewall set allowedprogram C:\A.exe A ENABLE //添加程序C盘下的A.exe并放行
    netsh firewall add allowedprogram C:\A.exe A ENABLE //添加程序C盘下的A.exe并放行
    netsh firewall set icmpsettting type=ALL mode=enable //开启ICMP协议
    netsh firewall set icmpsettting type=2 mode=enable  //允许出站数据包太大
    回复

    使用道具 举报

    21#
    发表于 2021-2-10 18:42:43 | 显示全部楼层
    本帖最后由 sairen139 于 2021-2-10 18:48 编辑
    sairen139 发表于 2021-2-10 18:09
    用这下面的关闭防火墙命令可行吗?开启防火墙:netsh firewall set opmode mode=enable[/bac ...

    cmd命令如下:

    7F2BA9D2-1616-4EF4-8FBB-FC88C8A1C6B9.png (7.9 KB, 下载次数: 206)

    7F2BA9D2-1616-4EF4-8FBB-FC88C8A1C6B9.png

    80DF781D-CF7B-4F41-BAAA-D6040808424C.png (8.51 KB, 下载次数: 195)

    80DF781D-CF7B-4F41-BAAA-D6040808424C.png
    回复

    使用道具 举报

    22#
    发表于 2021-2-10 22:04:30 | 显示全部楼层
    我这边制作出来的pe进pe桌面后防火墙本身服务就是关闭的
    回复

    使用道具 举报

    23#
    发表于 2021-2-10 22:06:44 | 显示全部楼层
    sairen139 发表于 2021-2-10 22:04
    我这边制作出来的pe进pe桌面后防火墙本身服务就是关闭的

    而且双击桌面的运行wifi的那个bat后,初始化网络并不会打开关闭着的防火墙服务。@江南一颗葱
    回复

    使用道具 举报

    24#
    发表于 2021-2-10 22:15:07 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 22:07
    但是其它机ping得通pe获取到的ip地址吗

    没试过网克,刚才试了试net stop mpssvc命令可以关闭防火墙
    回复

    使用道具 举报

    25#
    发表于 2021-2-10 22:27:32 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 22:21
    不是网克啊,关闭后,其它机要能ping通它才算真正关闭啊。。。

    那你试试下面这:
    关闭防火墙功能

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 0 /t REG_DWORD /f
    net stop "MpsSvc"
    sc config "MpsSvc" start=disabled

    启动防火墙功能

    sc config "MpsSvc" start= auto
    sc start "MpsSvc"
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile" /v "EnableFirewall" /d 1 /t REG_DWORD /f



    回复

    使用道具 举报

    26#
    发表于 2021-2-10 22:31:01 | 显示全部楼层
    没这方面的需求,我只有单机安装系统这么个小需求,连wifi连网的需求pe也是做了个问卷有些坛友需要才加上的
    回复

    使用道具 举报

    27#
    发表于 2021-2-10 22:32:59 | 显示全部楼层
    你有别的方面需求可以继续好好折腾,如果需要我折腾告诉我就行,有空我就帮你折腾
    回复

    使用道具 举报

    28#
    发表于 2021-2-10 22:57:02 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 22:38
    mpssvc应该无关的,我试了下net stop等提示是没有启动windows defender firewall服务
    大概有点思路了, ...

    好的,我刚才去给娃冲奶了。明天再折腾
    回复

    使用道具 举报

    29#
    发表于 2021-2-10 22:57:07 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 22:38
    mpssvc应该无关的,我试了下net stop等提示是没有启动windows defender firewall服务
    大概有点思路了, ...

    好的,我刚才去给娃冲奶了。明天再折腾
    回复

    使用道具 举报

    30#
    发表于 2021-2-10 22:57:29 | 显示全部楼层
    江南一根葱 发表于 2021-2-10 22:38
    mpssvc应该无关的,我试了下net stop等提示是没有启动windows defender firewall服务
    大概有点思路了, ...

    好的,我刚才去给娃冲奶了。明天再折腾
    回复

    使用道具 举报

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

    本版积分规则

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

    闽公网安备 35020302032614号

    GMT+8, 2024-5-3 14:54

    Powered by Discuz! X3.3

    © 2001-2017 Comsenz Inc.

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