Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.08k forks source link

How do I enable or disable settings #251

Closed bluefiberbread closed 5 years ago

bluefiberbread commented 5 years ago

Do I add # to disable a function or do I have to remove the entire function?

Disassembler0 commented 5 years ago

It's enough to comment the function in a preset. See Advanced usage - presets

bluefiberbread commented 5 years ago

It looks like this when I want to disable background application access. https://i.imgur.com/6U3XN3k.jpg

Is that intended

Disassembler0 commented 5 years ago

That's not the file you should be editing. You most likely want to edit only the Default.preset file and comment the line with DisableBackgroundApps by prepending # sign . I suggest you read the docs I linked above.

bluefiberbread commented 5 years ago

Yup that makes sense. Include it in "Usage" too