how can i backup background apps permissions ?


Drugo

Member
Local time
6:21 PM
Posts
59
OS
Windows 11 pro 64bit
Hi
I know there is the apps and backup subforum , but i guess it's more relatead to gernal support ,if i'm wrong please correct me

I want to change some apps background permissions but before to do it , i don't to create an image/backup with macium
I would like to export maybe some registry key/keys and just restore them not to the default to my previous preferences

is there a way to backup (exporting registry keys ) about my background apps permissions settings and restore them (just in case) without creating a image with macium?
thanks
Edit -> there is this beautiful tutorial but it's related to Enable or Disable Background /Turn On or Off Background Apps for Current User there here but there is not how restore default apps background permissions
 
Last edited:

My Computer

System One

  • OS
    Windows 11 pro 64bit
Options include backing up individual keys (if you know what they are, but in a lot of cases they won't be all in one place), create a system restore point, or backup the entire registry manually.
SR is not everyone's jam (me for one, but others here use it) so I rely on images. 5 minutes to back up my entire system is well worth it if I screw something up.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 +256gb ssd+512 gb usb m.2 sata
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Options include backing up individual keys (if you know what they are, but in a lot of cases they won't be all in one place), create a system restore point, or backup the entire registry manually.
SR is not everyone's jam (me for one, but others here use it) so I rely on images. 5 minutes to back up my entire system is well worth it if I screw something up.
hi
but in the link posted "tutorial" there is how reset them to defaul or disable/enable , via regisry key
i'm thinkig if could be backup the registry keys and after restore them
I know about restore point or backup it , just to know if could be possibile
 

My Computer

System One

  • OS
    Windows 11 pro 64bit
is there a way to backup (exporting registry keys ) about my background apps permissions settings and restore them (just in case) without creating a image with macium?

Run this command as Admin:
Code:
reg export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications BackgroundApps.reg

The exported reg file can be opened up in Notepad. You can keep it intact, or delete the empty blocks that don't have updated reg values.

Examples of empty keys. You can remove them if desired.
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\MozillaThunderbird.MZLA_h5892qc0xkpca]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\NcsiUwpApp_8wekyb3d8bbwe]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Windows.CBSPreview_cw5n1h2txyewy]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\windows.immersivecontrolpanel_cw5n1h2txyewy]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Windows.PrintDialog_cw5n1h2txyewy]

Cleaned up .reg file.
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]
"Migrated"=dword:00000004

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Microsoft.WindowsCalculator_8wekyb3d8bbwe]
"DisabledByUser"=dword:00000001
"Disabled"=dword:00000001
"IgnoreBatterySaver"=dword:00000000
"SleepDisabled"=dword:00000001
"SleepIgnoreBatterySaver"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Microsoft.WindowsStore_8wekyb3d8bbwe]
"NCBEnabled"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Mozilla.Firefox_n80bbvh6b1yt2]
"IgnoreBatterySaver"=dword:00000001
"Disabled"=dword:00000000
"DisabledByUser"=dword:00000000
"DisabledBySystem"=dword:00000000
"SleepDisabled"=dword:00000000

To reload the old preferences, double-click on the .reg file from Explorer.
 

My Computer

System One

  • OS
    Windows 7
Run this command as Admin:
Code:
reg export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications BackgroundApps.reg
hi
but i have lots of sub keys , a lot , i guess all the applications

do you mean for example is enabled?
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Microsoft.BingWeather_8wekyb3d8bbwe]
"DisabledByUser"=dword:00000001
"Disabled"=dword:00000001
"IgnoreBatterySaver"=dword:00000000
"SleepDisabled"=dword:00000001
"SleepIgnoreBatterySaver"=dword:00000000

and the key , since there is nothing , i can delete it
i have lots of keys empty like this
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\Microsoft.WindowsCalculator_8wekyb3d8bbwe]

and if i will delete all of them , what could be happen ?
have you tried to delete all of them?


ps where will export and save the BackgroundApps.reg ?
Code:
reg export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications BackgroundApps.reg
 

My Computer

System One

  • OS
    Windows 11 pro 64bit
If a key has no entries (undefined), it means Windows uses the default settings for that app. You don't have an user preference.

After exporting a backup copy, you can see what happens for yourself. Open RegEdit, and browse any App's key. Now delete that key. Update the App's background setting. Refresh your RegEdit view, Windows has added back that key.

"reg export" will take any pathname for the exported file.
 

My Computer

System One

  • OS
    Windows 7
If a key has no entries (undefined), it means Windows uses the default settings for that app. You don't have an user preference.

