This REG file will create a registry-based policy to block the Store app after a reboot. This is a workaround for Secpol.msc or Gpedit.msc.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\safer\CodeIdentifiers]
"TransparentEnabled"=dword:00000001
"DefaultLevel"=dword:00040000
"PolicyScope"=dword:00000000
"AuthenticodeEnabled"=dword:00000000
"ExecutableTypes"=hex(7):45,00,58,00,45,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\safer\CodeIdentifiers\0\Paths\{EE7F5AAC-8519-3102-6957-0A3B26B0417F}]
"ItemData"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsStore*"
"SaferFlags"=dword:00000000
To fix the Secpol/gpedit error, you may try resetting the policies to default.
Ref: https://www.tenforums.com/tutorials/68549-reset...
If that doesn't fix the error, a repair installation using the Media Creation Tool can help. If necessary, we can run a ProcMon trace to do a detailed analysis.
Standard Disclaimer: There is a link to a non-Microsoft website. The page appears to provide accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as PUPs (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.