Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pub:windows_setup [2023/12/15 06:10] – [essential utilities] derek | pub:windows_setup [2025/04/14 07:11] (current) – derek | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | == windows setup | + | == Install Windows |
- | * [[windows oobe bypass microsoft account]] | + | * [[? |
* [[Windows 7]] | * [[Windows 7]] | ||
- | * [[https://www.microsoft.com/software-download/ | + | * Win10 update assistant |
- | * [[https://www.microsoft.com/software-download/ | + | * Win11 update assistant https://is.gd/nLSnJd |
- | == windows | + | === OOBE |
+ | <WRAP colmedium> | ||
+ | * OOBE bypass | ||
+ | * < | ||
+ | * defaults apps '' | ||
+ | * language '' | ||
+ | * regional '' | ||
+ | * date/time '' | ||
+ | * Network connections '' | ||
+ | * firewall '' | ||
+ | * Printers '' | ||
+ | * programs add/remove '' | ||
+ | * windows | ||
+ | * system propoerties '' | ||
+ | * device manager '' | ||
+ | * restart computer '' | ||
+ | * windows update '' | ||
+ | * user management | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | </ | ||
- | === windows setup | + | === create |
- | * adjust desktop size/ | + | net user /add Owner /y |
- | * uninstall vendor bolatware, antivirus: '' | + | |
- | * create | + | net user Owner "" |
- | net user /add Owner ; net localgroup administrators Owner /add | + | |
- | * rename computer, join domain: '' | + | |
- | == install essentials | + | === set language |
+ | Set-ExecutionPolicy Bypass -Force | ||
+ | $repo=" | ||
+ | $drv=" | ||
+ | $f=" | ||
+ | .\drv-setlang.ps1 us | ||
+ | == ESSENTIALS | ||
- | + | === Essential DRV | |
- | === essential utilities | + | |
<code powershell> | <code powershell> | ||
- | # prepare DRV | + | <# prepare DRV & utils #> |
- | if(!(Test-Path $profile) ) { New-Item -ItemType File -Path $profile | + | Set-ExecutionPolicy Bypass -Force |
- | Add-Content | + | $repo=" |
- | $drv=" | + | $drv=" |
- | New-Item -Force -ItemType Directory | + | $f=" |
- | $wc=New-Object System.Net.WebClient | + | |
- | $wc.DownloadFile("$repo/aria2c.exe", "$drv\aria2c.exe") | + | $f="7za.exe"; curl.exe -LO " |
- | .\aria2c | + | $f=" |
- | .\aria2c | + | & " |
- | #done | + | $f=" |
+ | $f="drv-setlang.ps1"; | ||
+ | Add-Content " | ||
+ | ### windows settings | ||
+ | Enable-ComputerRestore | ||
+ | ### 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 | ||
+ | '$host.PrivateData.ErrorForegroundColor=" | ||
+ | (Get-Content $f) | Where-Object {$_ -ne ""} | Set-Content | ||
+ | . "$PROFILE" | ||
+ | Get-Content | ||
+ | . $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=" | ||
+ | & "./$f" | ||
+ | ### Making pcinfo | ||
+ | # | ||
+ | ### Refresh environment | ||
+ | $env: | ||
+ | $env: | ||
+ | <# done #> | ||
</ | </ | ||
- | .\aria2c -c " | + | === install/upgrade |
- | .\aria2c -c " | + | |
- | .\aria2c -c " | + | |
- | + | ||
- | === aspia | + | |
- | + | ||
- | <code powershell> | + | |
- | mkdir -Force c:\drv ; sl c:\drv | + | |
- | .\aria2c.exe -c https:// | + | |
- | .\aspiahost.exe | + | |
- | #done | + | |
- | </ | + | |
- | + | ||
- | ==== China | + | |
- | <code powershell> | + | |
- | sl c:\drv | + | |
- | $p="-x 16 -s 16 -R -c" | + | |
- | .\aria2c.exe $p -o aspiahost.exe https:// | + | |
- | .\aspiahost.exe | + | |
- | .\aria2c -x $p -o quickq.exe https:// | + | |
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | === install | + | |
* [[chocolatey]] | * [[chocolatey]] | ||
- | |||
<code powershell> | <code powershell> | ||
- | + | $d=" | |
- | # install chocolatey | + | |
Set-ExecutionPolicy Bypass -Scope Process -Force | Set-ExecutionPolicy Bypass -Scope Process -Force | ||
- | [System.Net.ServicePointManager]:: | + | [System.Net.ServicePointManager]:: |
- | iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/ | + | |
+ | $u=" | ||
+ | if (Get-Command choco -EA SilentlyContinue ) { choco upgrade chocolatey } ` | ||
+ | else {iex ((New-Object System.Net.WebClient).DownloadString($u))} | ||
+ | Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 | ||
+ | refreshenv | ||
+ | # fix history problems | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
+ | $p=" | ||
# config chocolatey | # config chocolatey | ||
+ | $env: | ||
+ | setx.exe ChocolateyToolsLocation $env: | ||
choco feature enable -n allowGlobalConfirmation | choco feature enable -n allowGlobalConfirmation | ||
choco feature enable -n useRememberedArgumentsForUpgrades | choco feature enable -n useRememberedArgumentsForUpgrades | ||
+ | refreshenv | ||
+ | choco upgrade chocolatey | ||
# install essentials | # install essentials | ||
choco install 7zip.commandline wget curl aria2 gsudo nircmd | choco install 7zip.commandline wget curl aria2 gsudo nircmd | ||
- | #choco install peazip.install | + | " |
- | choco install peazip.install | + | choco upgrade all |
- | + | ||
- | # choco install grep which nircmd peazip.install choco-cleaner | + | |
- | # end init | + | |
</ | </ | ||
- | === upgrade chocolatey | + | === choco cleaner |
< | < | ||
- | choco upgrade chocolatey | ||
choco upgrade all | choco upgrade all | ||
+ | choco install choco-cleaner | ||
+ | choco-cleaner | ||
+ | choco uninstall choco-cleaner; | ||
+ | #done | ||
</ | </ | ||
- | == Remote control | + | === winget |
- | + | ||
- | === teamviewer | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ==== Full Teamviewer | + | |
- | + | ||
- | choco install | + | |
- | + | ||
- | after install, open teamviewer | + | |
- | * enable Start TV with Windows | + | |
- | * Options (Gear) > General: Your display name; Allow incoming LAN connection | + | |
- | * Options > Advanced > Show Advanced Options > Personal Password > '' | + | |
- | + | ||
- | ==== Teamviewer-qs | + | |
- | + | ||
- | choco install teamviewr-qs | + | |
- | + | ||
- | SXL Teamviewer QS | + | |
- | + | ||
- | mkdir -Force c:\drv ; Set-Location c:\drv | + | |
- | curl.exe -O https:// | + | |
- | nircmd shortcut c: | + | |
- | start TeamviewerQS | + | |
- | + | ||
- | === Teamviewer-host | + | |
- | + | ||
- | choco install teamviewer.host | + | |
- | + | ||
- | * Options (Gear) > General: Your display name; Allow incoming LAN connection | + | |
- | * Options > Advanced > Show Advanced Options > Personal Password > '' | + | |
- | + | ||
- | SXL Teamviewer Host | + | |
- | + | ||
- | mkdir -force c:\drv ; Set-Location c:\drv | + | |
- | curl.exe -O https:// | + | |
- | .\TeamViewer_Host_Setup.exe /S / | + | |
- | + | ||
- | === aspia | + | |
- | + | ||
- | mkdir -Force c:\drv ; sl c:\drv | + | |
- | curl.exe -O https:// | + | |
- | .\aspiahost.exe | + | |
- | #done | + | |
- | + | ||
- | poweshell 2.0 | + | |
<code powershell> | <code powershell> | ||
- | mkdir -Force c:\drv ; sl c:\drv | + | # install/ |
- | $download_url | + | $repo=" |
- | $local_path | + | $drv=" |
- | $WebClient | + | Invoke-WebRequest "$repo/$f" -outfile "$f"; & " |
- | $WebClient.DownloadFile($download_url, | + | ./drv-winget.ps1 init |
- | .\aspiahost.exe | + | # |
+ | # | ||
</ | </ | ||
- | === other remote desktop | + | === hardware |
+ | vmware | ||
- | | + | choco install |
- | + | ||
- | Trustviewer - http:// | + | |
- | + | ||
- | wget.exe http:// | + | |
- | + | ||
- | === Todesk | + | |
- | * https:// | + | |
- | + | ||
- | Download & setup | + | |
- | + | ||
- | Set-Location c:\drv | + | |
- | curl.exe -O https:// | + | |
- | .\ToDesk_Setup.exe /S | + | |
- | # wait until program started | + | |
- | + | ||
- | config & clean up | + | |
- | + | ||
- | & ${Env: | + | |
- | & ${Env: | + | |
- | Remove-Item .\ToDesk_Setup.exe -Force | + | |
- | # config in gui, security > allow both temp & safe password | + | |
- | + | ||
- | === dontsleep | + | |
- | + | ||
- | | + | |
- | dontsleep_x64.exe | + | |
- | # END | + | |
- | == drivers / platform specific | + | |
- | + | ||
- | * Other [[windows platform specific | + | |
- | + | ||
- | KVM | + | |
- | + | ||
- | choco install virtio-drivers | + | |
- | choco pin add -n virtio-drivers | + | |
- | + | ||
- | REM choco install qemu-guest-agent | + | |
| | ||
- | Vmware | + | === PS Windows Update |
- | + | ||
- | choco install vmware-tools | + | |
- | + | ||
- | Virtualbox | + | |
- | + | ||
- | choco install virtualbox-guest-additions-guest.install | + | |
- | + | ||
- | Lenovo | + | |
- | + | ||
- | choco install lenovo-thinkvantage-system-update | + | |
- | + | ||
- | SDIO (Snappy Driver Installer Origin) | + | |
- | choco install sdio | + | |
- | :: download index only > select all > install | + | |
- | + | ||
- | == some explorer hacks | + | |
<code powershell> | <code powershell> | ||
- | # show files extension | + | ### PS Windows |
- | reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f | + | Install-PackageProvider -Name NuGet -Force -Confirm: |
- | + | Install-Module PSWindowsUpdate -Force -Confirm: | |
- | # hide news and interests | + | Add-WUServiceManager -MicrosoftUpdate -Confirm: |
- | REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Feeds /v ShellFeedsTaskbarViewMode /t REG_DWORD /d 2 /f | + | Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot |
- | + | Get-WindowsUpdate -IgnoreReboot | |
- | # restart explorer | + | # |
- | taskkill /F /IM explorer.exe | + | |
- | start explorer | + | |
- | # END | + | |
</ | </ | ||
- | | ||
- | == useful utilities | ||
- | === google chrome | + | == Backups |
+ | * Iperius - https:// | ||
+ | * Cobian - https:// | ||
+ | * Duplicati - https:// | ||
- | * set as default | + | === Enable File History |
- | * enable extensions | + | * 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 #> | ||
+ | | ||
+ | # | ||
+ | <# create recovery ISO #> | ||
+ | & " | ||
+ | == COMMON | ||
- | choco install ublockorigin-chrome google-translate-chrome | + | === choco install apps |
- | #choco install setdefaultbrowser | + | |
- | # | + | |
- | + | ||
- | === Common | + | |
+ | <# 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 vlc | ||
- | choco install | + | choco install |
- | choco install | + | |
- | | + | |
- | choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss | + | |
+ | === 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 | ||
+ | # | ||
- | ==== Xnview | + | === aspia install/upgrade |
- | * not for commercial use | + | install/upgrade |
- | * after install: run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP | + | |
- | + | ||
- | choco install | + | |
- | + | ||
- | + | ||
- | == MS office | + | |
- | * [[MAS Activation]] | + | |
- | + | ||
- | === remove office | + | |
- | * Office Removal Tool: https:// | + | |
<code powershell> | <code powershell> | ||
- | cd c:\drv | + | ## download |
- | curl.exe -o SetupProd_OffScrub.exe -L https://aka.ms/diag_officeuninstall | + | $drv="c:\drv"; $null=(mkdir -Force " |
- | .\SetupProd_OffScrub.exe | + | $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 " | ||
- | === Office 365 | + | === customize win10/11 |
- | + | ||
- | Business | + | |
<code powershell> | <code powershell> | ||
- | choco install office365business | + | # explorer |
- | choco pin add -n office365business | + | $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 | ||
+ | # | ||
</ | </ | ||
- | Proplus | + | === adobe reader |
- | <code powershell> | + | choco install |
- | choco install | + | <# |
- | choco pin add -n office365proplus | + | mkdir -force c:\drv ; Set-Location c:\drv |
- | </code> | + | choco install adobereader --pin --params '" |
+ | # MANUALLY set as default | ||
- | === Office 2021 | + | install asian font pack |
- | Standard | + | <# install asian font pack #> |
- | <code powershell> | + | $u="https://ardownload3.adobe.com/ |
- | choco install microsoft-office-deployment --params="/64bit /Product: | + | |
- | choco pin add -n microsoft-office-deployment | + | |
- | </code> | + | # |
+ | |||
+ | config adobe reader | ||
- | Everything | ||
<code powershell> | <code powershell> | ||
- | if ([System.Environment]:: | + | <# config adobe reader #> |
- | $param=" /${bit}bit | + | $subkeys = @(" |
- | $param+=" /Product: | + | ForEach ( $subkey in $subkeys) { |
- | choco install microsoft-office-deployment --params="$param" | + | |
- | choco pin add -n microsoft-office-deployment | + | reg add "$regkey" |
+ | reg add "$regkey" | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | reg add " | ||
+ | } | ||
+ | $regkey | ||
+ | reg add " | ||
+ | reg add "$regkey" | ||
+ | reg add "$regkey" | ||
+ | $regkey | ||
+ | reg add " | ||
+ | reg add "$regkey" | ||
+ | $regkey | ||
+ | reg add "$regkey" | ||
+ | $regkey = " | ||
+ | reg add " | ||
+ | # open it, make it DEFAULT | ||
</ | </ | ||
+ | === MS Office | ||
+ | [[microsoft office]] | ||
+ | choco install office365business -pin | ||
+ | choco pin add -n office365business | ||
+ | activate | ||
- | === Office-Tool | + | & ([ScriptBlock]:: |
- | * install '' | + | uninstall |
- | === Volume 2019 | + | $s=" |
+ | winget uninstall Microsoft.Office | ||
+ | cd c:\drv ; curl.exe -o uninst_office.exe -L https:// | ||
+ | === google chrome | ||
+ | choco install | ||
- | * visioviewer'' | + | <# choco install |
- | * choco install | + | choco install |
- | * Visio 2019 Volume '' | + | choco install |
- | * Project 2019 Volume: '' | + | # MANUALLY make default |
- | * Retail office H&B '' | + | |
- | === office 2016 (Win7) | + | uninstall extension |
- | | + | |
- | | + | winget uninstall Google.Chrome |
- | office365-2016-deployment-tool | + | $k="HKCU:\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist" |
- | libreoffice-fresh | + | |
- | | + | |
- | === pin office-deployment tool | + | |
- | choco pin add -n microsoft-office-deployment | + | === Xnview |
- | + | * not for commercial use | |
- | + | * run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP | |
- | === pdf reader | + | |
- | * set association after install | + | |
- | * for legal Acrobat DC user, install Reader first, login, and then Download the Acrobat DC | + | |
- | + | ||
- | choco install adobereader | + | |
- | #choco install sumatrapdf.install pdftk | + | |
- | + | ||
- | === google drive, g.suite | + | |
- | + | ||
- | choco install googledrive | + | |
- | choco install gsuite-sync-outlook | + | |
- | + | ||
- | == antivirus | + | |
- | Symantec SEP 64 and 32 | + | choco install xnviewmp.install |
- | * https:// | + | |
- | * https:// | + | |
- | === SEP 64-bit ENG | ||
+ | === Symantec SEP 64 and 32 | ||
+ | * https:// | ||
+ | * https:// | ||
<code powershell> | <code powershell> | ||
+ | # install SEP | ||
mkdir -force c:\drv ; cd c:\drv | mkdir -force c:\drv ; cd c:\drv | ||
if ([System.Environment]:: | if ([System.Environment]:: | ||
$lang = switch -Wildcard ((Get-WinUserLanguageList)[0].LanguageTag) | $lang = switch -Wildcard ((Get-WinUserLanguageList)[0].LanguageTag) | ||
{" | {" | ||
- | $url=" | + | $url=" |
curl.exe -L -o " | curl.exe -L -o " | ||
.\SEP.exe /s / | .\SEP.exe /s / | ||
- | # reboot | + | # Restart-Computer |
</ | </ | ||
- | |||
- | |||
Uninstall | Uninstall | ||
winget uninstall " | winget uninstall " | ||
- | === Other antivirus | + | ==== Other antivirus |
+ | * NOD32 - https:// | ||
+ | * Clamwin for Win98-XP - http:// | ||
+ | MS Security Essentials (for vista-7) - https:// | ||
+ | choco install MicrosoftSecurityEssentials | ||
- | * Mcafee - https:// | + | == OPTIONAL |
- | * NOD32 - https:// | + | |
- | * Immunet - https:// | + | |
- | * Clamwin for Win98-XP - http:// | + | |
- | * MS Security Essentials (Win vista-7) - https:// | + | |
- | === backup | + | === dontsleep |
+ | <# dontsleep #> | ||
+ | choco install dontsleep.install | ||
+ | dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0 | ||
+ | # | ||
- | Veeam | + | === caffeine |
+ | <# caffeine #> | ||
+ | mkdir -force c:\drv; cd c:\drv | ||
+ | curl.exe -LO " | ||
+ | & " | ||
+ | # | ||
- | choco install veeam-agent | + | === cad |
- | | + | choco install |
- | * Cobian - https:// | + | |
- | * Duplicati - https:// | + | |
- | === admin utils | + | choco install autodesk-fusion360 |
+ | choco install meshmixer | ||
+ | choco install cura | ||
+ | choco install autocad | ||
- | * Conemu '' | + | === graphics apps |
- | * Notepad++ '' | + | |
- | === others | + | choco install |
+ | choco install drawio | ||
- | 3D-print | + | === 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 | ||
- | autodesk-fusion360 meshmixer cura | + | === misc |
+ | set-alias wg c: | ||
+ | <# misc #> | ||
+ | wg install Apple.iTunes | ||
+ | wg install 9NKSQGP7F2NH # whatsapp | ||
+ | wg installTelegram.TelegramDesktop | ||
- | Cad | + | === 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 # | ||
- | choco install dwgtrueview # | + | === quickq |
+ | mkdir -force c:\drv ; sl c:\drv | ||
+ | curl.exe -LO https:// | ||
- | choco install autocad #autocadlt | + | == SERVER |
+ | create local adminsxl | ||
+ | net user /add adminsxl sxlSuper@123 ; localgroup administrators adminsxl /add | ||
- | java | + | === Connect server |
+ | create the batch file | ||
+ | $desktop = ([Environment]:: | ||
+ | $null >> " | ||
+ | notepad " | ||
+ | file content | ||
+ | net use n: /delete | ||
+ | net use / | ||
+ | net use N: \\server\share password / | ||
- | choco install javaruntime | + | === 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() | ||
+ | </ | ||
- | #choco install adoptopenjdk8 | + | ==== conemu |
- | | + | choco install |
+ | Setting > Keys & Macros > Paste > | ||
+ | * UNCHECK Multi-line paste | ||
+ | * UNCHECK Long text-paste | ||
- | git | + | ==== windows terminal |
- | choco install | + | choco install |
- | == finishing | + | <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 '' | ||
- | === windows update | + | ==== acronis drive monitor |
+ | choco install acronis-drive-monitor | ||
+ | * Option Alerts Email notification > Change settings > '' | ||
- | wuauclt /detectnow /updatenow | + | ==== virtio |
- | | + | |
- | === set default programs | + | ==== 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 [[windows platform specific tools]] | ||
+ | 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="/ | ||
+ | </ | ||
- | control | + | == Win7/8/8.1/2012R2 |
- | === activation | + | <# old windows 7/8 #> |
+ | choco install powershell | ||
+ | choco install conemu | ||
- | * [[activation]] | + | old firefox |
- | * [[MAS Activation]] | + | |
- | | + | |
- | === windows update === | + | choco pin add -n firefoxesr |
- | * [[windows update]] | + | old chrome |
- | * [[sxl: | + | ver 109 |