Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
winget upgrade powershell
Chocolaty Packages: ~3GB+
choco install `
discord `
qbittorrent `
clavier-plus `
temurin21 `
nodejs `
python `
firefox `
googlechrome `
git `
vlc `
winrar `
curl `
pgadmin4 `
sumatrapdf `
kubernetes-helm `
kubernetes-cli `
vim `
multimc `
postman `
yt-dlp `
dotnet `
telegram `
bulk-crap-uninstaller `
obs-studio `
docker-desktop `
adb `
gradle `
maven `
putty `
openssl `
intellijidea-ultimate `
brave `
zoom `
obsidian -y --ignore-checksums
Microsoft Store Programs: (whatsapp only + powertoys, etc.)
# WhatsApp
winget install -e -i --id=9NKSQGP7F2NH --source=msstore
# PowerToys
winget install Microsoft.PowerToys --source winget
# Outlook
winget install -i -e --id=9NRX63209R7B --source=msstore --accept-package-agreements
Other Progrmas: (steam only)
# Download Steam installer
Invoke-WebRequest -Uri "https://cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe" -OutFile "$env:TEMP\SteamSetup.exe"
# Install Steam silently
Start-Process -FilePath "$env:TEMP\SteamSetup.exe" -ArgumentList '/S' -Wait
wsl --install -d Ubuntu
# Install ssh-server need for agent
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Run server on startup
Set-Service -Name ssh-agent -StartupType Automatic
# Generate ssh keys
ssh-add ~\.ssh\id_rsa
# Add keys identity
ssh-add .\.ssh\id_rsa
# Verify the Key Addition:
ssh-add -l
May be unsafe but 👉👉👉👉👉👉 free-activate ~~ lol 70k stars pepeWait ~~
Deletes previous settings:
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU' -Recurse
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' -Recurse
Set list view:
$FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
gci $FT -Recurse | ? Property -Contains 'LogicalVIewMode' | %{
$_.Name -match 'FolderTypes\\(.+)\\TopViews' | out-null
$matches[1]
} | select -unique | %{
New-Item "HKLM:\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\$_" -Force |
Set-ItemProperty -Name 'Mode' -Value 3 -PassThru |
Set-ItemProperty -Name 'LogicalViewMode' -Value 4
}
Disable grouping folders:
$RegExe = "$env:SystemRoot\System32\Reg.exe"
$File = "$env:Temp\Temp.reg"
$Key = 'HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}'
& $RegExe Export $Key $File /y
$Data = Get-Content $File
$Data = $Data -Replace 'HKEY_LOCAL_MACHINE', 'HKEY_CURRENT_USER'
$Data = $Data -Replace '"GroupBy"="System.DateModified"', '"GroupBy"=""'
$Data | Out-File $File
& $RegExe Import $File
$Key = 'HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell'
& $RegExe Delete "$Key\BagMRU" /f
& $RegExe Delete "$Key\Bags" /f
Stop-Process -Force -ErrorAction SilentlyContinue -ProcessName Explorer
Remove OneDrive via PowerShell:
## Kill the OneDrive process
taskkill /f /im OneDrive.exe
# Uninstall OneDrive
# For x64 system (I tested it on my machine)
cmd -c "%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall"
# For x86 machines
cmd -c "%SystemRoot%\System32\OneDriveSetup.exe /uninstall"