{"id":20359074,"url":"https://github.com/khlam/windows","last_synced_at":"2025-09-17T15:39:24.140Z","repository":{"id":49826896,"uuid":"387901419","full_name":"khlam/windows","owner":"khlam","description":"Removes bloatware, tidies interfaces, and updates/installs my preferred default programs with Chocolatey.","archived":false,"fork":false,"pushed_at":"2022-08-21T17:58:33.000Z","size":1581,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T08:09:24.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khlam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-20T20:02:34.000Z","updated_at":"2022-07-11T15:06:05.000Z","dependencies_parsed_at":"2022-08-25T18:22:04.408Z","dependency_job_id":null,"html_url":"https://github.com/khlam/windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khlam%2Fwindows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khlam%2Fwindows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khlam%2Fwindows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khlam%2Fwindows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khlam","download_url":"https://codeload.github.com/khlam/windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895458,"owners_count":20038513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:30:46.794Z","updated_at":"2025-09-17T15:39:19.097Z","avatar_url":"https://github.com/khlam.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e Every day I hope and pray for equilivent gaming on Linux.\r\n\r\n# Windows All-In-One Script\r\nRemoves bloatware, tidies interfaces, and updates/installs my preferred default programs with Chocolatey.\r\n\r\n### Other\r\n- Enable [HyperV](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v): `Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All`\r\n\r\n### Run\r\n1. Modify the following configuration files as needed\r\n    - [`chocoInstall.txt`](./chocoInstall.txt)\r\n    - [`Default.preset`](./Default.preset)\r\n    - [`hosts.txt`](./hosts.txt)\r\n    - [`telemetryIPs.txt`](./telemetryIPs.txt)\r\n\r\n2. Run [`Default.cmd`](./Default.cmd) as administrator.\r\n\r\n### References\r\n- Originally forked from https://github.com/Disassembler0/Win10-Initial-Setup-Script\r\n- https://github.com/chocolatey/choco\r\n- https://github.com/lord-carlos/nvidia-update\r\n- https://github.com/CHEF-KOCH/GamingTweaks\r\n- https://github.com/W4RH4WK/Debloat-Windows-10\r\n- https://gist.github.com/IntergalacticApps/675339c2b805b4c9c6e9a442e0121b1d\r\n- https://github.com/Nummer/Destroy-Windows-10-Spying\r\n\r\n### Hosts\r\nThis script will append to the system hosts file, blocking all requests by redirecting these host names to `127.0.0.1`. You can change the hosts it will append in [`hosts.txt`](./hosts.txt).\r\n\r\n### Chocolatey\r\nThis script uses Chocolatey to automate updating and installing windows packages. You can change the packages it checks in [`chocoInstall.txt`](./chocoInstall.txt).\r\n\r\nSome packages have optional install parameters, you can automate installation by seperating the desired parameter in `chocoInstall.txt` with a `|`.\r\nFor example, to install [git](https://chocolatey.org/packages/git.install) with its no GUI parameter,\r\n\u003e `choco install git.install --params \"/NoGuiHereIntegration\"`\r\n\r\nThe line in `chocoInstall.txt` would look like so,\r\n\u003e `git.install|--params \"/NoGuiHereIntegration\"`\r\n\r\n### Search Fix [Depreciated]\r\nThe following steps fixed Windows search. This is due to some initialization not started by some MS services that are disabled for privacy. You should not need to do this more than once. This seems to have been fixed in some Windows update.\r\n1. Log into another admin account\r\n2. Go to\r\n    - `C:\\Users\\\u003cProblemUserName\u003e\\AppData\\Local\\Packages`\r\n3. Delete folder named \r\n    - `Microsoft.Windows.Cortana....`\r\n4. Log out and log back into main account\r\n5. Start admin powershell and run command:\r\n    - `Add-AppxPackage -DisableDevelopmentMode -Register \"$(Get-AppxPackage -Name *Cortana* | Select -Expand InstallLocation)\\AppXManifest.xml\"`\r\n    - This will re-register and enable Cortana.\r\n6. Reboot\r\n7. (Optional) Run win10 clean script again to disable Cortana. Start menu search should work.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhlam%2Fwindows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhlam%2Fwindows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhlam%2Fwindows/lists"}