本文說明瞭如何防止Windows 11中的非系統驅動器上安裝或移動應用程序。
應用程序的兩種主要類型可以在Windows中安裝。來自安裝程序包裝的Microsoft Store和獨立應用程序的應用程序,通常來自第三方供應商。
默認情況下,Microsoft Store的應用程序安裝在Windows系統的C驅動器上。用戶可以選擇移動應用程序已經從Microsoft商店安裝到其他內部或外部本地驅動器。
用戶可以選擇在Windows上安裝內部或外部drives interm
if p> if p> if p> if p> if p> if p> if p> if p> if p> if
。 non-system drives, you can disable this feature using either Group Policy or the Registry Editor.
Disable installing apps on non-system drives using GPO
To access the local group policy editor and make this change, follow the steps below.
First, open the Local Group Policy Editor (gpedit.msc). (Search for “Edit group policy”) on the Start menu.
Then, navigate the folders below:
Computer Configuration > Administrative Templates > Windows Components > App Package Deployment
In the App Package Deployment details pane on the right, locate and double-click the “Disable installing Windows apps on非系統卷 “設置。配置的(默認)-與禁用相同。 啟用:您無法在不是系統量的捲上移動或安裝Windows應用程序。 禁用:您可以在其他卷上移動或安裝Windows應用程序。
要恢復默認行為並允許用戶繼續在非系統驅動器上安裝應用程序,請刪除上面創建的 限制Apptosystemvolume 名稱。
限制限制Apptosystemvolume > IT!
結論:
總而言之,可以使用組策略或註冊表編輯器有效地管理Windows 11中非系統驅動器上應用程序在非系統驅動器上的安裝或移動。這是關鍵要點:
兩種應用類型:了解應用程序可以來自Microsoft Store或獨立安裝程序。 默認行為:應用程序安裝在C:驅動器上,但是用戶可以移動或選擇其他驅動器。 組策略方法:利用本地組策略編輯器禁用非系統驅動器上的安裝。 選項包括未配置,啟用和禁用。 註冊表方法:修改Windows註冊表以將應用程序安裝限制為系統卷。 創建一個名為限制Apptosystemvolume 的dword,並將其值設置為1。 備份預防措施:始終備份您的註冊表或在更改之前創建系統還原點。 重新啟動要求:更改可能需要重新啟動。
通過遵循以下步驟,您可以保持對Windows 11系統上應用程序的位置的控制。