New
#10
@SM03,
It appears this will no longer work. Any attempts made to make something work just ends with a broken Action Center.
Hopefully something will come along in the future.
I figured out how to expand it programmatically.
ShellExperienceHost.reg:
Windows Registry Editor Version 5.00
[HKEY_USERS\ShellExperienceHost\LocalState]
"isQuickActionCenterViewExpanded"=hex(5f5e10b):01,9a,c0,d7,b7,26,27,d6,01
Sample script: (only tested on a Windows 1909 Pro x64 VM)
taskkill /f /im ShellExperienceHost.exe
reg load HKU\ShellExperienceHost "%LOCALAPPDATA%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\Settings\settings.dat"
reg import ShellExperienceHost.reg
reg unload HKU\ShellExperienceHost
Notes:
- The settings are stored in the registry hive located in %LOCALAPPDATA%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\Settings
- The value is of type 5f5e10b. I don't think you can set that with reg.exe, so you need to import the reg file.
- The first byte seems to determine if it's expanded (01) or not (00). The rest of the bytes appear to be a timestamp. I just copied it after expanding it manually.
- After you run the script, if you click on the Action Center icon on the taskbar, ShellExperienceHost.exe will start up and it should now be expanded.
- To apply for new users, you probably want to copy the modified settings.dat into the corresponding folder with a RunOnce script. Haven't tested it though.
More information:
How can I edit the settings.dat file for Windows Store Apps in Powershell? - Stack Overflow
Manipulating settings.dat File with Settings from Windows Store Apps | Damir's Corner
Inspecting local and roaming settings for Windows 8 Store app |
Andrei Marukovich - Software Architect, Developer & Speaker
Is there anything that come out for this? in 20H1 or in any recent build?
- - - Updated - - -
I didn't find any reg path like this as you mentioned
HKEY_USERS\ShellExperienceHost\LocalState
can you recheck? And can you share the script for testing? which version of Windows did you use?
You need to load this hive first:
%LOCALAPPDATA%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\Settings\settings.dat
To do it manually, open regedit, then highlight HKEY_USERS, File > Load Hive. Then set any name you wish (I chose ShellExperienceHost, hence the path is HKEY_USERS\ShellExperienceHost\LocalState).
Note that you must stop ShellExperienceHost.exe to be able to load the hive.
Hope this helps.
Hi Brink
i tried some values if it works then i erased completely this HKEY_CURRENT_USER\Control Panel\Quick Actions
that was my Quick Actions entry that i exported to a reg file, i am applying reg file but all i am getting a flash at the right of the screen when i tam trying to open action center (win+a)
i restarted explorer, i restart windows nothing changes
can you write default values if it works?Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Quick Actions]
[HKEY_CURRENT_USER\Control Panel\Quick Actions\Control Center]
"AppliedDefaultPins"=dword:00000001
[HKEY_CURRENT_USER\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture]
"GroupCount"=dword:00000003
"Toggles"="Toggles,Microsoft.QuickAction.Connect:false,Microsoft.QuickAction.Bluetooth:false,Microso ft.QuickAction.ScreenClipping:false,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAc tion.AllSettings:false,Microsoft.QuickAction.Project:false,Microsoft.QuickAction.MobileHotspot:false ,Microsoft.QuickAction.AirplaneMode:false,Microsoft.QuickAction.NearShare:false,Microsoft.QuickActio n.AvailableNetworks:false,Microsoft.QuickAction.Vpn:false,Microsoft.QuickAction.QuietHours:false,Mic rosoft.QuickAction.Location:false,Microsoft.QuickAction.BatterySaver:false"
"Flows"="Flows"
"Sliders"="Sliders"
[HKEY_CURRENT_USER\Control Panel\Quick Actions\Control Center\Unpinned]
"Microsoft.QuickAction.WiFi"=hex(0):
"Microsoft.QuickAction.Brightness"=hex(0):
[HKEY_CURRENT_USER\Control Panel\Quick Actions\Pinned]
Just to verify, did you delete the PinnedQuickActionSlotCount DWORD from the tutorial in the HKEY_CURRENT_USER\Control Panel\Quick Actions key, and restart the explorer process (not File Explorer) like below?
Restart explorer.exe Process in Windows 10