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
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)
Things to do to support the feature