Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community
LIVE

打开 dfs 共享出来的bat文件时,会出现如截图的安全警告

Copper Contributor

打开 由dfs 共享出来的bat文件时,会出现如截图的安全警告。

例如这样打开:\\domain\dfs\mvp.bat 

 

但同样的文件,如果直接通过文件服务器共享出来后打开,就不会跳出该文件的安全警告。

例如这样打开:\\server01\sharefolder\mvp.bat

这是为什么呢?有办法调整为不出现安全警告吗?应该不是客户端的问题。

警告截图如下:安全警告.jpg

11 Replies

I certainly cannot read any of that but try adding the namespace to trusted sites.

User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Site to Zone Assignment List

 

 

HELLO @Dave Patrick 

 

where it is? 

 

User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Site to Zone Assignment List

 

under IE settings or GPEDIT? or regedit?

either domain policy or locally gpedit.msc

 

 

@Dave Patrick

dfscn.jpg 

 

the setting as above? 

but it's not working.

i translate to en about my issue:

When opening the BAT file shared by DFS, a security warning is displayed, as shown in the screenshot.
For example: \\domain\ DFS \mvp.bat

However, if the same file is directly shared through the file server and opened, the security warning of the file will not be displayed.
For example: \\server01\ shareFolder \ Mvp.bat

Why is that? Is there a way to adjust so that there are no security warnings? It should not be a client problem.

Sorry, no clue. Can't read that

Sounds like the location needs to be added to trusted location or trusted sites.

 

 

 

already set the trust site.

HankLiujh_0-1630980687312.png

 

 

Sounds good. Could be that I still don't understand the problem. The screenshots are of no use to me since I cannot read them.

 

 

 

 

@Dave Patrick 

 

any chinese reader can assist us :cry:

it's still open。。。 。。。