无忧启动论坛

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

[分享] 11PE 删 IE11 的批处理 -- 僅供參考

[复制链接]
跳转到指定楼层
1#
发表于 2021-8-1 09:11:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 tools241 于 2021-8-27 19:22 编辑

11PE 删 IE11 的批处理 -- 僅供參考
时代的眼泪:Windows 11将停用MSpaint、IE, 关闭Cortana、Skype

REM =============  11PE 删 IE11 的批处理 ==============
REM 若有把握可再删一些*.DLL, 请自行完善

@echo off
SET Var0=%0
IF '^%Var0:~0,1%'=='^"' SET Var0=%Var0:~1,-1%
FOR /f "delims=" %%I in ("%Var0%") do Set TP=%%~dpI
SET TP=%TP:~0,-1%\
REM 上列4行的写法 "不论资料夹是否含空格" 皆适用
for /f "tokens=1,2 delims=:" %%i in ("%TP%") do set d=%%i:
%d%
for /f "tokens=1,2 delims=:" %%i in ("%TP%") do set j=%%j
cd %j%
REM 上列4行的写法在Windows以系统管理员身份执行时,可自 %WinDir%\sys????? 回到程式本身的正确位


REM   设定目前之文件夹位置
set boot=boot
REM   若非 Win 11 直接跳至末尾
if not exist %boot%\Windows\SysWOW64 goto end
if exist %boot%\Windows\WinSxS\amd64_microsoft.windows.gdiplus_*_1.1.1????.* goto end
if exist %boot%\Windows\WinSxS\amd64_microsoft.windows.gdiplus_*_1.1.20???.* goto end
if exist %boot%\Windows\WinSxS\amd64_microsoft.windows.gdiplus_*_1.1.21???.* goto end

REM   for 11PE
REM 只删64位元 "Program Files\Internet Explorer" 之下的文件
for %%f in (
en-US
images
SIGNUP
zh-CN
zh-TW
) do rmdir /s /q "%boot%\Program Files\Internet Explorer\%%f" 2>nul >nul
del /Q "%boot%\Program Files\Internet Explorer\*.*" 2>nul >nul
REM 若删 "Program Files\Internet Explorer" 文件夹则改成 rmdir /s /q "%boot%\Program Files\Internet Explorer" 2>nul >nul

REM 删64位元部份 *.DLL
for %%f in (
ie4uinit.exe
IEAdvpack.dll
#ieapfltr.dll
IEDKCS32.DLL
#ieframe.dll
iemigplugin.dll
iepeers.dll
#ieproxy.dll
iernonce.dll
iesetup.dll
iesysprep.dll
ieui.dll
#iertutil.dll
ieuinit.inf
tokenbinding.dll
) do del /Q %boot%\Windows\System32\%%f  2>nul >nul


REM 只删32位元 "Program Files (x86)\Internet Explorer" 之下的文件
for %%f in (
en-US
images
SIGNUP
zh-CN
zh-TW
) do rmdir /s /q "%boot%\Program Files (x86)\Internet Explorer\%%f" 2>nul >nul
del /Q "%boot%\Program Files (x86)\Internet Explorer\*.*" 2>nul >nul
REM 若删 "Program Files (x86)\Internet Explorer" 文件夹则改成 rmdir /s /q "%boot%\Program Files (x86)\Internet Explorer" 2>nul >nul

REM 删16位元部份 *.DLL
for %%f in (
IEAdvpack.dll
#ieapfltr.dll
IEDKCS32.DLL
#ieframe.dll
iemigplugin.dll
iepeers.dll
#ieproxy.dll
iernonce.dll
iesetup.dll
iesysprep.dll
ieui.dll
#iertutil.dll
tokenbinding.dll
) do del /Q %boot%\Windows\SysWOW64\%%f  2>nul >nul

:end
2#
 楼主| 发表于 2021-8-1 09:44:28 | 只看该作者
本帖最后由 tools241 于 2021-8-29 22:36 编辑

