Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:install_windows [2025/09/08 07:19] – removed - external edit (Unknown date) 127.0.0.1 | en:install_windows [2025/09/08 07:19] (current) – ↷ Links adapted because of a move operation derek | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | == Install Windows | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * Win10 update assistant https:// | ||
+ | * Win11 update assistant https:// | ||
+ | |||
+ | === OOBE | ||
+ | <WRAP colmedium> | ||
+ | * OOBE bypass | ||
+ | * < | ||
+ | * defaults apps '' | ||
+ | * language '' | ||
+ | * regional '' | ||
+ | * date/time '' | ||
+ | * Network connections '' | ||
+ | * firewall '' | ||
+ | * Printers '' | ||
+ | * programs add/remove '' | ||
+ | * windows features '' | ||
+ | * system propoerties '' | ||
+ | * device manager '' | ||
+ | * restart computer '' | ||
+ | * windows update '' | ||
+ | * user management | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | </ | ||
+ | |||
+ | === create local admin Owner | ||
+ | net user /add Owner /y | ||
+ | net localgroup administrators Owner /add | ||
+ | net user Owner "" | ||
+ | |||
+ | === set language | ||
+ | Set-ExecutionPolicy Bypass -Force | ||
+ | $repo=" | ||
+ | $drv=" | ||
+ | $f=" | ||
+ | .\drv-setlang.ps1 us | ||
+ | |||
+ | == ESSENTIALS | ||
+ | |||
+ | === Essential DRV | ||
+ | <code powershell> | ||
+ | <# prepare DRV & utils #> | ||
+ | Set-ExecutionPolicy Bypass -Force | ||
+ | $repo=" | ||
+ | $drv=" | ||
+ | $f=" | ||
+ | { Invoke-WebRequest " | ||
+ | $f=" | ||
+ | $f=" | ||
+ | & " | ||
+ | $f=" | ||
+ | $f=" | ||
+ | Add-Content " | ||
+ | ### windows settings | ||
+ | Enable-ComputerRestore -Drive C: -EA SilentlyContinue #System protection | ||
+ | ### set registry mailpw | ||
+ | $p=" | ||
+ | New-ItemProperty " | ||
+ | ### Disable OOBE Lets Finish Setting Up | ||
+ | $k=" | ||
+ | reg.exe add $k /v SubscribedContent-310093Enabled /t REG_DWORD /d 1 /f | ||
+ | ### Powershell PROFILE | ||
+ | $f=" | ||
+ | $re=' | ||
+ | (Get-Content $f) | Select-String $re -NotMatch | Set-Content $f | ||
+ | ' | ||
+ | (Get-Content $f) | Where-Object {$_ -ne "" | ||
+ | . " | ||
+ | Get-Content $PROFILE | ||
+ | . $PROFILE | ||
+ | ### Windows defender | ||
+ | if ((Get-MpComputerStatus -EA SilentlyContinue).AntivirusEnabled) { | ||
+ | Set-MpPreference -EnableControlledFolderAccess Disabled | ||
+ | Set-MpPreference -DisableEmailScanning $False | ||
+ | Set-MpPreference -UILockdown $False | ||
+ | Set-MpPreference -PUAProtection Enabled | ||
+ | # | ||
+ | } | ||
+ | ### keep this session alive | ||
+ | $f=" | ||
+ | & " | ||
+ | ### Making pcinfo | ||
+ | # | ||
+ | |||
+ | ### Refresh environment | ||
+ | $env: | ||
+ | $env: | ||
+ | <# done #> | ||
+ | </ | ||
+ | |||
+ | === install/ | ||
+ | * [[: | ||
+ | <code powershell> | ||
+ | $d=" | ||
+ | Set-ExecutionPolicy Bypass -Scope Process -Force | ||
+ | [System.Net.ServicePointManager]:: | ||
+ | [System.Net.ServicePointManager]:: | ||
+ | $u=" | ||
+ | if (Get-Command choco -EA SilentlyContinue ) { choco upgrade chocolatey } ` | ||
+ | else {iex ((New-Object System.Net.WebClient).DownloadString($u))} | ||
+ | Import-Module $env: | ||
+ | refreshenv | ||
+ | # fix history problems | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
+ | # config chocolatey | ||
+ | $env: | ||
+ | setx.exe ChocolateyToolsLocation $env: | ||
+ | choco feature enable -n allowGlobalConfirmation | ||
+ | choco feature enable -n useRememberedArgumentsForUpgrades | ||
+ | refreshenv | ||
+ | choco upgrade chocolatey | ||
+ | # install essentials | ||
+ | choco install 7zip.commandline wget curl aria2 gsudo nircmd | ||
+ | " | ||
+ | choco upgrade all | ||
+ | # done | ||
+ | </ | ||
+ | |||
+ | === choco cleaner | ||
+ | < | ||
+ | choco upgrade all | ||
+ | choco install choco-cleaner | ||
+ | choco-cleaner | ||
+ | choco uninstall choco-cleaner; | ||
+ | #done | ||
+ | </ | ||
+ | |||
+ | === winget install/ | ||
+ | <code powershell> | ||
+ | # install/ | ||
+ | $repo=" | ||
+ | $drv=" | ||
+ | Invoke-WebRequest " | ||
+ | ./ | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | === hardware | ||
+ | vmware | ||
+ | |||
+ | choco install vmware-tools | ||
+ | | ||
+ | === PS Windows Update | ||
+ | <code powershell> | ||
+ | ### PS Windows Update | ||
+ | Install-PackageProvider -Name NuGet -Force -Confirm: | ||
+ | Install-Module PSWindowsUpdate -Force -Confirm: | ||
+ | Add-WUServiceManager -MicrosoftUpdate -Confirm: | ||
+ | Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot | ||
+ | Get-WindowsUpdate -IgnoreReboot | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | == Backups | ||
+ | * Iperius - https:// | ||
+ | * Cobian - https:// | ||
+ | * Duplicati - https:// | ||
+ | |||
+ | === Enable File History | ||
+ | * windows explorer, right-click drive, configure Shadow copies | ||
+ | * Enable shadow copies on the drive (e.g C:\ or D:\) | ||
+ | * click Settings > Max Size Limit (example: 20GB=20480MB; | ||
+ | * https:// | ||
+ | * Change schedule: Daily, 1PM and 9PM | ||
+ | * https:// | ||
+ | |||
+ | === Veeam agent | ||
+ | <# install veeam agent #> | ||
+ | choco install veeam-agent --pin | ||
+ | # | ||
+ | |||
+ | <# create recovery ISO #> | ||
+ | & " | ||
+ | == COMMON | ||
+ | |||
+ | === choco install apps | ||
+ | |||
+ | <# choco apps #> | ||
+ | choco install peazip.install # open, set assoc > standard, set lang | ||
+ | choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss | ||
+ | choco install file-converter | ||
+ | choco install vlc | ||
+ | choco install xnviewmp.install | ||
+ | # | ||
+ | |||
+ | === rustdesk | ||
+ | |||
+ | download exe on desktop | ||
+ | <# rustdesk.exe on desktop#> | ||
+ | choco install dra | ||
+ | $repo=" | ||
+ | $tag=" | ||
+ | $out=[Environment]:: | ||
+ | dra download $repo --select $tag --output $out\rustdesk.exe | ||
+ | # | ||
+ | rustdesk install | ||
+ | <# install rustdesk #> | ||
+ | $rd=[Environment]:: | ||
+ | $rd+=" | ||
+ | & " | ||
+ | while (Test-Path " | ||
+ | <# set rustdesk password #> | ||
+ | $rd=" | ||
+ | while (!(Test-Path " | ||
+ | & $rd --install-service | ||
+ | while (!(Get-Service " | ||
+ | & $rd --password Super@123 | ||
+ | & $rd --option allow-remote-config-modification Y | ||
+ | & $rd --get-id | Out-String | ||
+ | # | ||
+ | |||
+ | uninstall winget | ||
+ | <# uninstall rustdesk #> | ||
+ | winget uninstall rustdesk.rustdesk | ||
+ | # | ||
+ | |||
+ | === aspia install/ | ||
+ | install/ | ||
+ | |||
+ | <code powershell> | ||
+ | ## download | ||
+ | $drv=" | ||
+ | $repo=" | ||
+ | curl.exe -LO " | ||
+ | # | ||
+ | #curl.exe -LO " | ||
+ | curl.exe -LO " | ||
+ | Start-Process msiexec.exe "/qb /i aspia-host-2.7.0-x86_64.msi" | ||
+ | ## install/ | ||
+ | $d=" | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | ## done | ||
+ | </ | ||
+ | uninstall | ||
+ | winget uninstall "Aspia Host" | ||
+ | # winget uninstall " | ||
+ | |||
+ | === customize win10/11 | ||
+ | <code powershell> | ||
+ | # explorer | ||
+ | $p=" | ||
+ | Set-Itemproperty -path " | ||
+ | Set-ItemProperty -Path " | ||
+ | # win10 disable news feed (old method) | ||
+ | $k=" | ||
+ | Set-ItemProperty -Path " | ||
+ | # win10 disable news feed (after 2024) | ||
+ | $url=" | ||
+ | & ([ScriptBlock]:: | ||
+ | # win11 enable classic context menu | ||
+ | $k=" | ||
+ | New-Item -Path " | ||
+ | # | ||
+ | # win11 start menu to left | ||
+ | $k=" | ||
+ | Set-ItemProperty -Path " | ||
+ | # win11 remove news widget (Windows web experience Pack) | ||
+ | winget uninstall " | ||
+ | winget uninstall --id 9MSSGKG348SP --accept-source-agreements | ||
+ | # restart windows explorer | ||
+ | Get-Process explorer | Stop-Process | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | === adobe reader | ||
+ | choco install | ||
+ | <# choco install adobe reader #> | ||
+ | mkdir -force c:\drv ; Set-Location c:\drv | ||
+ | choco install adobereader --pin --params '"/ | ||
+ | # MANUALLY set as default | ||
+ | |||
+ | install asian font pack | ||
+ | <# install asian font pack #> | ||
+ | $u=" | ||
+ | curl.exe -o adobefont.msi " | ||
+ | msiexec.exe /i adobefont.msi /qb | ||
+ | # | ||
+ | |||
+ | config adobe reader | ||
+ | |||
+ | <code powershell> | ||
+ | <# config adobe reader #> | ||
+ | $subkeys = @(" | ||
+ | ForEach ( $subkey in $subkeys) { | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | } | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | # open it, make it DEFAULT | ||
+ | </ | ||
+ | |||
+ | === MS Office | ||
+ | [[: | ||
+ | |||
+ | choco install office365business -pin | ||
+ | choco pin add -n office365business | ||
+ | |||
+ | activate | ||
+ | |||
+ | & ([ScriptBlock]:: | ||
+ | |||
+ | uninstall | ||
+ | |||
+ | $s=" | ||
+ | winget uninstall Microsoft.Office | ||
+ | cd c:\drv ; curl.exe -o uninst_office.exe -L https:// | ||
+ | |||
+ | === google chrome | ||
+ | choco install | ||
+ | |||
+ | choco install googlechrome --ignore-checksums | ||
+ | |||
+ | uninstall extension | ||
+ | |||
+ | <# uninstall chrome and extensions #> | ||
+ | winget uninstall Google.Chrome --force | ||
+ | $k=" | ||
+ | Remove-Item -Path " | ||
+ | # | ||
+ | |||
+ | === Xnview | ||
+ | * not for commercial use | ||
+ | * run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP | ||
+ | |||
+ | choco install xnviewmp.install | ||
+ | |||
+ | |||
+ | === Symantec SEP 64 and 32 | ||
+ | * https:// | ||
+ | * https:// | ||
+ | <code powershell> | ||
+ | # install SEP | ||
+ | mkdir -force c:\drv ; cd c:\drv | ||
+ | if ([System.Environment]:: | ||
+ | $lang = switch -Wildcard ((Get-WinUserLanguageList)[0].LanguageTag) | ||
+ | {" | ||
+ | $url=" | ||
+ | curl.exe -L -o " | ||
+ | .\SEP.exe /s / | ||
+ | # Restart-Computer | ||
+ | </ | ||
+ | Uninstall | ||
+ | winget uninstall " | ||
+ | |||
+ | ==== Other antivirus | ||
+ | * NOD32 - https:// | ||
+ | * Clamwin for Win98-XP - http:// | ||
+ | MS Security Essentials (for vista-7) - https:// | ||
+ | choco install MicrosoftSecurityEssentials | ||
+ | |||
+ | == OPTIONAL | ||
+ | |||
+ | === dontsleep | ||
+ | <# dontsleep #> | ||
+ | choco install dontsleep.install | ||
+ | dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0 | ||
+ | # | ||
+ | |||
+ | === caffeine | ||
+ | <# caffeine #> | ||
+ | mkdir -force c:\drv; cd c:\drv | ||
+ | curl.exe -LO " | ||
+ | & " | ||
+ | # | ||
+ | |||
+ | === cad | ||
+ | |||
+ | choco install dwgtrueview designreview | ||
+ | |||
+ | choco install autodesk-fusion360 | ||
+ | choco install meshmixer | ||
+ | choco install cura | ||
+ | choco install autocad | ||
+ | |||
+ | === graphics apps | ||
+ | choco install inkscape | ||
+ | choco install gimp | ||
+ | choco install drawio | ||
+ | |||
+ | === utils | ||
+ | Internet Download Manager IDM | ||
+ | choco install internet-download-manager | ||
+ | irm https:// | ||
+ | misc | ||
+ | locale-emulator #app locale | ||
+ | firefox | ||
+ | choco install | ||
+ | hwinfo.install | ||
+ | autoruns | ||
+ | autologon | ||
+ | bleacbit.portable | ||
+ | sidebar-diagnostics | ||
+ | |||
+ | === misc | ||
+ | set-alias wg c: | ||
+ | <# misc #> | ||
+ | wg install Apple.iTunes | ||
+ | wg install 9NKSQGP7F2NH # whatsapp | ||
+ | wg installTelegram.TelegramDesktop | ||
+ | |||
+ | === china | ||
+ | wg install tencent.wechat | ||
+ | wg install YY.YYAnchor | ||
+ | wg install tencent.qq | ||
+ | wg install tencent.tim | ||
+ | wg install Tencent.WeCom # | ||
+ | wg install tencent.qqmusic | ||
+ | wg install tencent.yingyongbao #应用宝 | ||
+ | wg install Sogou.SogouInput # | ||
+ | wg install NetEase.CloudMusic # | ||
+ | |||
+ | === quickq | ||
+ | mkdir -force c:\drv ; sl c:\drv | ||
+ | curl.exe -LO https:// | ||
+ | |||
+ | === caming | ||
+ | |||
+ | choco install obs-studio.install itunes | ||
+ | | ||
+ | |||
+ | == SERVER | ||
+ | create local adminsxl | ||
+ | net user /add adminsxl sxlSuper@123 ; localgroup administrators adminsxl /add | ||
+ | |||
+ | === Connect server | ||
+ | create the batch file | ||
+ | $desktop = ([Environment]:: | ||
+ | $null >> " | ||
+ | notepad " | ||
+ | file content | ||
+ | net use n: /delete | ||
+ | net use / | ||
+ | net use N: \\server\share password / | ||
+ | |||
+ | === reboot shortcut | ||
+ | <code powershell> | ||
+ | # create reboot shortcut | ||
+ | Add-Content " | ||
+ | $TargetFile = " | ||
+ | $ShortcutFile = " | ||
+ | $WScriptShell = New-Object -ComObject WScript.Shell | ||
+ | $Shortcut = $WScriptShell.CreateShortcut($ShortcutFile) | ||
+ | $Shortcut.TargetPath = $TargetFile | ||
+ | $Shortcut.Save() | ||
+ | </ | ||
+ | |||
+ | ==== conemu | ||
+ | choco install conemu | ||
+ | Setting > Keys & Macros > Paste > | ||
+ | * UNCHECK Multi-line paste | ||
+ | * UNCHECK Long text-paste | ||
+ | |||
+ | ==== windows terminal | ||
+ | |||
+ | choco install microsoft-windows-terminal | ||
+ | |||
+ | <code powershell> | ||
+ | # download the ico | ||
+ | $icon=" | ||
+ | iwr -OutFile " | ||
+ | $DesktopPath=[Environment]:: | ||
+ | $WshShell=New-Object -comObject WScript.Shell | ||
+ | $Shortcut=$WshShell.CreateShortcut(" | ||
+ | $Shortcut.TargetPath = (Get-Command wt.exe).Path | ||
+ | $shortcut.IconLocation = " | ||
+ | $Shortcut.Save() | ||
+ | # | ||
+ | </ | ||
+ | ==== notepad++ | ||
+ | install | ||
+ | choco install notepadplusplus.install | ||
+ | regsvr32 " | ||
+ | #choco install notepadreplacer --params "/ | ||
+ | notepad plugins | ||
+ | choco install notepadplusplus-npppluginmanager | ||
+ | * open Plugins > Plugin Admin, add '' | ||
+ | |||
+ | ==== acronis drive monitor | ||
+ | choco install acronis-drive-monitor | ||
+ | * Option Alerts Email notification > Change settings > '' | ||
+ | |||
+ | ==== virtio | ||
+ | choco install virtio-drivers | ||
+ | |||
+ | ==== hwinfo | ||
+ | choco install hwinfo | ||
+ | nircmd shortcut " | ||
+ | |||
+ | ==== Gsmartcontrol | ||
+ | choco install gsmartcontrol | ||
+ | nircmd shortcut " | ||
+ | |||
+ | === Server 2016/2019 Windows Defender | ||
+ | Enable Windows Defender GUI | ||
+ | Install-WindowsFeature -Name Windows-Defender | ||
+ | Install-WindowsFeature -Name Windows-Defender-GUI | ||
+ | Disable Windows Defender GUI | ||
+ | Uninstall-WindowsFeature -Name Windows-Defender-GUI | ||
+ | Uninstall-WindowsFeature -Name Windows-Defender | ||
+ | |||
+ | == ACTIVATE | ||
+ | * download from [[https:// | ||
+ | exclude a dir in msdefender | ||
+ | $d=" | ||
+ | Set-MpPreference -ExclusionPath $d | ||
+ | activate | ||
+ | irm https:// | ||
+ | & ([ScriptBlock]:: | ||
+ | & ([ScriptBlock]:: | ||
+ | adobe acrobat | ||
+ | winget install Adobe.Acrobat.Pro # genp patch app | ||
+ | adobe cc | ||
+ | * read https:// | ||
+ | * login user '' | ||
+ | winget install Adobe.CreativeCloud | ||
+ | autodesk | ||
+ | choco install autocad --pin | ||
+ | |||
+ | == TROUBLESHOOT | ||
+ | clean disk | ||
+ | cleanmgr.exe /lowdisk | ||
+ | cleanmgr.exe / | ||
+ | choco cleaner | ||
+ | choco install choco-cleaner | ||
+ | choco-cleaner | ||
+ | choco uninstall choco-cleaner | ||
+ | |||
+ | == HARDWARE | ||
+ | |||
+ | == drivers / platform specific | ||
+ | * Other [[: | ||
+ | choco | ||
+ | choco install virtio-drivers; | ||
+ | choco install qemu-guest-agent | ||
+ | choco install vmware-tools | ||
+ | choco install virtualbox-guest-additions-guest.install | ||
+ | choco install lenovo-thinkvantage-system-update | ||
+ | choco install sdio #download index only > select all > install | ||
+ | winget | ||
+ | wg install 9WZDNCRFJ4MV | ||
+ | |||
+ | == DEVELOP | ||
+ | <code powershell> | ||
+ | # common | ||
+ | choco install python | ||
+ | choco install vscode.install | ||
+ | choco install javaruntime | ||
+ | choco install temurin8 | ||
+ | choco install adoptopenjdk13 | ||
+ | # java8 with Java WebStart | ||
+ | $f=" | ||
+ | $f+=" | ||
+ | choco install Temurin8 --params="/ | ||
+ | </ | ||
+ | |||
+ | == Win7/ | ||
+ | |||
+ | <# old windows 7/8 #> | ||
+ | choco install powershell | ||
+ | choco install conemu | ||
+ | |||
+ | old firefox | ||
+ | |||
+ | choco install firefoxesr --version=115.9.1 --params "/ | ||
+ | choco pin add -n firefoxesr | ||
+ | |||
+ | old chrome | ||
+ | ver 109 | ||