Microsoft已发布新的Win10/Win11脚本,以还原C Drive的

这是6月7日的新闻,技术媒体Windows最新发布的昨天(6月6日)发布了一篇博客文章,报道Microsoft发布了一个新的PowerShell脚本,以帮助用户重建文件夹并在没有IIS的情况下调整弱点。 Home早些时候报道说,在安装Windows 11和Windows 10用户后-KB5055523在4月份的组合更新后,系统C驱动器上出现了一个名为“ InetPub”的空文件夹,尺寸为0字节。该文件夹位于C:\ inetpub \ Path下方,与Internet信息服务(IIS)服务相关联。 Microsoft提醒您,删除此文件夹会带来系统曝光的风险,从而增加了权限或安全威胁等。强度建议用户恢复文件夹并正确设置控件列表(ACL)列表(ACL)。对于已删除的用户,Microsoft正式提供了两种解决方案来还原“ InetPub”文件夹。一种是通过控制面板启用IIS服务,但它会创建其他文件夹,而不是F对非开发人员用户友好。其余的是5月28日发布的新PowerShell脚本,以在没有IIS的情况下重建文件夹。 The user will have to run Powershell as an administrator and perform the following specific commands: Set -ExecutionPolicy -Scope process -executionpolicy bypassinstall -script -name set -inetpubfolderacl -Forceset -InetPubfolderacl If the command is not found error, you can cover it in full path: \ Windowspowershell \ scripts \ SET-INETPUBFOLDERACL.PS1

Related Posts

Comments are closed.