Offi?? 2007  支援终止日期  2017/10/10.


在 Windows 11/11PE 执行offi??2007版中的 Excel 时,
有可能出现 "档案无法存取", 开启旧档失败.

本人发布的 11PE22000x64(RamOS)_?.ISO 可正常使用IE11, Excel 2007.
效率极致!   简/繁 x64/x86 11PE22000.168(RamOS)+IE11+MTP,
10PE19043.962(RamOS)+IE11+MTP,21286(RamOS)+IE11+MTP,
15063+IE11+MTP, 16299.2166+IE11+MTP --
含Firefox92+Chrome92+PotPlayer1.7.21526 影音上网 ==>
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=385866
回复

使用道具 举报

3#
发表于 2021-8-1 14:20:58 | 只看该作者
已经收下了
回复

使用道具 举报

4#
发表于 2021-8-1 16:27:35 | 只看该作者
其实我是想 Win11PE “恢复IE11” 的批处理

点评

COPY 19043版的 IE*.DLL 到 22000版后, 执行IE11可出现空白页, 但须移植那些*.DLL才能正常, 可参考s大的资料来 "补文件", 可能还有注册表的问题, 是否能成待测.  详情 回复 发表于 2021-8-1 18:15
回复

使用道具 举报

5#
 楼主| 发表于 2021-8-1 18:15:58 | 只看该作者
本帖最后由 tools241 于 2021-8-1 21:26 编辑
2010twinsram 发表于 2021-8-1 16:27
其实我是想 Win11PE  “恢复IE11” 的批处理

COPY 10PE19043版的 IE*.DLL 到 11PE22000版后,
执行IE11可出现空白页,
但须移植那些*.DLL才能正常?
有兴趣者可参考s大的资料来 "补文件",
可能还有注册表的问题,
是否能成待测.



* 此版IETester功能受限, 使用到的DLL档部份与IE11相同:
IE11免安装版 (简/繁 PE/Win 通用) -- IETester_IE11 ==>
  http://bbs.wuyou.net/forum.php?mod=viewthread&tid=403905

点评

完整版的Win11已经有人可以恢复IE11,现在就是不懂如何让Win11PE恢复IE11  详情 回复 发表于 2021-8-2 11:16
回复

使用道具 举报

6#
发表于 2021-8-1 20:55:34 来自手机 | 只看该作者
感谢分享
回复

使用道具 举报

7#
发表于 2021-8-2 01:30:36 | 只看该作者
感谢分享 试下看看
回复

使用道具 举报

8#
发表于 2021-8-2 08:33:19 | 只看该作者
支持一下!
回复

使用道具 举报

9#
发表于 2021-8-2 11:16:11 | 只看该作者
tools241 发表于 2021-8-1 18:15
COPY 10PE19043版的 IE*.DLL 到 11PE22000版后,
执行IE11可出现空白页,
但须移植那些*.DLL才能正常?

完整版的Win11已经有人可以恢复IE11,现在就是不懂如何让Win11PE恢复IE11

点评

1.从完整版提取 注册表C:\ 改成 X:\ HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer 2.补文件?  详情 回复 发表于 2021-8-2 13:04
回复

使用道具 举报

10#
 楼主| 发表于 2021-8-2 13:04:10 | 只看该作者
2010twinsram 发表于 2021-8-2 11:16
完整版的Win11已经有人可以恢复IE11,现在就是不懂如何让Win11PE恢复IE11

1.从完整版提取 注册表C:\  改成 X:\
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer

2.补文件?
回复

使用道具 举报

11#
发表于 2021-8-17 11:46:44 | 只看该作者
感谢分享
回复

使用道具 举报

12#
发表于 2021-8-17 21:26:34 | 只看该作者
用过,很不错!
回复

使用道具 举报

13#
发表于 2021-8-19 01:58:02 | 只看该作者
感谢分享
回复

使用道具 举报

14#
发表于 2024-1-28 23:54:44 | 只看该作者
一会试试
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-8 04:44

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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