6,849
社区成员
发帖
与我相关
我的任务
分享
错误:
运行"$error.Clear();
if (Get-Service MpsSvc* | ?{$_.Name -eq 'MpsSvc'})
{
Set-Service MpsSvc -StartupType Automatic
Start-SetupService -ServiceName MpsSvc
}
"时生成以下错误:"由于以下错误无法配置服务“Windows Defender Firewall (MpsSvc)”: 拒绝访问。"。
我是以管理员身份运行的
你直接运行 Set-Service MpsSvc -StartupType Automatic
Start-SetupService -ServiceName MpsSvc
可以正常运行吗?