Disable Focus Assist

xbacox2010

New Member
Windows Registry Editor Version 5.00

; Disable focus assist
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.notifications.quiethourssettings\Current]
"Data"=hex(3):02,00,00,00,B4,67,2B,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,14,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,55,00,6E,00,72,00,65,00,73,00,74,00,72,\
00,69,00,63,00,74,00,65,00,64,00,CA,28,D0,14,02,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentfullscreen$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,97,1D,2D,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,73,00,4F,\
00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentgame$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,6C,39,2D,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,50,00,72,00,69,00,6F,00,72,00,69,00,74,\
00,79,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpostoobe$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,06,54,2D,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,50,00,72,00,69,00,6F,00,72,00,69,00,74,\
00,79,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpresentation$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,83,6E,2D,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,73,00,4F,\
00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentscheduled$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,2E,8A,2D,68,F0,0B,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,50,00,72,00,69,00,6F,00,72,00,69,00,74,\
00,79,00,4F,00,6E,00,6C,00,79,00,C2,28,01,D1,32,80,E0,AA,8A,99,30,D1,3C,80,\
E0,F6,C5,D5,0E,CA,50,00,00
 

Hellbovine

Active Member
There are also a lot of values in each of those 6 keys, and nobody knows for certain yet what they effect and if they can be imported without repercussions, it's unlikely they are universal.

I do know for sure that in the other cloudstore keys like the ones people are modifying to change the start menu and such that those are definitely not universal, but they are being treated as if they were. People just aren't noticing the repercussions because the keys automatically update quite easily, and thus they end up "fixing" themselves in some ways. In other words if you make a change to a registry key that isn't directly related to the cloudstore, and then restart the PC, it will end up checking the cloudstore keys to see if they also need to be updated and then do it for you, thus fixing the issues.

I manually registry compared some 500+ tweaks, multiple times in testing, and the cloudstore stuff gets indirectly updated quite often, even when it's not directly tied to the tweak you're working on. I could of course be wrong, and these 6 keys may end up being universal, but it's doubtful right now since there's no documentation on them.
 
Last edited:

Hellbovine

Active Member
To help prove my point, I went into my Windows 10 21H2 install and turned off these 3 focus assist settings:

"When I'm duplicating my display"
"When I'm playing a game"
"When I'm using an app in full screen mode"

And the results were that it changed only 3 registry keys (using RegistryChangesView), not 6 as shown in this thread.

Also, disabling those options, which means Focus Assist is completely off right now, my values are different than yours:

Your "fullscreen" key starts off with this
"Data"=hex(3):02,00,00,00,97,1D,2D,68

While my "fullscreen" key starts with this
"Data"=hex(3):02,00,00,00,C6,8A,02,25

They're very different. The cloudstore stuff probably stores values for a lot more variables than just these settings, otherwise why aren't they just dwords?
 
Last edited:

garlin

Moderator
Staff member
Weird fact, MS likes to insert a header string before the actual hex values. Every other byte is padded by 00's.

"Data"=" ödØ CÂMicrosoft.QuietHoursProfile.PriorityOnlyÊ"
"Data"=" º`dØ CÂMicrosoft.QuietHoursProfile.UnrestrictedÊ"
 

Hellbovine

Active Member
It looks like values in position 5, 6, 7, 8 all change with every reboot. I'm not sure what that means for these keys, but I've seen that strategy employed elsewhere and in those other scenarios it turned out that they were "tracking" values, like for how many times you clicked on a setting to turn it on/off, or how many times the app launched, etc. So in those circumstances I could zero out the values with 00 and the key still worked as expected. I wonder if that's what is happening here too.
 

xbacox2010

