Apps Turn On or Off Archive Apps in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

All_apps_banner.png

This tutorial will show you how to enable or disable archive apps for your account, specific accounts, or all users in Windows 11.

To save storage space and Internet bandwidth, Microsoft Store apps you do not use frequently will be archived automatically. Your files and other data will be saved. The next time you use an archived app, it will connect to the Internet to restore the full version (if it's still available).

Reference:


Contents

  • Option One: Turn On or Off Archive Apps for Current User in Settings
  • Option Two: Turn On or Off Archive Apps for Specific User in Registry Editor
  • Option Three: Enable or Disable Archive Apps for All Users in Local Group Policy Editor
  • Option Four: Enable or Disable Archive Apps for All Users using REG file




Option One

Turn On or Off Archive Apps for Current User in Settings


1 Open Settings (Win+I).

2 Click/tap on Apps on the left side, and click/tap on Advanced app settings on the right side. (see screenshot below)


Archive_apps_Settings-1.png

3 Turn On (default) or Off Archive apps for what you want. (see screenshot below)

Archive_apps_Settings-2.png

4 You can now close Settings if you like.




Option Two

Turn On or Off Archive Apps for Specific User in Registry Editor


You must be signed in as an administrator to use this option.


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below step 3)

Get-WmiObject win32_useraccount | Select name,sid

3 Find the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1001") of the account (ex: "Brink") you want to turn on or off archive apps for. (see screenshot below)

You will need to know the SID of the user account to know which key to open at step 6 below.


SID.png

4 Open Registry Editor (regedit.exe).

5 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification

Archive_apps_regedit-1.png

6 Under the Stubification key, click/tap on the subkey (ex: "S-1-5-21-1444435275-2663242741-221999885-1001") that is named the same as the SID (ex: "S-1-5-21-2212846312-626644311-134141314-1001") from step 3. (see screenshot below step 5)

The SID subkey (ex: "S-1-5-21-1444435275-2663242741-221999885-1001") will not be there by default unless the setting has already been toggled on or off from Option One.


7 In the right pane of the SID key (ex: "S-1-5-21-2212846312-626644311-134141314-1001") from step 6, double click/tap on the EnableAppOffloading DWORD to modify it. (see screenshot below step 5)

8 Type the number 1 (on - default) or 0 (off) for what you want, and click/tap on OK. (see screenshot below)

Archive_apps_regedit-2.png

9 You can now close Registry Editor and Windows Terminal if you like.




Option Three

Enable or Disable Archive Apps for All Users in Local Group Policy Editor


You must be signed in as an administrator to use this option.

The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.

All editions can use Option Four to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > Windows Components > App Package Deployment

archive_apps_gpedit-1.webp

3 In the right pane of App Package Deployment in the Local Group Policy Editor, double click/tap on the Archive infrequently used apps policy to edit it. (see screenshot above)

4 Do step 5 (force enable), step 6 (disable), or step 7 (default) below for what you want.

5 Force Enable Archive Apps for All Users

This will override and prevent using Option One and Option Two.


A) Select (dot) Enabled. (see screenshot below)​

B) Click/tap on OK, and go to step 8 below.​

archive_apps_gpedit-3.webp

6 Disable App Archive Apps for All Users

This will override and prevent using Option One and Option Two.


A) Select (dot) Disabled. (see screenshot below)​

B) Click/tap on OK, and go to step 8 below.​

archive_apps_gpedit-4.webp

7 Default User-Choice Archive Apps

This is the default setting to allow using Option One and Option Two.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 8 below.​

archive_apps_gpedit-2.webp

8 You can now close the Local Group Policy Editor if you like.




Option Four

Enable or Disable Archive Apps for All Users using REG file


You must be signed in as an administrator to use this option.


1 Do step 2 (force enable), step 3 (disable), or step 4 (disable) below for what you want.


 2. Force Enable Archive Apps for All Users

This will override and prevent using Option One and Option Two.


A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Force_enable_archive_apps_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Appx]
"AllowAutomaticAppArchiving"=dword:00000001


 3. Disable Archive Apps for All Users

This will override and prevent using Option One and Option Two.


A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Disable_archive_apps_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Appx]
"AllowAutomaticAppArchiving"=dword:00000000


 4. Default User-Choice Archive Apps

This is the default setting to allow using Option One and Option Two.


