Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

ปิด Automatic Updates สำหรับ Microsoft Store Apps ผ่าน Registry, GPO, Command Line

Microsoft Store คือที่เชื่อถือได้สำหรับ Windows 11/10 ดาวน์โหลด Apps/Games มี Apps หลายร้อยและ Features มากมาย บางอย่างจำเป็น บางอย่างไม่จำเป็น

สามารถตั้งให้ Microsoft Store ดาวน์โหลด Version ใหม่ของ Apps อัตโนมัติ ฟีเจอร์ดีแต่อาจกิน Bandwidth และ Battery เพราะทำงาน Background

หากชอบอัปเดต Apps เอง ต้อง ปิด Automatic Update Feature บทความนี้สอนปิด/เปิด Auto Updates ใน Microsoft Store และอัปเดต Apps ด้วยตนเอง

ปิด Automatic Updates สำหรับ Microsoft Store Apps

มี 5 วิธี:

  1. ผ่าน Microsoft Store เอง
  2. ใช้ Windows Registry
  3. ใช้ Group Policy Object Editor
  4. ใช้ PowerShell
  5. ใช้ Command Prompt

1. ปิด Auto Updates จาก Microsoft Store

วิธีตรงไปตรงมา: กด Win Key ค้นหา Microsoft Store เปิด คลิก 3 จุดมุมขวาบน > Settings

ใน Settings Toggle Off สวิตช์ข้าง Update apps automatically

ปิด Automatic Updates สำหรับ Microsoft Store Apps ผ่าน Registry, GPO, Command Line

Microsoft Store จะไม่อัปเดต Apps ใน Background อีก จะอัปเดตตอนเราสั่งเท่านั้น

เพื่อเปิดใหม่ ทำซ้ำแต่ Toggle On Automatic app updating

2. ปิด Auto Updates จาก Windows Registry

กด Win Key ค้นหา regedit คลิกขวา Registry Editor > Run as Administrator

ไปที่ Folder ใน Registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore

คลิกขวาว่างขวา > New > DWORD Value ชื่อ AutoDownload กำหนดค่า 2

3. ปิด Auto Updates จาก Group Policy Object Editor

เปิด Microsoft Management Console (MMC) ค้นหา MMC ใน Start Menu เปิด คลิก Yes

ใน Console: File > Add/Remove Snap-in > หา Group Policy Object Editor ซ้าย > Add > Finish > OK

ปิด Automatic Updates สำหรับ Microsoft Store Apps ผ่าน Registry, GPO, Command Line

ไปที่: Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Store

Double-click Turn off automatic download and install of updates

ปิด Automatic Updates สำหรับ Microsoft Store Apps ผ่าน Registry, GPO, Command Line

เลือก Radio Enabled กด OK

4. ปิด Auto Updates ผ่าน PowerShell

คลิกขวา Start > PowerShell (Admin) Copy โค้ดนี้ไปวาง:

$Name = "AutoDownload"
$Value = 2
$Path = "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore"
If ((Test-Path $Path) -eq $false){ New-Item -Path $Path -ItemType Directory }
If (-!(Get-ItemProperty -Path $Path -Name $name -ErrorAction SilentlyContinue)){ New-ItemProperty -Path $Path -Name $Name -PropertyType DWord -Value $Value }
else{ Set-ItemProperty -Path $Path -Name $Name -Value $Value }

5. ปิด Auto Updates จาก Command Prompt

ค้นหา cmd คลิกขวา Command Prompt > Run as Administrator

พิมพ์คำสั่งนี้ Enter:

reg add HKLM\SOFTWARE\Policies\Microsoft\WindowsStore /v AutoDownload /t REG_DWORD /d 2 /f

เสร็จแล้ว

เมื่อปิด Auto Updates แล้ว Apps จะ Outdated จนกว่าจะอัปเดตด้วยตนเอง ทำตามนี้เพื่ออัปเดต Manual

ปิด Automatic Updates สำหรับ Microsoft Store Apps ผ่าน Registry, GPO, Command Line