@victorkrazan6267 I just read this part after making my domain central store reccomendations.
We have some non-domain computers and I utilized copying the admx files to C:\Windows\PolicyDefinitions for setting the policies in local group policies. You could theoretically embed them in your image as well.
You can also use the policyfileeditor module https://www.powershellgallery.com/packages/PolicyFileEditor/3.0.1
to edit the local group policy as part of that script.
i.e. to set chrome to always open pdfs externally you could do
$machinePol = "C:\WINDOWS\system32\grouppolicy\machine\Registry.pol"; $chromeKey= "Software\policies\google\chrome"; Set-PolicyFileEntry $machinePol -key $chromeKey -ValueName "AlwaysOpenPdfExernally" -Data 1 -Type DWord;
It takes a little time to learn that module. But it’s pretty useful to have a way to script changes to local group policies.