A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Default_user-choice_archive_apps.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Appx]
"AllowAutomaticAppArchiving"=-

5 Save the .reg file to your desktop.

6 Double click/tap on the downloaded .reg file to merge it.

7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink
 

Attachments

Last edited:
Option One:

Can't find 'Apps => Advanced Settings'

A.png


Option Two => Step 2

What do I need to 'Copy & Paste'?

I'm running Windows 11 Pro v 21H2 Release Preview (Build 22000.318) x64
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (Build 26100.3915)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix - BOOT
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
Option One:

Can't find 'Apps => Advanced Settings'

Option Two => Step 2

What do I need to 'Copy & Paste'?

I'm running Windows 11 Pro v 21H2 Release Preview (Build 22000.318) x64

Tutorial updated to help. :-)

I forgot the public release doesn't have the separate "Advanced app settings" yet.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Hi,
Did ms rewrite the meaning of archive ?
 

My Computer

System One

  • OS
    Win-7-10-11Pro's
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer 17" Nitro 7840sn/ 2x16gb 5600c40/ 4060/ stock 1tb-os/ 4tb sn850x
    CPU
    10900k & 9940x & 5930k
    Motherboard
    z490-Apex & x299-Apex & x99-Sabertooth
    Memory
    Trident-Z Royal 4000c16 2x16gb & Trident-Z 3600c16 4x8gb & 3200c14 4x8gb
    Graphics Card(s)
    Titan Xp & 1080ti FTW3 & evga 980ti gaming
    Sound Card
    Onboard Realtek x3
    Monitor(s) Displays
    1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
    Screen Resolution
    1920-1080 not sure what the t.v is besides 43" class scales from 1920-1080 perfectly
    Hard Drives
    2-WD-sn850x 4tb/ 970evo+500gb/ 980 pro 2tb.
    PSU
    1000p2 & 1200p2 & 850p2
    Case
    D450 x2 & 1 Test bench in cherry Entertainment center
    Cooling
    Custom water loops x3 with 2x mora 360mm rads only 980ti gaming air cooled
    Keyboard
    G710+x3
    Mouse
    Redragon x3
    Internet Speed
    xfinity gigabyte
    Browser
    Firefox
    Antivirus
    mbam pro
Tutorial updated to help. :)

I forgot the public release doesn't have the separate "Advanced app settings" yet.
Thank you.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (Build 26100.3915)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix - BOOT
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
After running

Get-WmiObject win32_useraccount | Select name,sid

from Option Two => step 2, I got the following

A.png


with no SID references.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (Build 26100.3915)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix - BOOT
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
Odd with no SIDs listed for your accounts.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
By default, the SID does not exist in the registry. It must be created manually or on/off in the Setting. (Windows Home)


# Turn Off Archive Apps for Specific User
$i = Get-WmiObject win32_useraccount | Where-Object {$_.Name -Match "$env:USERNAME"} | Select SID
$i = $i.SID
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\$i" -Name "EnableAppOffloading" -PropertyType DWord -Value 0 -Force
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI MS-7D98
    CPU
    Intel Core i5-13490F
    Motherboard
    MSI B760 GAMING PLUS WIFI
    Memory
    2 x 16 Patriot Memory (PDP Systems) PSD516G560081
    Graphics Card(s)
    GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
    Sound Card
    Bluetooth Аудио
    Monitor(s) Displays
    INNOCN 15K1F
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD_BLACK SN770 250GB
    KINGSTON SNV2S1000G (ELFK0S.6)
    PSU
    Thermaltake Toughpower GF3 1000W
    Case
    CG560 - DeepCool
    Cooling
    ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
    Keyboard
    Corsair K70 RGB TKL
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    100 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    https://www.userbenchmark.com/UserRun/66553205
In Option One Step 4, I toggled the the 'archive on /off' button' - 'Off' then 'On' again and reran the

Get-WmiObject win32_useraccount | Select name,sid

command again with the following result

