|
本帖最后由 itteam 于 2024-9-2 15:04 编辑
WIN11 24H2 从网络邻居上的电脑复制文件会被强制修改文件创建时间和修改时间戳
昨天升级24H2,感觉良好,但是发现上述问题。
中文bing了一圈没结果,后来google发现早有反应貌似从KB5039212开始就这样了,有回复如下。
Many users have reported this issue on this forum. When you copy a file from a network share, the Zone ID information is written to the Alternate Data Streams (ADS), which causes the file date to be modified.
This might be a bug in the recent Windows 11 builds. However, there is a workaround. To prevent the ADS from being written, you can add the computer name that hosts the network share to the Local Intranet zone in IE Options.
To open IE Options, run "inetcpl.cpl".
Click on the "Security" tab, and click "Local Intranet".
Click "Sites", and click "Advanced".
Add the computer name or the IP address of the computer that hosts the network share to the list.
Click OK, OK, to save your settings.
Here's a similar thread you may like to read:
File explorer and date created/modified change when copying - Microsoft Community:
解决方案1:将局域网ip写入安全区域。
This happened because MS added the following feature to file explorer :
"Starting in this update, File Explorer adds the Mark of the Web (MoTW) tag to files and folders that come from untrusted locations. When MapUrlToZone classifies a file as “Internet,” that file also gets this tag. Because of this change, the “LastWriteTime” time stamp is updated. This might affect some scenarios that rely on file copy operations."
and strange some trusted files are tagged with Zone3 as untrusted --> "Internet"
you could solve it with the below workaround :
open to the following local policy
Computurer Configuration -> Administrative Templates -> Windows Componenets -> File Explorer :
and enable the policy called "Do Not Apply The MArk of The Web tag to files copied from isecure sources"
and run -> gpupdate /force
then sign out and signing back again
Reply
方案2:没看懂,貌似还需要去除启动签名?
话说,这不知道算bug还是改动,如果算bug,我看到至少2024年2月份微软已知此问题,但是到现在rc预览版也没管。
PS:刚发现用设备名连接到网络邻居复制的文件不会触发此问题,但是直接用ip地址连接的就会触发此问题
比如网上有个电脑名字是 aa ip是192.168.1.23,用“\\aa”连接复制文件没问题,用"\\192.168.1.23"连接复制就会被强制改变时间戳。 |
|