We are using a Workaround
Create a .bat File
icacls %windir%\system32\config\*.* /inheritance:e
vssadmin delete shadows /all /quiet
Create a File Called Windows_10_all.mof
instance of MSFT_SomFilter
{
Author = "Administrator@domain";
ChangeDate = "20210722135205.787000-000";
CreationDate = "20210722134746.125000-000";
Description = "Windows 10 Clients only";
Domain = "domain";
ID = "{677E2CEF-BCFC-46A5-B4D6-61C9A70250E8}";
Name = "Windows 10 Only";
Rules = {
instance of MSFT_Rule
{
Query = "Select * from Win32_OperatingSystem where Version like \"10.%\" and ProductType=\"1\"";
QueryLanguage = "WQL";
TargetNameSpace = "root\\CIMv2";
}};
};
Create a GPO for the Startup Script
Copy the Above batch into the created directory.
Use MWI Filter
Goto WMI Filter, rightclick import the file from above
or do it lazy, by create it manually
"Select * from Win32_OperatingSystem where Version like \"10.%\" and ProductType=\"1\"";
After that, select your GPO on the left side and afterwards select on the right downside your WMI Filter.
Conclusions
This is just a Workaround which Microsoft tells to do, most Websites only Explain to fix the File instead of Folder Permissions.