1636614282789.png
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 (Build 26100.3915)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Precision 3660 Tower Workstation
    CPU
    12th Gen Intel(R) Core(TM) i9-12900 5.10 GHz
    Motherboard
    64-bit operating system, x64-based processor
    Memory
    32.00 GB
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Dell P2714H Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x 512GB NVME PC801 NVMe SK hynix - BOOT
    1 x 1TB Seagate ST1000LM049-2GH172 Internal HDD
    1 x 1TB Seagate STGX4000400 External HDD
    1 x 2TB Seagate STGX4000400 External HDD
    1 x 4TB Seagate STGX4000400 External HDD
    PSU
    300 Watts
    Cooling
    Air
    Keyboard
    Microsoft Wired Keyboard 600
    Mouse
    Microsoft USB Basic Optical Mouse v2.0
    Browser
    Firefox
    Antivirus
    Windows Defender + Malwarebytes Premium
    Other Info
    BaseBoard Manufacturer Dell Inc.
    BaseBoard Product 0J1CP3
    BaseBoard Version A01
any reg to disable it?
 

My Computer

System One

  • OS
    Windows 11 Custom Edited
    Computer type
    Laptop
    CPU
    i7 9750
    Memory
    32GB
    Graphics Card(s)
    1660ti
    Hard Drives
    Samsung 980 Evo Plus
any reg to disable it?
Since it's dependent on a unique SID per account per system, there's not a universal REG setting. :(
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
DisableArchiveApps.cmd


whoami /user|find /i "%COMPUTERNAME%\%USERNAME%">"%temp%\%~n0.tmp"
set /p _sid=<"%temp%\%~n0.tmp"
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%_sid:* =% /v EnableAppOffloading /t REG_DWORD /d 0 /f
del %temp%\%~n0.tmp

:)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro (canary)
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 17 9710
    CPU
    11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 G
    Memory
    16.0 GB
    Graphics Card(s)
    Intel(R) UHD Graphics / NVIDIA GeForce RTX 3050 Laptop GPU
    Sound Card
    Intel® Smart Sound Technology for USB Audio / Intel® Smart Sound Technology for MIPI SoundWire® Audio \ Realtek SoundWire HW Audio Codec Device Driver
    Monitor(s) Displays
    17 inch
    Screen Resolution
    1920 x 1200
    Hard Drives
    PC711 NVMe SK hynix 512GB
    Mouse
    Dell Mobile Pro Wireless Mouse MS5120W
    Internet Speed
    100 mbps down / 10 mbps up
    Browser
    Microsoft Edge
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    CPU has a max rating of 5 GHZ
  • Operating System
    Windows Server 2025 (canary)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell PowerEdge T140
    CPU
    Xeon
    Memory
    16 GB
    Graphics card(s)
    Matrox POS
    Sound Card
    n/a
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920 x 1080
    Hard Drives
    160GB SSD + 22TB+
    Internet Speed
    100 mbps down / 10 mbps up
    Antivirus
    Microsoft Defender Antivirus
DisableArchiveApps.cmd


whoami /user|find /i "%COMPUTERNAME%\%USERNAME%">"%temp%\%~n0.tmp"
set /p _sid=<"%temp%\%~n0.tmp"
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%_sid:* =% /v EnableAppOffloading /t REG_DWORD /d 0 /f
del %temp%\%~n0.tmp

:)
umm.. i don't know why i included %COMPUTERNAME%.. it's not neccessary.

whoami /user|find /i "USERNAME%">"%temp%\%~n0.tmp"
set /p _sid=<"%temp%\%~n0.tmp"
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%_sid:* =% /v EnableAppOffloading /t REG_DWORD /d 0 /f
del %temp%\%~n0.tmp
 

My Computers

System One System Two

  • OS
    Windows 11 Pro (canary)
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 17 9710
    CPU
    11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 G
    Memory
    16.0 GB
    Graphics Card(s)
    Intel(R) UHD Graphics / NVIDIA GeForce RTX 3050 Laptop GPU
    Sound Card
    Intel® Smart Sound Technology for USB Audio / Intel® Smart Sound Technology for MIPI SoundWire® Audio \ Realtek SoundWire HW Audio Codec Device Driver
    Monitor(s) Displays
    17 inch
    Screen Resolution
    1920 x 1200
    Hard Drives
    PC711 NVMe SK hynix 512GB
    Mouse
    Dell Mobile Pro Wireless Mouse MS5120W
    Internet Speed
    100 mbps down / 10 mbps up
    Browser
    Microsoft Edge
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    CPU has a max rating of 5 GHZ
  • Operating System
    Windows Server 2025 (canary)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell PowerEdge T140
    CPU
    Xeon
    Memory
    16 GB
    Graphics card(s)
    Matrox POS
    Sound Card
    n/a
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920 x 1080
    Hard Drives
    160GB SSD + 22TB+
    Internet Speed
    100 mbps down / 10 mbps up
    Antivirus
    Microsoft Defender Antivirus
