mandiant / mandiant/VM-Packages
debloat: stop on failure
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 246
- Forks
- 98
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 7
Description
### Details
On Windows 11 the debloat package fails to apply the following configuration:
```
```
Procesing the configuration causes the following error and that **the rest of the debloat config is not processed/applied**.
```
Disable Microsoft Connectivity Test (msftconnecttest.com) has been successful
An error occurred while applying config. Error: Cannot validate argument on parameter 'type'. The argument "REG_DWORD" does not belong to the set "String,ExpandString,Binary,DWord,QWord,MultiString,Unknown" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
```
We need to fix or remove this configuration line. But even more important, **we need to ensure we handle errors and the debloat continues even if one config item fails**.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.