windows10
windows10 copied to clipboard
Scripts refactoring
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:valuepairs that are changed to achieve the desirable behaviour of Windows 10. - In
virtbranch, 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
*.ps1procedurally from the above-mentioned spreadsheet