AndyFul / ConfigureDefender

Utility for configuring Windows 10 built-in Defender antivirus settings.
Other
1.13k stars 101 forks source link

Retrieve current config and display #20

Closed ivandretvic closed 2 years ago

ivandretvic commented 2 years ago

When opening the tool, it doesn't add the current config to the individual settings.

Desired state: Open tool. It retrieves current configuration of system and updates all fields/exceptions/etc Changes made after the initial load are reflected in system.

This would make it easy to troubleshoot certain settings on an existing config (provided by MDM policy)

Currently, opening the app does not read the current configuration state, represented by Get-MPPreferences command

AndyFul commented 2 years ago

If ConfigureDefender works properly then it reads the current settings and reflects them in the application Window. If it does not work in this way then something prevents ConfigureDefender to read the information from the Windows Registry. ConfigureDefender uses PowerShell cmdlet Get-MPPreferences to gather the current settings.