New Member
For Enable Focus Assist:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.notifications.quiethourssettings\Current]
"Data"=hex:02,00,00,00,15,7c,93,f1,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,d2,14,28,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2e,00,51,\
00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,00,6f,00,\
66,00,69,00,6c,00,65,00,2e,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,00,79,\
00,4f,00,6e,00,6c,00,79,00,ca,28,d0,14,02,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentfullscreen$windows.data.notifications.quietmoment\Current]
"Data"=hex:02,00,00,00,78,8c,0d,f4,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,c2,14,01,d2,1e,26,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\
2e,00,51,00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,\
00,6f,00,66,00,69,00,6c,00,65,00,2e,00,41,00,6c,00,61,00,72,00,6d,00,73,00,\
4f,00,6e,00,6c,00,79,00,c2,28,01,ca,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentgame$windows.data.notifications.quietmoment\Current]
"Data"=hex:02,00,00,00,ea,06,83,f3,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,c2,14,01,d2,1e,28,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\
2e,00,51,00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,\
00,6f,00,66,00,69,00,6c,00,65,00,2e,00,50,00,72,00,69,00,6f,00,72,00,69,00,\
74,00,79,00,4f,00,6e,00,6c,00,79,00,c2,28,01,ca,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpostoobe$windows.data.notifications.quietmoment\Current]
"Data"=hex:02,00,00,00,4d,ba,6d,f4,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,c2,14,01,d2,1e,28,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\
2e,00,51,00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,\
00,6f,00,66,00,69,00,6c,00,65,00,2e,00,50,00,72,00,69,00,6f,00,72,00,69,00,\
74,00,79,00,4f,00,6e,00,6c,00,79,00,c2,28,01,ca,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpresentation$windows.data.notifications.quietmoment\Current]
"Data"=hex:02,00,00,00,3a,b4,b8,f2,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,c2,14,01,d2,1e,26,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\
2e,00,51,00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,\
00,6f,00,66,00,69,00,6c,00,65,00,2e,00,41,00,6c,00,61,00,72,00,6d,00,73,00,\
4f,00,6e,00,6c,00,79,00,c2,28,01,ca,50,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentscheduled$windows.data.notifications.quietmoment\Current]
"Data"=hex:02,00,00,00,56,ed,67,f2,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a,\
01,c2,14,01,d2,1e,28,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,\
2e,00,51,00,75,00,69,00,65,00,74,00,48,00,6f,00,75,00,72,00,73,00,50,00,72,\
00,6f,00,66,00,69,00,6c,00,65,00,2e,00,50,00,72,00,69,00,6f,00,72,00,69,00,\
74,00,79,00,4f,00,6e,00,6c,00,79,00,c2,28,01,d1,32,80,e0,aa,8a,99,30,d1,3c,\
80,e0,f6,c5,d5,0e,ca,50,00,00
 

garlin

Moderator
Staff member
It looks like values in position 5, 6, 7, 8 all change with every reboot. I'm not sure what that means for these keys, but I've seen that strategy employed elsewhere and in those other scenarios it turned out that they were "tracking" values, like for how many times you clicked on a setting to turn it on/off, or how many times the app launched, etc. So in those circumstances I could zero out the values with 00 and the key still worked as expected. I wonder if that's what is happening here too.
Rafael Rivera says it's a ChangeStamp (or UTC timestamp written out in hex bytes).

Post #1
"Data"=hex(3):02,00,00,00,B4,67,2B,68,F0,0B,D8,01,00,00,00,00,43,42,01,00, -> Monday, January 17, 2022 10:20:17 PM
Post #7
"Data"=hex:02,00,00,00,15,7c,93,f1,9a,7c,d8,01,00,00,00,00,43,42,01,00,c2,0a, -> Friday, June 10, 2022 7:23:12 AM

TLDR - it's safe to copy the exported keys, since Windows DGAF about the timestamps. Loading the reg file doesn't take effect until the next reboot.
 

garlin

Moderator
Staff member
That won't work. When you check any image's Default User\NTUSER.DAT, the entire CloudStore subtree is empty.

CloudStore profiles get added during user provisioning (first logon), so it's not copied from a source. What's possible is adding your reg file to Post-Setup's User - Execution Queue. The problem is you can't modify a profile before it's created, and no guarantee it won't erase your settings.
 

