Skip to content
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

[Feature Request] Navigate to policies by ID with command line arguments #60

Open
fuweichin opened this issue Jan 19, 2023 · 0 comments
Labels
enhancement A request for additional functionality

Comments

@fuweichin
Copy link

fuweichin commented Jan 19, 2023

Problem
I'm working on an application called Windows Tweak Tool which helps user to change system settings via Registry, Group Policy or Command. I want to let users know what the application actually does when changing a setting, e.g. tring opening a system dialog / reg file preview when "Configure Atomatic Updates", rather than changing Group Policy / Registry directly with PowerShell / CMD, since Group Policy Editor cannot be automated via command line, I hope Policy Editor can do that.

Similar Solutions
To locate a file in Windows Explorer, the command line below can be used

explorer.exe /select,"C:\Users\Administrator\Downloads\README.md"

Possible Solution
To locate/edit a policy object in Policy Plus, I expect such command line (dummy for now)

PolicyPlus.exe /select,"Microsoft.Policies.WindowsUpdate:AutoUpdateCfg"
PolicyPlus.exe /edit,"Microsoft.Policies.WindowsUpdate:AutoUpdateCfg"

Things to do to support the feature

  • make the application single-instance
    • when a second instance of the application launched, activate the first instance, and exit current second instance.
  • cross-process communication
    • when a second instance of the application launched, send command-line arguments to the first instance if any
    • when the first instance received arguments from a second instance, check if there is any dialog open, if there is, close/cancel it first
@Fleex255 Fleex255 added the enhancement A request for additional functionality label Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request for additional functionality
Projects
None yet
Development

No branches or pull requests

2 participants