windows10 icon indicating copy to clipboard operation
windows10 copied to clipboard

Scripts refactoring

Open savchenko opened this issue 5 years ago • 0 comments

This issue is about refactoring a content of https://github.com/stoptracking/windows10/tree/virt/Scripts

  • We are dealing with what is predominantly a bunch of key:value pairs that are changed to achieve the desirable behaviour of Windows 10.
  • In virt branch, there is already a separation of tasks between different domains. However, the way this is all constructed is suboptimal: it does not allow easy maintenance.

Here is what I would like to do:

  • Have a single spreadsheet where we track, along these lines:
Description Hive Path Property Type Value
Enable Firewall for Public profile HKLM SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile EnableFirewall DWORD 1
Drop incoming connections by default HKLM SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile DefaultInboundAction DWORD 1
  • We can expand for actions that imply executing command instead of the registry modification
  • Have a Python script that creates *.ps1 procedurally from the above-mentioned spreadsheet

savchenko avatar Aug 19 '20 23:08 savchenko