Tutorial updated to help. :-)

I forgot the public release doesn't have the separate "Advanced app settings" yet.
Time to update again, in 23H2 and 24H2 Archive apps is no longer on a page of its own, it's a switch in Advanced app settings.

1729345150683-png.113128
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, and 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine.
Time to update again, in 23H2 and 24H2 Archive apps is no longer on a page of its own, it's a switch in Advanced app settings.

1729345150683-png.113128
Thank you Bree. Now updated. :shawn:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
umm.. i don't know why i included %COMPUTERNAME%.. it's not neccessary.

whoami /user|find /i "USERNAME%">"%temp%\%~n0.tmp"
set /p _sid=<"%temp%\%~n0.tmp"
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%_sid:* =% /v EnableAppOffloading /t REG_DWORD /d 0 /f
del %temp%\%~n0.tmp
o man, i made a big mistake with this correction. the %COMPUTERNAME% IS required.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro (canary)
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 17 9710
    CPU
    11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 G
    Memory
    16.0 GB
    Graphics Card(s)
    Intel(R) UHD Graphics / NVIDIA GeForce RTX 3050 Laptop GPU
    Sound Card
    Intel® Smart Sound Technology for USB Audio / Intel® Smart Sound Technology for MIPI SoundWire® Audio \ Realtek SoundWire HW Audio Codec Device Driver
    Monitor(s) Displays
    17 inch
    Screen Resolution
    1920 x 1200
    Hard Drives
    PC711 NVMe SK hynix 512GB
    Mouse
    Dell Mobile Pro Wireless Mouse MS5120W
    Internet Speed
    100 mbps down / 10 mbps up
    Browser
    Microsoft Edge
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    CPU has a max rating of 5 GHZ
  • Operating System
    Windows Server 2025 (canary)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell PowerEdge T140
    CPU
    Xeon
    Memory
    16 GB
    Graphics card(s)
    Matrox POS
    Sound Card
    n/a
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920 x 1080
    Hard Drives
    160GB SSD + 22TB+
    Internet Speed
    100 mbps down / 10 mbps up
    Antivirus
    Microsoft Defender Antivirus
If you run this BAT files as administrator it works

Code:
:: Settings - Apps - Advanced Apps Settings - Archive Apps [OFF]
FOR /F "tokens=3" %%A in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /V "SelectedUserSID"') DO (SET SID=%%A)
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%SID%" /v "EnableAppOffloading" /t REG_DWORD /d "0" /f

PAUSE

Code:
:: Settings - Apps - Advanced Apps Settings - Archive Apps [ON]
FOR /F "tokens=3" %%A in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /V "SelectedUserSID"') DO (SET SID=%%A)
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\InstallService\Stubification\%SID%" /v "EnableAppOffloading" /t REG_DWORD /d "1" /f

PAUSE
 

My Computer

System One

  • OS
    Windows 11 23H2 Home Single Language
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO IdeaPad 5 15ITL05
    CPU
    Intel Core i3-1115G4
    Motherboard
    There is no such a God, I only know mother-Earth
    Memory
    8GB
    Graphics Card(s)
    on-board
    Sound Card
    on-board
    Monitor(s) Displays
    (s) is too ambitious for me
    Screen Resolution
    1920*1080
    Hard Drives
    256GB (SSD)
    PSU
    I was very young when I last saw a PSU
    Case
    ...
    Cooling
    My coldness is enough to cool the computer
    Keyboard
    A broken and very clean keyboard
    Mouse
    Rat King
    Internet Speed
    Slowest internet connection in Europe
    Browser
    ChromePortable / TorBrowser
    Antivirus
    Biontech
    Other Info
    I can simply say that I took the red pill and I am not happy with it.
Unless you're using a Home edition, it's simpler to use the GPO:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Appx]
"AllowAutomaticAppArchiving"=dword:00000001
 

My Computer

System One

  • OS
    Windows 7
Tutorial updated to add options 3 and 4 for a policy that affects all users. :alien:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom