https://github.com/perryflynn/my-windows-config
Disable Cortana, forced updates and other annoying stuff
https://github.com/perryflynn/my-windows-config
automation configuration-management powershell privacy windows-10
Last synced: about 2 months ago
JSON representation
Disable Cortana, forced updates and other annoying stuff
- Host: GitHub
- URL: https://github.com/perryflynn/my-windows-config
- Owner: perryflynn
- License: mit
- Created: 2021-07-18T00:24:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-29T20:46:59.000Z (over 1 year ago)
- Last Synced: 2025-07-13T01:53:06.485Z (9 months ago)
- Topics: automation, configuration-management, powershell, privacy, windows-10
- Language: PowerShell
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# my-windows-config
Disable Cortana, forced updates, telemetry and other annoying stuff.
Requires a Windows Edition which allows using the Group Policy Editor.
## Install
```ps1
new-item -itemtype directory -force -path \configs
Invoke-WebRequest -Uri "https://github.com/perryflynn/my-windows-config/raw/main/set-policies.ps1" -OutFile "\configs\set-policies.ps1"
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
\configs\set-policies.ps1
```
## Feature Flags
Feature Flags can be set by just creating empty text files in `C:\configs`:
| File | Description|
|------|------------|
| `enable-logoninfo.txt` | Show infos about last successful and failed login when logging in |
| `enable-trueshutdown-icon.txt` | Place shortcuts on the Desktop for reboot and shutdown via `shutdown.exe` |
| `enable-uninstallpackages.txt` | Uninstall bloatware; **Check carefully** the `$packages` list in the script if that fits for you! |
## Example output
**PS C:\WINDOWS\system32>** `\configs\set-policies.ps1`
```
[i] PolicyFileEditor cmdlet already installed
[i] Policy File: C:\Windows\system32\GroupPolicy\Machine\registry.pol
[*] Disable Windows Advertising ID
[*] Disable data collection for input personalization
[*] Disable online tips
[*] Disable cloud content
[*] Disable telemetry and feedback
[*] Disable MS Edge data collection
[*] Disable Windows Preview builds
[*] Disable Microsoft accounts
[*] Configure the new MS Edge (Chromium)
[*] Disable Windows feeds
[*] Disable cortana, web search and cloud functions in windows search
[*] Disable data synchronization
[i] 'Show logoninfo' is disabled. Create a empty 'C:\configs\enable-logoninfo.txt' to enable.
[*] Disable automatic updates, show notifications on new updates
[*] Disable wake up system for windows updates
[*] Disable Upgrade to Windows 11
[*] Disable error reporting
[*] Disable consumer experience reporting
[*] Disable application telemetry
[*] Disable auto connect to suggested hotspots
[*] Disable P2P Windows Update features
[*] Disable OneDrive
[*] Disable soft-disconnect for Wifi connections
[*] Disable PowerShell Telemetry
[*] Create shortcut for true reboot/shutdown on desktop
[*] Uninstall package 'Microsoft.Windows.PeopleExperienceHost_10.0.19041.3636_neutral_neutral_cw5n1h2txyewy' on all accounts
[*] Uninstall package 'Microsoft.XboxGameCallableUI_1000.19041.3636.0_neutral_neutral_cw5n1h2txyewy' on all accounts
[*] Apply changes...
Updating policy...
Computer Policy update has completed successfully.
User Policy update has completed successfully.
[*] Generate report in C:\Temp\GPReport.html
```