Hellbovine

Active Member
These keys would still need better organizing too. You don't change all 6 keys simultaneously, they each have their own function. It should really be comments for each key individually. I.E. when you just toggle off "When I'm duplicating my display" or back on, etcetera. Right now they're all clumped together and it's not explained what actually is being manipulated in this thread's scenario.

Focus assist is already off by default in a Windows 10 21H2 install anyway, so most users would only need probably just 3 keys, for turning on and off those extra focus assist modes that turn on automatically under certain circumstances. I'm not trying to be rude, but just pasting these 6 keys like this is inaccurate, it's not good info to spread around and not polished enough to add to NTLite in this state. I'll post again later when I get a chance to get on my PC so you can see what I mean.
 
Last edited:

Hellbovine

Active Member
Here's what I mean, the previously posted tweaks actually have 3 keys that are unneeded for ISO tweaking, these are what you'd actually use and organized individually. I also copied the same timestamp into them all so they are uniform:

; Start > Settings > System > Focus assist > When I'm duplicating my display > Off
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpresentation$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,73,00,4F,\
00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

; Start > Settings > System > Focus assist > When I'm duplicating my display > On
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentpresentation$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,C2,14,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,\
74,00,2E,00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,\
00,72,00,6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,\
73,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

; Start > Settings > System > Focus assist > When I'm playing a game > Off
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentgame$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,50,00,72,00,69,00,6F,00,72,00,69,00,74,\
00,79,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

; Start > Settings > System > Focus assist > When I'm playing a game > On
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentgame$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,C2,14,01,D2,1E,28,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,\
74,00,2E,00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,\
00,72,00,6F,00,66,00,69,00,6C,00,65,00,2E,00,50,00,72,00,69,00,6F,00,72,00,\
69,00,74,00,79,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

; Start > Settings > System > Focus assist > When I'm using an app in full screen mode > Off
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentfullscreen$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,\
00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,00,72,00,\
6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,73,00,4F,\
00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

; Start > Settings > System > Focus assist > When I'm using an app in full screen mode > On
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$quietmomentfullscreen$windows.data.notifications.quietmoment\Current]
"Data"=hex(3):02,00,00,00,9B,DF,EE,2C,4F,7F,D8,01,00,00,00,00,43,42,01,00,\
C2,0A,01,C2,14,01,D2,1E,26,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,\
74,00,2E,00,51,00,75,00,69,00,65,00,74,00,48,00,6F,00,75,00,72,00,73,00,50,\
00,72,00,6F,00,66,00,69,00,6C,00,65,00,2E,00,41,00,6C,00,61,00,72,00,6D,00,\
73,00,4F,00,6E,00,6C,00,79,00,C2,28,01,CA,50,00,00

--------------------------------------------------

There is still other settings not listed here that could be tweaked as well:

- In "Focus Assist" you have "Off (default)", "Priority only", "Alarms only"
- In "Automatic rules" you have "During these times" which is off by default
- In "Customize your priority list" there's 8 more options

--------------------------------------------------

Something I planned on testing out when I have time too is if you can alter the OS defaults by instead storing the above keys inside one of these following paths. These 2 paths below seem to be where 'default' settings are stored, and it's possible you could import reg keys to these paths into NTLite images so they get installed with every new user:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud
 

garlin

Moderator
Staff member
Something I planned on testing out when I have time too is if you can alter the OS defaults by instead storing the above keys inside one of these following paths. These 2 paths below seem to be where 'default' settings are stored, and it's possible you could import reg keys to these paths into NTLite images so they get installed with every new user:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud

You can try this on a live system: reg import your keys. Create a new local account, switch to that user.
Either it works, or will have no effect because user provisioning clobbers it.
 

garlin

Moderator
Staff member
I tried copying one of the keys to Default User's NTUSER.DAT, and it breaks all new user accounts from logging on.
So we can't apply new values before first logon.
 
Top