close


首先確認當前系統及列出不相容軟體
powershell
# 系统版本
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

# 列出不相容(需手動移除)
Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match "Microsoft Endpoint Protection"}
(Symantec Endpoint Protection、 VMware Tools ..  

 

從 Volume License Service Center (VLSC) 下載 Windows Server 2019 ISO。
powershell
Get-FileHash .\WindowsServer2019.iso -Algorithm SHA256

 

掛載安裝:
powershell
Mount-DiskImage -ImagePath .\WindowsServer2019.iso
Start-Process -FilePath D:\setup.exe -Verb RunAs

 

不相容記錄的log(路径:C:\$WINDOWS.~BT\Sources\Panther\compatscn.log)。
 

 

安裝完成後確認伺服器 服務狀況
powershell
# 系统版本
[Environment]::OSVersion.Version

# 服務狀況
Get-Service | Where-Object {$_.Status -ne "Running"}

# 查看升級log
Get-Content -Path C:\Windows\Panther\setupact.log -Tail 100

大功告成!!

 

 

 

#AD 功能確認
repadmin /showrepl, FSMO 角色己遷移。

# 關閉 SMB 1.0
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

# 安裝開啟docker
Install-WindowsFeature -Name containers -IncludeManagementTools

# .NET Framework 3.5 相關開發程式無法使用
Enable-WindowsOptionalFeature -Online -FeatureName NetFx3

 

文章標籤
win2012r2升級
全站熱搜
創作者介紹
創作者 BENIT 的頭像
BENIT

BenIT

BENIT 發表在 痞客邦 留言(0) 人氣()