After exporting a backup copy, you can see what happens for yourself. Open RegEdit, and browse any App's key. Now delete that key. Update the App's background setting. Refresh your RegEdit view, Windows has added back that key.

"reg export" will take any pathname for the exported file.
hi @garlin

1)
do you think in the backup file should i add a minus - only to the first entry for example , so it will remove all the subkeys and restore all of them correctly
Code:
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]
"Migrated"=dword:00000004

but i want to disable all of them
should i use these settings found in the tutorial
disable
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsRunInBackground"=dword:00000002
"LetAppsRunInBackground_UserInControlOfTheseApps"=-
"LetAppsRunInBackground_ForceAllowTheseApps"=-
"LetAppsRunInBackground_ForceDenyTheseApps"=-

turn off all the apps
Code:
[[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsRunInBackground"=dword:00000002
"LetAppsRunInBackground_UserInControlOfTheseApps"=-
"LetAppsRunInBackground_ForceAllowTheseApps"=-
"LetAppsRunInBackground_ForceDenyTheseApps"=-

to reset to defualt
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsRunInBackground"=-
"LetAppsRunInBackground_UserInControlOfTheseApps"=-
"LetAppsRunInBackground_ForceAllowTheseApps"=-
"LetAppsRunInBackground_ForceDenyTheseApps"=-

2) is it safe? have you tested very carefull

3) does it work under w10 too?

thanks , really appreciate your help !(y)
 

My Computer

System One

  • OS
    Windows 11 pro 64bit
do you think in the backup file should i add a minus - only to the first entry for example , so it will remove all the subkeys and restore all of them correctly
Code:
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]
[/QUOTE]
Consider all three possible cases:
1.  The backup has the exact same list of apps, as the new system.
2.  You installed new apps, and updated preferences; but didn't capture them in the backup.  Clearing the keys first means you wiped out App preferences not in the backup.
3.  You recovered some apps, which don't exist on the new system.  This adds "junk data" in the registry, but in this case will cause no harm.

#1 is ideal
#2 is bad
#3 is tolerable

[QUOTE="Drugo, post: 447162, member: 23965"]
2) is it safe? have you tested very carefull
[/QUOTE]
I think you're giving this too much importance.  What's the reason for changing an UWP ("Store") app's background behavior?  It's for mobile laptops.

When you have an UWP app running in the background, [B]it could be doing work[/B].  For example, every few minutes Bing Weather will steal CPU time to get the latest forecasts.  So when you foreground Weather, it's up to date.  But if I'm on battery life, I want Windows to pause more apps so my power drain is less.  On a desktop PC, this is less important unless you're trying to be "green" with energy consumption.  A paused app sits in memory, but doesn't ask for CPU time.

For the UWP apps that you run, does it matter they keep updating themselves in the background?  That tells you whether you should disable all, or use custom settings.

[QUOTE="Drugo, post: 447162, member: 23965"]
3) does it work under w10 too?
[/QUOTE]
W10 & 11 are identical for this discussion.
 

My Computer

System One

  • OS
    Windows 7
Consider all three possible cases:
1. The backup has the exact same list of apps, as the new system.
2. You installed new apps, and updated preferences; but didn't capture them in the backup. Clearing the keys first means you wiped out App preferences not in the backup.
3. You recovered some apps, which don't exist on the new system. This adds "junk data" in the registry, but in this case will cause no harm.

#1 is ideal
#2 is bad
#3 is tolerable
Hi @garlin
good point

W10 & 11 are identical for this discussion.
In w10 it's pretty easy to disable , on windows 11 i have to check each applications

I think you're giving this too much importance. What's the reason for changing an UWP ("Store") app's background behavior? It's for mobile laptops.

When you have an UWP app running in the background, it could be doing work. For example, every few minutes Bing Weather will steal CPU time to get the latest forecasts. So when you foreground Weather, it's up to date. But if I'm on battery life, I want Windows to pause more apps so my power drain is less. On a desktop PC, this is less important unless you're trying to be "green" with energy consumption. A paused app sits in memory, but doesn't ask for CPU time.

For the UWP apps that you run, does it matter they keep updating themselves in the background? That tells you whether you should disable all, or use custom settings.
Well , yes since there are many applications like paradise , news ,radio game and so on , i have noticed many are running in the background
i need only an email software application and they's all , and yes on laptop are even worst
about safe , well windows 11 seems in beta beta beta testers
thanks
 

My Computer

System One

  • OS
    Windows 11 pro 64bit

Latest Support Threads

Latest Tutorials

Back
Top Bottom