我的植物

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 74|回复: 1

edge 策略命令

[复制链接]

8万

主题

52

回帖

7834

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
7834
发表于 2024-8-7 18:25:39 | 显示全部楼层 |阅读模式
写Windows 批处理文件。让 Internet Explorer 在 Microsoft Edge 中打开网站 改为从不
允许在 Internet Explorer 模式下重新加载网站 (IE 模式) 改为允许
把以下网址添加到 Edge 设置中的默认浏览器 下的 internet Explorer 模式页面
以保证以下网址 Edge 用兼容性模式和 Internet Explorer  模式打开
http://zherpsrv.zhcpa.cn:8000
http://docs.zhcpa.cn:8099
http://audit.zhcpa.cn:5199
http://127.0.0.1
edge.jpg

ie01.jpg

ie02.jpg

ie03.jpg






本站全部资源免费下载。开通权限请联系站长管理员

8万

主题

52

回帖

7834

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
7834
 楼主| 发表于 2024-8-7 18:43:12 | 显示全部楼层
@echo off  
echo This script cannot directly modify Microsoft Edge settings.  
echo Instead, it will provide instructions and open the Edge settings page.  
echo.  
  
REM Check if Microsoft Edge is installed (this is a basic check and may need refinement)  
where /q msedge.exe  
if %ERRORLEVEL%==0 (  
    echo Microsoft Edge is installed.  
    echo.  
    echo To configure IE mode, please follow these steps:  
    echo 1. Open Microsoft Edge.  
    echo 2. Navigate to edge://settings/defaultBrowser (to ensure Edge is the default browser).  
    echo 3. Use Group Policy or Edge's policy file to enable IE mode and add the sites:  
    echo   - http://zherpsrv.zhcpa.cn:8000  
    echo   - http://docs.zhcpa.cn:8099  
    echo   - http://audit.zhcpa.cn:5199  
    echo.  
    echo Alternatively, you can manually enable IE mode in Edge's settings.  
    echo.  
    REM Optionally, open Edge's settings page  
    start msedge edge://settings/defaultBrowser  
) else (  
    echo Microsoft Edge is not installed. Please install it before configuring IE mode.  
)  
  
pause
本站全部资源免费下载。开通权限请联系站长管理员
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|网站地图|我的植物 ( 京ICP备15066774号-2 )|网站地图

GMT+8, 2026-4-8 12:58 , Processed in 0.036671 second(s), 38 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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