-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export/Import POL improvements and issues #19
Comments
Thanks for the detailed report! There are a lot of separate moving parts here that can be difficult to keep track of. Interestingly, Microsoft POL files don't actually contain the comments - those are stored in the accompanying CMTX file. It would be nice to somehow keep those connected, though. I could imagine an extension to the Semantic Policy format and some UI improvements to facilitate selecting only some policies for inclusion. (Semantic Policy is the best way to export only a few policies, though admittedly that is very inconvenient at the moment.) The ADMX workspace defines which policy definitions are loaded, i.e. what policies are available to edit. This is independent of the actual Registry-based policy settings, which are stored in the policy resources (usually a POL file). To open an ADMX workspace and make policy definitions appear, use Open ADMX Folder. The Save Policies command operates on the currently loaded policy resources, so if you've opened a POL file, it will only save changes to that POL file and will not integrate them into the local GPO. To restore policies from a POL file, use Import POL while the local GPO is the current policy resource. Also note that a Not Configured policy state in a POL is the absence of any setting, so Not Configured can never overwrite any other state. (Import Semantic Policy can set a policy to Not Configured, though.) Hopefully this clears up some things. I'll see about some improvements to the export features. |
Thanks. It confirms what I thought. Keep comments would be great because I use them to organize my policies. |
How to use semantic pol ? Is it planned to export in spol format ? |
The original design goal of Semantic Policy was to allow people (even if just myself) answering on Q&A sites to share policy edits in a format that is shorter and more trustable than REG files. I imagined copying the Semantic Policy Fragment from each required setting and pasting it into the post editor as I go. To facilitate applying changes to several computers, I would instead paste into a text file. Automatically exporting in SPOL format would be nice and I'd like to add it at some point, but it's not currently a top priority. |
Ben,
Keep up the good work; your product has really helped me manage an increasingly unwieldy OS.
Don Mohr
On Saturday, October 21, 2023 at 11:12:27 AM PDT, Ben Nordick ***@***.***> wrote:
The original design goal of Semantic Policy was to allow people (even if just myself) answering on Q&A sites to share policy edits in a format that is shorter and more trustable than REG files. I imagined copying the Semantic Policy Fragment from each required setting and pasting it into the post editor as I go. To facilitate applying changes to several computers, I would instead paste into a text file.
Automatically exporting in SPOL format would be nice and I'd like to add it at some point, but it's not currently a top priority.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Would be very nice if you could open a POL file, edited it and clicked some "apply" button for a specific setting or for the whole file to apply it to the system GPO instead of having to save the file, reopen |
It would help if you version your app.
Steps to reproduce
Results
At this point it seems all the configured policies were exported in the POL file but without the comments.
I need PP to export only the filtered policies instead with the comments. The only way to export only some policies is to open exported POL file and use Edit RAW POL to forget unnecessary keys. Then export again to the same POL file to keep only the wanted set of policies.
Expectations
Questions
The text was updated successfully, but these errors were encountered: