KENIONEK_OS_DEPLOYMENT_v6

01_Pre-Installation_Audit
PowerShell Admin

Deep Software Inventory

Exports all apps, versions, and install paths to an HTML file on Desktop.
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallLocation | Where-Object {$_.DisplayName -ne $null} | Sort-Object DisplayName | ConvertTo-Html | Out-File "$env:USERPROFILE\Desktop\Software_Audit.html"
PowerShell Admin

Network & Drivers

Backup Wi-Fi keys and system drivers to Z: drive.
netsh wlan export profile folder="Z:\" key=clear; Export-WindowsDriver -Online -Destination "Z:\Drivers_Backup"
PowerShell Admin

Hardware Health Check

Check BitLocker status and generate a battery health report.
manage-bde -status C:; powercfg /batteryreport /output "$env:USERPROFILE\Desktop\battery_health.html"
02_Migration_Tools
CMD / PS Admin

High-Speed Robocopy

Fast multi-threaded move of Desktop & Docs to Z:.
robocopy "%USERPROFILE%\Desktop" "Z:\Backup\Desktop" /E /ZB /MT:16 /R:3 /W:5 & robocopy "%USERPROFILE%\Documents" "Z:\Backup\Docs" /E /ZB /MT:16 /R:3 /W:5
PowerShell Admin

Massive File Scanner

Locate files >1GB in User folders to save backup space.
Get-ChildItem -Path C:\Users -Recurse -File -ErrorAction SilentlyContinue | Where-Object {$_.Length -gt 1GB} | Sort-Object Length -Descending | Select FullName, @{N='GB';E={$_.Length/1GB}}
03_Optimization
PowerShell Admin

Bloatware Purge

Removes pre-installed ads (TikTok, Disney+, etc).
Get-AppxPackage -Name "*Disney*","*Spotify*","*TikTok*","*PrimeVideo*","*Clipchamp*","*OfficeHub*" | Remove-AppxPackage
CMD / PS Admin

UI Enhancement

Classic Right-Click, Show Extensions, Taskbar Left.
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve & reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f & reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarAl /t REG_DWORD /d 0 /f & taskkill /f /im explorer.exe & start explorer.exe
PowerShell Admin

Privacy Shield

Disables Windows Telemetry and Background tracking.
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f; Set-Service DiagTrack -StartupType Disabled; Stop-Service DiagTrack
04_Repair_Tools
CMD / PS Admin

System & Network Repair

Runs DISM, SFC, and resets Network Stack/DNS.
dism /online /cleanup-image /restorehealth & sfc /scannow & netsh int ip reset & ipconfig /flushdns