Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

這份文件說明如何暫時封鎖 .NET Framework 4.5.2 的安裝。如需詳細的步驟,請參閱如何暫時封鎖的.NET Framework 4.5.2 安裝

有關.NET Framework 4.5.2

Microsoft .NET Framework 4.5.2 是 Microsoft .NET Framework 4、Microsoft .NET Framework 4.5 以及 Microsoft .NET Framework 4.5.1 的就地升級。Microsoft 會透過 Windows Update 發行此升級。

有些客戶可能有在受管理環境中封鎖 .NET Framework 4.5.2 自動更新的業務需求。本文說明如何執行此封鎖的動作。這個方法是適用於正在執行下列作業系統的電腦︰

  • Windows Vista Service Pack 2 (SP2)

  • Windows 7 Service Pack 1 (SP1)

  • Windows 8

  • Windows 8.1

  • Windows Server 2008 SP2

  • Windows Server 2008 R2 SP1

  • Windows Server 2012

  • Windows Server 2012 R2

  • Windows RT

  • Windows RT 8.1

注意在您完成 〈 解決方案 〉 一節的步驟之後,.NET Framework 4.5.2 和其對應的語言套件,將不再透過 Windows Update 提供。

解決方案

.NET Framework 4.5.2 可透過 Windows Update 及 Windows 伺服器更新服務 (WSUS) 取得。.NET Framework 4.5.2 會在所有適用的平台上分類為建議的更新。

重要我們強烈建議不要封鎖 .NET Framework 4.5.2 的 安裝。不過,您可能必須暫時封鎖安裝 」 的商務理由。例如,您可能需要更多的時間,在您的環境中測試的業務應用程式。在這種情況下,您可以修改登錄以暫時封鎖這項安裝。

如何暫時封鎖 .NET Framework 4.5.2 的安裝

重要仔細遵循本章節中的步驟。如果您不當修改登錄,可能會發生嚴重的問題。之前您修改後,還原登錄備份,萬一發生問題。

注意基於安全性、 穩定性、 可靠性和服務的理由,建議您不要長時間維持此封鎖。

  1. 備份登錄。

  2. 啟動登錄編輯程式。若要這麼做,請按一下 [開始、 中開始搜尋] 方塊中,輸入regedit ,然後按 Enter 鍵。

  3. 找出並按一下下列子機碼︰

    HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP

  4. 選取步驟 3 中指定的子機碼之後,指向 [編輯] 功能表上的 [新增],然後按一下 [機碼]。

  5. 輸入WU,,然後按 Enter 鍵。

  6. WU上按一下滑鼠右鍵,指向 [新增],然後按一下 [ DWORD 值]。

  7. 輸入BlockNetFramework452,然後再按 Enter 鍵。

  8. 以滑鼠右鍵按一下 BlockNetFramework452,然後按一下 [修改]。

  9. 在 [數值資料] 方塊中,鍵入1,然後按一下[確定]

  10. 在 [檔案] 功能表中,按一下 [結束] 以結束「登錄編輯程式」。

注意使用像是 Microsoft WSUS 或 Microsoft System Center Configuration Manager 更新管理解決方案來管理的環境中,組織不需要修改登錄檔。組織可以完全管理透過 Windows Update 或 Microsoft Update 發行之更新的佈署使用這些產品。本文所述的程序只有直接連接到及接收 Windows Update 的更新的電腦才需要。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×