Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:windows_setup [2024/05/09 06:48] – derek | pub:windows_setup [2025/04/14 07:11] (current) – derek | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | = Install Windows | + | == Install Windows |
+ | * [[? | ||
* [[Windows 7]] | * [[Windows 7]] | ||
* Win10 update assistant https:// | * Win10 update assistant https:// | ||
* Win11 update assistant https:// | * Win11 update assistant https:// | ||
- | == OOBE | + | === OOBE |
- | + | <WRAP colmedium> | |
- | * Home edition | + | * OOBE bypass |
- | * [[check hardware info]] | + | * <key> |
- | * uninstall bloatware | + | * defaults apps '' |
- | * rename computer, join domain, turn on system protection | + | * language |
- | * create local admin Owner '' | + | * regional '' |
- | * restart computer | + | * date/ |
- | * windows | + | * Network connections |
- | * language & regional settings | + | * firewall |
- | * date/ | + | * Printers |
- | * Network properties: | + | * programs add/ |
- | * Printers: | + | * windows |
- | * user management '' | + | * system propoerties '' |
- | * create local admin Owner | + | * device manager |
+ | * restart computer | ||
+ | * windows update | ||
+ | * user management | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | </ | ||
+ | === create local admin Owner | ||
net user /add Owner /y | net user /add Owner /y | ||
net localgroup administrators Owner /add | net localgroup administrators Owner /add | ||
net user Owner "" | net user Owner "" | ||
- | #done | ||
- | == Regional | ||
- | * PS policy '' | + | === set language |
- | * HK CT '' | + | |
- | * HK EN '' | + | $repo=" |
- | * HK EN+CT '' | + | $drv=" |
- | * CN '' | + | $f=" |
- | * JP '' | + | .\drv-setlang.ps1 us |
- | * US '' | + | |
- | * Manually set <wrap hi> | + | |
+ | == ESSENTIALS | ||
- | == Essentials | + | === Essential |
- | + | ||
- | === prepare \DRV | + | |
<code powershell> | <code powershell> | ||
- | # prepare | + | <# prepare |
- | Set-ExecutionPolicy | + | Set-ExecutionPolicy |
- | if(!(Test-Path $profile) ) { New-Item -ItemType File -Path $profile | + | $repo=" |
- | Add-Content | + | $drv=" |
- | + | $f=" | |
- | # get curl if not exists | + | |
- | if ((Get-Command | + | $f="7za.exe"; curl.exe -LO " |
- | { iwr "https:// | + | $f=" |
- | + | & " | |
- | # prepare drv | + | $f="drv-mail2sys.ps1"; curl.exe -LO "$repo/$f" |
- | mkdir -force c:\drv ; sl c:\drv | + | $f=" |
- | curl.exe -LO "https://repo.sxl.net/bin/aria2c.exe" | + | Add-Content |
- | curl.exe -LO "https://repo.sxl.net/bin/7za.exe" | + | ### 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 | ||
+ | #$d="c:\drv\no_avscan"; | ||
+ | } | ||
+ | ### keep this session alive | ||
+ | $f=" | ||
+ | & "./$f" | ||
+ | ### Making pcinfo | ||
+ | # | ||
- | #mail2sys | + | ### Refresh environment |
- | Write-Output | + | $env: |
- | curl.exe -LO "https:// | + | $env:Path+=";"+[System.Environment]:: |
- | curl.exe -LO "https:// | + | <# done #> |
- | + | ||
- | #done | + | |
</ | </ | ||
- | === prepare DRV (winget) | + | === install/ |
+ | * [[chocolatey]] | ||
<code powershell> | <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 | ||
+ | </ | ||
+ | === choco cleaner | ||
+ | < | ||
+ | choco upgrade all | ||
+ | choco install choco-cleaner | ||
+ | choco-cleaner | ||
+ | choco uninstall choco-cleaner; | ||
+ | #done | ||
</ | </ | ||
- | === winget | + | === winget |
<code powershell> | <code powershell> | ||
# install/ | # install/ | ||
- | mkdir -force c:\drv ; sl c:\drv | + | $repo=" |
- | curl.exe | + | $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd " |
- | Add-AppxPackage | + | Invoke-WebRequest |
- | echo Y | winget | + | ./drv-winget.ps1 init |
+ | #./drv-winget.ps1 upgrade | ||
# | # | ||
</ | </ | ||
- | * upgrade all: '' | + | === hardware |
- | * chocolatey: '' | + | vmware |
- | + | ||
- | + | ||
- | === aspia | + | |
+ | choco install vmware-tools | ||
+ | | ||
+ | === PS Windows Update | ||
<code powershell> | <code powershell> | ||
- | mkdir -force c:\drv ; sl c:\drv | + | ### PS Windows Update |
- | $repo = " | + | Install-PackageProvider -Name NuGet -Force -Confirm:$false |
- | $ProgressPreference = ' | + | Install-Module PSWindowsUpdate |
- | iwr " | + | Add-WUServiceManager |
- | iwr "$repo/aspia-host-2.6.5-x86_64.msi" | + | Install-WindowsUpdate |
- | msiexec.exe /i aspia-host.msi /qb | Out-Null | + | Get-WindowsUpdate |
- | $id=(& " | + | # |
- | write-host "Host ID = $id" | + | |
- | # done | + | |
</ | </ | ||
- | === quickq | + | == Backups |
+ | * Iperius - https:// | ||
+ | * Cobian - https:// | ||
+ | * Duplicati - https:// | ||
- | mkdir -force c:\drv ; sl c:\drv | + | === Enable File History |
- | | + | * windows explorer, right-click drive, configure Shadow copies |
- | #done | + | * Enable shadow copies on the drive (e.g C:\ or D:\) |
+ | * click Settings > Max Size Limit (example: 20GB=20480MB; | ||
+ | * https://cdn.sxl.net/sharex/2018/20180613190536.jpg | ||
+ | * Change schedule: Daily, 1PM and 9PM | ||
+ | * https:// | ||
- | === install | + | === Veeam agent |
- | * [[chocolatey]] | + | <# install veeam agent #> |
+ | choco install | ||
+ | # | ||
- | <code powershell> | + | |
- | # install chocolatey | + | & "$env:ProgramFiles\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" |
- | Set-ExecutionPolicy Bypass -Scope Process -Force | + | == COMMON |
- | [System.Net.ServicePointManager]:: | + | |
- | iex ((New-Object System.Net.WebClient).DownloadString(' | + | |
- | # config chocolatey | + | === choco install |
- | choco feature enable -n allowGlobalConfirmation | + | |
- | choco feature enable -n useRememberedArgumentsForUpgrades | + | |
- | Write-Output " | + | |
- | # install | + | |
- | choco install 7zip.commandline wget curl aria2 gsudo nircmd choco-cleaner | + | |
- | #choco install peazip.install --version 9.2.0 | + | <# choco apps #> |
- | #choco install | + | |
- | # done | + | choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss |
- | </ | + | choco install file-converter |
+ | choco install | ||
+ | choco install xnviewmp.install | ||
+ | # | ||
- | === upgrade chocolatey | + | === rustdesk |
- | <code powershell> | + | download exe on desktop |
- | choco uninstall sudo | + | |
- | # config chocolatey | + | choco install dra |
- | choco feature enable | + | |
- | choco feature enable | + | |
- | choco upgrade chocolatey | + | |
- | # install | + | dra download $repo --select $tag --output $out\rustdesk.exe |
- | choco install | + | # |
- | Write-Output | + | rustdesk |
- | choco upgrade all | + | <# |
- | choco-cleaner | + | $rd=[Environment]:: |
- | # | + | $rd+=" |
- | </ | + | & " |
+ | while (Test-Path "$rd") { Start-Sleep 1; Remove-Item "$rd" -Force } | ||
+ | <# set rustdesk password #> | ||
+ | | ||
+ | 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 | ||
+ | # | ||
- | === teamviewer | + | uninstall winget |
+ | <# uninstall rustdesk #> | ||
+ | winget uninstall rustdesk.rustdesk | ||
+ | # | ||
+ | |||
+ | === aspia install/ | ||
+ | install/ | ||
- | * QuickSupport | ||
<code powershell> | <code powershell> | ||
- | $tld = "com" | + | ## download |
- | if ( (Get-WinUserLanguageList)[0].LanguageTag -eq "zh-Hans-CN" ) { $tld = "cn" | + | $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd " |
- | $url = " | + | $repo="https:// |
- | $out="$([Environment]::GetFolderPath(' | + | curl.exe -LO " |
- | curl.exe -Lo "$out" "$url" | + | #$url=" |
- | iex "$desktop\TeamViewerQS.exe" | + | #curl.exe -LO "$url/v2.7.0/aspia-relay-2.7.0-x86_64.msi" |
- | # open it, ACCEPT LICENSE | + | curl.exe -LO "$repo/ |
+ | Start-Process msiexec.exe "/qb /i aspia-host-2.7.0-x86_64.msi" | ||
+ | ## install/ | ||
+ | $d="$env:ProgramFiles\Aspia\Host" | ||
+ | & " | ||
+ | & " | ||
+ | & " | ||
+ | & "$d\aspia_host_service.exe" | ||
+ | & "$d\aspia_host_service.exe" | ||
+ | & "$d\aspia_host_service.exe" | ||
+ | & " | ||
+ | ## done | ||
</ | </ | ||
+ | uninstall | ||
+ | winget uninstall "Aspia Host" | ||
+ | # winget uninstall " | ||
- | * Full: '' | + | === customize win10/11 |
- | * (Gear) ⚙️ > General | + | |
- | * Start TV with Windows > enable | + | |
- | * Your display name > change | + | |
- | * Incoming LAN connections > Accept | + | |
- | * Assign to account > dxxxx@sxl.net | + | |
- | * (Gear) ⚙️ > Advanced | + | |
- | * Automatically minimize local TeamViewer Panel | + | |
- | * Full access control when a partner is connecting to the Windows logon screen | + | |
- | * Personal Password '' | + | |
- | + | ||
- | === dontsleep | + | |
- | + | ||
- | choco install dontsleep.install | + | |
- | dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0 | + | |
- | # done | + | |
- | + | ||
- | + | ||
- | === some explorer hacks | + | |
<code powershell> | <code powershell> | ||
+ | # explorer | ||
$p=" | $p=" | ||
Set-Itemproperty -path " | Set-Itemproperty -path " | ||
Set-ItemProperty -Path " | Set-ItemProperty -Path " | ||
- | $p=" | + | # win10 disable news feed (old method) |
- | Set-ItemProperty -Path "$p" -Name " | + | $k=" |
- | Write-Output Y | winget uninstall --id 9MSSGKG348SP | + | Set-ItemProperty -Path "$k" -Name " |
- | stop-process -name explorer -force | + | # win10 disable news feed (after 2024) |
- | #done | + | $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 | ||
+ | # restart windows explorer | ||
+ | Get-Process | ||
+ | # | ||
</ | </ | ||
- | === Common | + | === 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 |
- | choco install | + | <# install |
- | choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss | + | |
- | # | + | curl.exe -o adobefont.msi " |
- | choco install peazip.install # open, set assoc > standard, set lang | + | |
- | choco install vlc | + | # |
- | choco install xnviewmp.install | + | |
- | # | + | |
- | }}} | + | |
- | === adobe reader | + | |
+ | config adobe reader | ||
<code powershell> | <code powershell> | ||
- | choco install adobereader --params '"/ | + | <# config adobe reader #> |
$subkeys = @(" | $subkeys = @(" | ||
ForEach ( $subkey in $subkeys) { | ForEach ( $subkey in $subkeys) { | ||
Line 213: | Line 308: | ||
reg add " | reg add " | ||
} | } | ||
- | |||
$regkey = " | $regkey = " | ||
reg add " | reg add " | ||
reg add " | reg add " | ||
reg add " | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | $regkey = " | ||
+ | reg add " | ||
# open it, make it DEFAULT | # open it, make it DEFAULT | ||
</ | </ | ||
- | === google chrome | + | === MS Office |
+ | [[microsoft office]] | ||
- | * set as default | + | choco install office365business -pin |
- | * enable extensions | + | choco pin add -n office365business |
- | {{{ | + | activate |
- | choco install googlechrome --ignore-checksums | + | |
- | choco install ublockorigin-chrome google-translate-chrome | + | |
- | # open it, make DEFAULT | + | |
- | }}} | + | |
- | winget | + | & ([ScriptBlock]:: |
- | winget install -e --id Google.Chrome | + | |
- | + | ||
- | === Xnview | + | |
- | * not for commercial use | + | |
- | choco install xnviewmp.install | + | uninstall |
- | # run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP | + | |
+ | $s=" | ||
+ | winget uninstall Microsoft.Office | ||
+ | cd c:\drv ; curl.exe -o uninst_office.exe -L https:// | ||
- | == Connect server | + | === google chrome |
+ | choco install | ||
- | create the batch file | + | <# choco install #> |
- | | + | |
- | | + | |
- | | + | |
- | file content | + | uninstall extension |
- | net use n: /delete | + | |
- | net use / | + | |
- | net use N: \\server\share password / | + | |
+ | <# uninstall chrome and extensions #> | ||
+ | winget uninstall Google.Chrome --force | ||
+ | $k=" | ||
+ | Remove-Item -Path " | ||
+ | # | ||
- | == office | + | === Xnview |
- | * Online C2R setup: https:// | + | * not for commercial use |
- | * o365 business '' | + | * run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP |
- | * o386 proplus '' | + | |
- | winget | + | choco install |
- | winget | + | |
- | === Volume 2021 | ||
- | Standard | + | === Symantec SEP 64 and 32 |
- | <code powershell> | + | * https://is.gd/sPpEfq |
- | $s=" | + | * https:// |
- | $p="/64bit /DisableUpdate | + | |
- | $p+=" /Product:Standard2021Volume" | + | |
- | choco install $s --params=" | + | |
- | # | + | |
- | </code> | + | |
- | + | ||
- | Everything | + | |
<code powershell> | <code powershell> | ||
+ | # install SEP | ||
+ | mkdir -force c:\drv ; cd c:\drv | ||
if ([System.Environment]:: | if ([System.Environment]:: | ||
- | $s=" | + | $lang = switch |
- | $p=" | + | |
- | $p+=" | + | $url="https:// |
- | choco install $s --params="$p" | + | curl.exe |
- | # | + | .\SEP.exe /s / |
+ | # Restart-Computer | ||
</ | </ | ||
+ | Uninstall | ||
+ | winget uninstall " | ||
- | === Volume 2019 | + | ==== Other antivirus |
+ | * NOD32 - https:// | ||
+ | * Clamwin for Win98-XP - http:// | ||
+ | MS Security Essentials (for vista-7) - https:// | ||
+ | choco install MicrosoftSecurityEssentials | ||
- | * visioviewer'' | + | == OPTIONAL |
- | * Standard '' | + | |
- | * Visio 2019 Volume '' | + | |
- | * Project 2019 Volume: '' | + | |
- | * Retail office H&B '' | + | |
- | === office 2016 (Win7) | + | === dontsleep |
+ | <# dontsleep #> | ||
+ | choco install dontsleep.install | ||
+ | dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0 | ||
+ | # | ||
- | choco install microsoft-office-deployment | + | === caffeine |
- | | + | <# caffeine #> |
- | office365-2016-deployment-tool | + | mkdir -force c:\drv; cd c:\drv |
- | | + | curl.exe |
+ | | ||
+ | | ||
- | === ms office utilities | + | === cad |
- | * removal '' | + | |
- | * activation | + | |
- | == other office apps | + | choco install dwgtrueview designreview |
- | * inkscape '' | + | |
- | * gimp '' | + | choco install |
- | * draw.io '' | + | choco install |
- | == ms store software | + | choco install autocad |
- | == Antivirus | + | === graphics apps |
+ | choco install inkscape | ||
+ | choco install gimp | ||
+ | choco install drawio | ||
- | === Symantec SEP 64 and 32 | + | === utils |
- | | + | Internet Download Manager IDM |
- | | + | choco install internet-download-manager |
+ | | ||
+ | misc | ||
+ | locale-emulator #app locale | ||
+ | firefox | ||
+ | choco install | ||
+ | hwinfo.install | ||
+ | | ||
+ | autologon | ||
+ | bleacbit.portable | ||
+ | sidebar-diagnostics | ||
- | <code powershell> | + | === misc |
- | mkdir -force c: | + | set-alias wg c:\drv\drv-winget.ps1 |
- | if ([System.Environment]:: | + | |
- | $lang = switch -Wildcard ((Get-WinUserLanguageList)[0].LanguageTag) | + | wg install Apple.iTunes |
- | | + | wg install 9NKSQGP7F2NH # whatsapp |
- | $url=" | + | wg installTelegram.TelegramDesktop |
- | curl.exe -L -o " | + | |
- | .\SEP.exe /s / | + | |
- | # reboot | + | |
- | </ | + | |
- | Uninstall | + | === china |
- | | + | |
+ | 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 # | ||
- | === Other antivirus | + | === quickq |
+ | mkdir -force c:\drv ; sl c:\drv | ||
+ | curl.exe -LO https:// | ||
- | * NOD32 - https:// | + | == SERVER |
- | * Clamwin for Win98-XP - http:// | + | create local adminsxl |
- | * MS Security Essentials (Win vista-7) - https:// | + | |
- | == Backups | + | === Connect server |
+ | create the batch file | ||
+ | $desktop = ([Environment]:: | ||
+ | $null >> " | ||
+ | notepad " | ||
+ | file content | ||
+ | net use n: /delete | ||
+ | net use / | ||
+ | net use N: \\server\share password / | ||
- | * veeam - '' | + | === reboot shortcut |
- | * Iperius | + | <code powershell> |
- | * Cobian - https://www.cobiansoft.com/ '' | + | # create reboot shortcut |
- | * Duplicati | + | Add-Content "c:\drv\reboot.cmd" " |
+ | $TargetFile = "c:\drv\reboot.cmd" | ||
+ | $ShortcutFile = " | ||
+ | $WScriptShell = New-Object -ComObject WScript.Shell | ||
+ | $Shortcut = $WScriptShell.CreateShortcut($ShortcutFile) | ||
+ | $Shortcut.TargetPath = $TargetFile | ||
+ | $Shortcut.Save() | ||
+ | </code> | ||
- | == Activation | + | ==== conemu |
- | * download from [[https:// | + | choco install conemu |
- | * interactive mode {{{irm https:// | + | Setting > Keys & Macros > Paste > |
- | * activate win only {{{& ([ScriptBlock]:: | + | * UNCHECK Multi-line paste |
- | * active office only {{{& ([ScriptBlock]:: | + | * UNCHECK Long text-paste |
+ | ==== windows terminal | ||
+ | choco install microsoft-windows-terminal | ||
- | + | <code powershell> | |
- | == Other software | + | # download the ico |
- | + | $icon=" | |
- | === admin | + | iwr -OutFile " |
- | * local admin '' | + | $DesktopPath=[Environment]:: |
- | * Conemu '' | + | $WshShell=New-Object -comObject WScript.Shell |
- | * Notepad++ | + | $Shortcut=$WshShell.CreateShortcut(" |
+ | $Shortcut.TargetPath | ||
+ | $shortcut.IconLocation | ||
+ | $Shortcut.Save() | ||
+ | # | ||
+ | </ | ||
+ | ==== notepad++ | ||
+ | install | ||
choco install notepadplusplus.install | choco install notepadplusplus.install | ||
regsvr32 " | regsvr32 " | ||
- | choco install notepadreplacer --params "/ | + | |
+ | notepad plugins | ||
choco install notepadplusplus-npppluginmanager | choco install notepadplusplus-npppluginmanager | ||
+ | * open Plugins > Plugin Admin, add '' | ||
- | * open Plugins | + | ==== acronis drive monitor |
+ | choco install acronis-drive-monitor | ||
+ | * Option Alerts Email notification | ||
- | === utils | + | ==== virtio |
- | * IDM '' | + | choco install |
- | * App locale '' | + | |
- | * Firefox '' | + | |
- | * misc '' | + | |
- | === java | + | |
- | * java '' | + | |
- | * java8 '' | + | |
- | * java8 with Java WebStart | + | |
- | <code powershell> | + | |
- | choco install Temurin8 | + | |
- | / | + | |
- | </ | + | |
- | * jdk13 '' | + | ==== hwinfo |
+ | | ||
+ | nircmd shortcut " | ||
- | === python | + | ==== Gsmartcontrol |
- | * latest '' | + | choco install |
+ | nircmd shortcut " | ||
- | === cad | + | === Server 2016/2019 Windows Defender |
- | * '' | + | Enable Windows Defender GUI |
- | * '' | + | Install-WindowsFeature -Name Windows-Defender |
- | * '' | + | |
- | * '' | + | Disable Windows Defender GUI |
- | * '' | + | |
+ | | ||
- | === popular | + | == 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 | ||
- | == drivers | + | == TROUBLESHOOT |
+ | clean disk | ||
+ | cleanmgr.exe | ||
+ | cleanmgr.exe / | ||
+ | choco cleaner | ||
+ | choco install choco-cleaner | ||
+ | choco-cleaner | ||
+ | choco uninstall choco-cleaner | ||
- | * Other [[windows platform specific tools]] | + | == HARDWARE |
- | KVM | + | == drivers / platform specific |
+ | * Other [[windows platform specific tools]] | ||
+ | choco | ||
choco install virtio-drivers; | choco install virtio-drivers; | ||
choco install qemu-guest-agent | 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 | ||
- | * Vmware '' | + | |
- | * Virtualbox '' | + | choco pin add -n firefoxesr |
- | * Lenovo | + | |
- | * SDIO (Snappy Driver Installer Origin) '' | + | |
+ | old chrome | ||
+ | ver 109 | ||