An open API service indexing awesome lists of open source software.

https://github.com/caglaryalcin/after-format

If you have just formatted your Windows 11 computer, you can run this script for a better Windows experience.
https://github.com/caglaryalcin/after-format

appxpackages bloatware bloatware-removal debloat debloater interactive powershell powershell-script prompt ps1 scheduled-tasks silent sysprep windows-10 windows-11 windows-scripts

Last synced: 13 days ago
JSON representation

If you have just formatted your Windows 11 computer, you can run this script for a better Windows experience.

Awesome Lists containing this project

README

          

![Alt Text](https://raw.githubusercontent.com/caglaryalcin/caglaryalcin/refs/heads/main/main.gif)

## After Format

![LATEST RELEASE](https://img.shields.io/github/v/release/caglaryalcin/after-format?label=LATEST%20RELEASE&labelColor=4d4d4d&color=red) ![](https://badgen.net/github/license/caglaryalcin/after-format)

If you new formatted your computer on Windows 11(all versions) you can run this script.

This script allows Windows 1x users to control data collection, privacy and security functions and does exactly the following; (Some are optional: y/n)

Mode Select 

The script first asks you to select one of three modes:

**Normal**, **Game**, and **Developer-Sys Eng** Mode.

Installation and settings will be configured according to these modes.

image

System Settings 

![image](https://github.com/user-attachments/assets/df445708-a6eb-4cc0-9a64-fd5983d0a502)

- It asks if you want region change to Turkiye
- It asks if you want change your hostname
- It asks if you want activating your Windows (Thanks to @massgravel for the script https://github.com/massgravel/Microsoft-Activation-Scripts)

- It asks whether you want to delay Windows updates for longer than the default period

image

- It asks if you want disable windows defender
- It asks if you want date format and keyboard layout
- It asks you to select all folder views in the explorer as 'Details' and set the separator settings as shown by the arrows in the picture

![image](https://github.com/user-attachments/assets/6a5a335f-1ffe-4427-94a0-75d01204668e)

- Ask if you want to add a "startup" task to run at startup (recommended)
- Bringing back the old classic right-click context menu and additional buttons

![image](https://github.com/user-attachments/assets/1066a699-f11c-4266-a481-cc000da1b451)
![image](https://github.com/user-attachments/assets/572b299c-a032-4394-b625-7e092e1bfbed)

- Taskbar aligns left
- Disabling snap
- Adding ohmypush to Windows Terminal (Only Dev/Sys-Eng and Normal mode)

![image](https://github.com/user-attachments/assets/154e85b6-0872-45ee-b6bb-846655846890)

- Disabling gallery folder
- Desktop button in taskbar is enabled
- Disabling sync your settings
- Disabling spotligt
- Disabling toast and apps notifications on lock screen
- Disabling windows media player diagnostics
- Disabling extension of windows search with bing
- Default old photo viewer
- Setting dark mode for applications
- Setting dark mode for system
- Setting control panel view to large icons
- Disabling user interface and device recognition features
- Enabling numlock after startup
- Disabling windows beep sound
- Disabling ipv6 stack
- Disabling virtual ethernet adapters
- Setting cloud flare dns
- Configuring windows explorer settings
- Expanding for file explorer
- Hiding recycle bin shortcut from desktop
- Disabling hiberfil.sys
- Disabling display and sleep mode timeouts
- Disabling updates for other microsoft products
- Disabling bing search in start menu
- Disabling smartscreen filter
- Disabling sensors
- Disabling tailored experiences
- Disabling xbox features (Only Dev/Sys-Eng and Normal mode)
- Disabling blocking of downloaded files
- Disabling nightly wake-up for automatic maintenance
- Disabling storage sense
- Disabling built-in adobe flash in ie and edge
- Disabling edge preload
- Disabling internet explorer first run wizard
- Disabling windows media player online access
- Disabling action center (notification center)
- Disabling system restore for system drive
- Setting low uac level
- Removing unnecessary tasks
- Enabling clearing of recent files on exit
- Disabling recent files lists
- Disabling search for app in store for unknown extensions
- Hiding Recently Added, Recommended Settings, Apps, Personalized Sites and Section from list from the start menu
- Stopping and disabling unnecessary services (Xbox features are being removed)
- Disabling news and interest on taskbar
- Hiding people icon from taskbar
- Hiding taskview icon from taskbar
- Hiding multitaskview icon from taskbar
- Showing small icons in taskbar
- Hiding taskbar search
- Hiding 'All' section from taskbar
- Removing chat from taskbar
- Removing widgets from taskbar
- Enabling telnet client (Only Dev/Sys-Eng and Normal mode)
- Setting automatic kill of unsaved changes when trying to log out, restart or close

![image](https://github.com/user-attachments/assets/869227a1-a299-4e20-8450-b0ba279409ff)

- Removing Quota on the disk menu
- Setting password never expires for local admins
- Disabling Account Notifications
- Setting End task button
- Disabling Category View on the taskbar
- Enabling WSL
- Memory compression is enabled or disabled based on the amount of RAM
- Enabling launch folder Windows in a separate
- Disabling Location Notifications
- Enabling Sudo (Only Dev/Sys-Eng and Normal mode)
- Removing shortcut name
- Mapped Drives Available in the Elevated Command Prompt Are Being Enabled
- Some applications have their GPU mode set to 'performance'
- Known Windows errors are fixed

![image](https://github.com/user-attachments/assets/5d44a918-bf3f-49df-a27a-105b461a07e3)

- Unpinning all start menu tiles

Privacy Settings 

![image](https://github.com/user-attachments/assets/ed4a0085-fe62-4e33-967a-4a3a1ccdd812)

- Disabling telemetry
- Blocking telemetry in host file
- Disabling feedback
- Disabling activity history
- Disabling clipboard history
- Disabling user steps recorder
- Turning off text suggestions for hardware keyboard
- Disabling app launch tracking
- Disabling website access to language list
- Stopping and disabling Connected User Experiences and Telemetry service
- Disabling advertising ID
- Disabling Wi-Fi Sense
- Disabling application suggestions
- Disabling UWP apps background access
- Disabling access to voice activation from UWP apps
- Disabling access to notifications from UWP apps
- Disabling access to account info from UWP apps
- Disabling access to contacts from UWP apps
- Disabling access to calendar from UWP apps
- Disabling access to phone calls from UWP apps
- Disabling access to call history from UWP apps
- Disabling access to email from UWP apps
- Disabling access to tasks from UWP apps
- Disabling access to messaging from UWP apps
- Disabling access to radios from UWP apps
- Disabling access to other devices from UWP apps
- Disabling access to diagnostic information from UWP apps
- Disabling access to libraries and file system from UWP apps
- Disabling UWP apps swap file
- Disabling automatic maps updates
- Disabling windows update automatic restart
- Disabling windows update automatic downloads

Install Softwares 

![image](https://github.com/user-attachments/assets/048bf752-293e-474e-944d-f15fe9dcecb6)

> 💡The following packages will be installed based on the answer you provide at the beginning of the script (normal, gaming, or developer).

![image](https://github.com/user-attachments/assets/88b71d2a-3e78-4ecf-aeb8-df98f7952a3d)

- Chrome
- Brave
- Firefox
- Steam
- Epic Games
- HWMonitor
- CrystalDisk Info
- VirtualBox
- Signal
- VSCode (with extensions)
- Notepad
- Windows SDK
- Node.js
- Python
- Git
- AnyDesk
- Terminal
- Speedtest cli
- GitHub
- VLC
- TreeSize
- Total Commander
- Wireshark
- Deluge
- DBeaver
- Cryptomator
- Microsoft Teams
- SteelSeries
- Java
- 7zip
- Flameshot
- Twinkle Tray
- Codec Pack Mega
- Malwarebytes
- ClaudeCode
- Internet Download Manager
- Cloudflare Warp
- OpenRGB
- Tailscale
- WinFsp for Cryptomator
- NVCleanstall
- Rufus
- Regshot
- Yarn

Remove Unused apps/Softwares 

![image](https://github.com/user-attachments/assets/6166868e-7eef-4012-b530-ee6c10eb6674)

- Uninstalling default third party applications
- It asks if you want disable Microsoft Copilot.
- Uninstalling windows media player
- Uninstalling work folders client
- Uninstalling microsoft XPS document writer
- Removing default fax printer
- Uninstalling windows fax and scan services
- Removing 3D folders
- Microsoft edge privacy settings are being adjusted
- It asks if you want remove unnecessary tasks
- It asks if you want uninstall windows onedrive
- It asks if you want uninstall windows edge

![edge(1)](https://github.com/user-attachments/assets/3ee26ac9-7aeb-43cc-ae5a-567d730d1480)

Startup Script 

![image](https://github.com/user-attachments/assets/b2cc1a6e-7354-4f0b-a572-6a181bcd2a43)

- This script adds a task named 'startup' to the task scheduler. This task does exactly the following;

> startup task > This task starts 3 minutes after the computer is turned on, runs again every 3 hours and performs the following operations.

- It does expand for file explorer ribbon
- It does removing stick keys
- f12 is disabled for snipping tool
- It does remove toggle keys
- It does remove unnecessary tasks(update and such) in task scheduler
- It does remove windows defender icon in taskbar
- Disables unnecessary applications that open on connection (It varies depending on the mode selected at the beginning)
- It does remove microsoft edge updates in task scheduler
- It does remove google chrome updates in task scheduler
- It does enable shot desktop button
- Sync windows localtime

> upgrade-packages > This task runs 3 minutes after the computer is turned on and performs the following operations.

- Updates all applications and packages with winget.

## Start the script
> [!WARNING]
> Great care went into making sure this script does not unintentionally break any OS functionality, but use at your own risk!

> [!NOTE]
> If you have 100 Mbps internet, this script takes the following amount of time depending on the modes.

**Normal**: 15min

**Gaming**: 30min

**Dev-Sys**: 60min

> [!IMPORTANT]
> Powershell must be run as admin

```powershell
iwr "set.caglaryalcin.com" -UseB | iex
```