您好!
近期您是不是更新了补丁,建议检查是否安装了如下几个补丁
Update forMicrosoft Windows (KB3045562)
Update forMicrosoft Windows (KB3045563)
这2个补丁更新后会将.Net升级到4.6,如安装了建议卸载,或者您可以尝试使用如下脚本查询下.Net 的版本。
$Reg =[Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $Server)
$RegKey=$Reg.OpenSubKey("SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full")
[int]$NetVersionKey=$RegKey.GetValue("Release")
if($NetVersionKey -ge 381029)
{
"4.6 or later"
return
}
switch ($NetVersionKey)
{
{($_ -ge 378389) -and ($_ -lt 378675)}{"4.5"}
{($_ -ge 378675) -and ($_ -lt 379893)}{"4.5.1"}
{$_ -ge 379893} {"4.5.2"}
default {"Unable to Determine"}
}