Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:windows_setup [2025/01/20 08:36] derekpub:windows_setup [2025/04/14 07:11] (current) derek
Line 1: Line 1:
 == Install Windows == Install Windows
-  * [[?do=export_xhtml|export]] to https://repo.sxl.net/install_windows.html +* [[?do=export_xhtml|export]] to https://repo.sxl.net/install_windows.html 
-  * [[Windows 7]] +* [[Windows 7]] 
-  * Win10 update assistant https://is.gd/OK28yz +* Win10 update assistant https://is.gd/OK28yz 
-  * Win11 update assistant https://is.gd/nLSnJd+* Win11 update assistant https://is.gd/nLSnJd
  
 === OOBE === OOBE
 <WRAP colmedium> <WRAP colmedium>
 * OOBE bypass  * OOBE bypass 
-  * <key>Shift-F10</key> then ''OOBE/BYPASSNRO''+* <key>Shift-F10</key> then ''OOBE/BYPASSNRO''
 * defaults apps ''control /name Microsoft.DefaultPrograms'' * defaults apps ''control /name Microsoft.DefaultPrograms''
 * language ''control /name Microsoft.Language'' * language ''control /name Microsoft.Language''
Line 23: Line 23:
 * windows update ''control.exe update'' * windows update ''control.exe update''
 * user management  * user management 
-  * ''control.exe userpasswords''  +* ''control.exe userpasswords''  
-  * ''control.exe userpasswords2''  +* ''control.exe userpasswords2''  
-  * ''lusrmgr.msc''+* ''lusrmgr.msc''
 </WRAP> </WRAP>
  
 === create local admin Owner === create local admin Owner
- 
   net user /add Owner /y   net user /add Owner /y
   net localgroup administrators Owner /add   net localgroup administrators Owner /add
Line 35: Line 34:
  
 === set language === set language
- 
   Set-ExecutionPolicy Bypass -Force   Set-ExecutionPolicy Bypass -Force
-  $repo="http://repo.sxl.net/.hidden/bin/"+  $repo="http://repo.sxl.net/_h/bin/"
   $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd "$drv"   $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd "$drv"
   $f="drv-setlang.ps1"; iwr "$repo/$f" -outfile "$f"; & "./$f" help   $f="drv-setlang.ps1"; iwr "$repo/$f" -outfile "$f"; & "./$f" help
Line 45: Line 43:
  
 === Essential DRV === Essential DRV
- 
 <code powershell> <code powershell>
 <# prepare DRV & utils #> <# prepare DRV & utils #>
Line 51: Line 48:
 $repo="http://repo.sxl.net/_h/bin" $repo="http://repo.sxl.net/_h/bin"
 $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd "$drv" $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd "$drv"
-$f="curl.exe"; Invoke-WebRequest "$repo/$f" -outfile "$env:windir\$f" +$f="curl.exe"; if(!(Get-Command $f -EA SilentlyContinue )) 
-$f="7za.exe"; Invoke-WebRequest "$repo/$f" -outfile "$env:windir\$f"+  { Invoke-WebRequest "$repo/$f" -outfile "$env:windir\$f" } 
 +$f="7za.exe"; curl.exe -LO "$repo/$f"
 $f="caffeine.exe"; curl.exe -LO "$repo/$f" $f="caffeine.exe"; curl.exe -LO "$repo/$f"
 & "c:\drv\caffeine.exe" -stes -replace & "c:\drv\caffeine.exe" -stes -replace
 $f="drv-mail2sys.ps1"; curl.exe -LO "$repo/$f" $f="drv-mail2sys.ps1"; curl.exe -LO "$repo/$f"
 $f="drv-setlang.ps1"; curl.exe -LO "$repo/$f" $f="drv-setlang.ps1"; curl.exe -LO "$repo/$f"
-$f="drv-winget.ps1"; curl.exe -LO "$repo/$f" 
 Add-Content "$env:windir\reboot.cmd" "shutdown.exe /r /t 0"  Add-Content "$env:windir\reboot.cmd" "shutdown.exe /r /t 0" 
- 
 ### windows settings ### windows settings
-Enable-ComputerRestore -Drive c: #System protection +Enable-ComputerRestore -Drive C-EA SilentlyContinue #System protection
 ### set registry mailpw ### set registry mailpw
 $p="HKLM:\SOFTWARE\SXLnet"; New-item -Path "$p" -EA SilentlyContinue $p="HKLM:\SOFTWARE\SXLnet"; New-item -Path "$p" -EA SilentlyContinue
 New-ItemProperty "$p" -Name 'pw' -Value "A13c0BRpgWFWXQmi0lB2" -Force | Out-Null New-ItemProperty "$p" -Name 'pw' -Value "A13c0BRpgWFWXQmi0lB2" -Force | Out-Null
- 
 ### Disable OOBE Lets Finish Setting Up ### Disable OOBE Lets Finish Setting Up
 $k="HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" $k="HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
 reg.exe add $k /v SubscribedContent-310093Enabled /t REG_DWORD /d 1 /f reg.exe add $k /v SubscribedContent-310093Enabled /t REG_DWORD /d 1 /f
- 
 ### Powershell PROFILE ### Powershell PROFILE
 $f="$PROFILE"; if(!(Test-Path $f)) { New-Item $f -Force } $f="$PROFILE"; if(!(Test-Path $f)) { New-Item $f -Force }
Line 80: Line 73:
 Get-Content $PROFILE Get-Content $PROFILE
 . $PROFILE . $PROFILE
- 
 ### Windows defender ### Windows defender
-if ((Get-MpComputerStatus).AntivirusEnabled) { +if ((Get-MpComputerStatus -EA SilentlyContinue).AntivirusEnabled) { 
-Set-MpPreference -EnableControlledFolderAccess Disabled +  Set-MpPreference -EnableControlledFolderAccess Disabled 
-Set-MpPreference -DisableEmailScanning $False +  Set-MpPreference -DisableEmailScanning $False 
-Set-MpPreference -UILockdown $False +  Set-MpPreference -UILockdown $False 
-Set-MpPreference -PUAProtection Enabled +  Set-MpPreference -PUAProtection Enabled 
-$d="c:\drv\no_avscan"; mkdir -Force $d; cd $d +  #$d="c:\drv\no_avscan"; mkdir -Force $d; cd $dSet-MpPreference -ExclusionPath $d
-Set-MpPreference -ExclusionPath $d+
 } }
- 
 ### keep this session alive ### keep this session alive
 $f="caffeine.exe"; if (!(Test-Path "$f")) {curl.exe -LO "$repo/$f"} $f="caffeine.exe"; if (!(Test-Path "$f")) {curl.exe -LO "$repo/$f"}
 & "./$f" -stes -replace & "./$f" -stes -replace
- 
 ### Making pcinfo ### Making pcinfo
-$f="drv-pcinfo.ps1"; curl.exe -LO "$repo/$f"; & "./$f"+#$f="drv-pcinfo.ps1"; curl.exe -LO "$repo/$f"; & "./$f"
  
 ### Refresh environment ### Refresh environment
 $env:Path=[System.Environment]::GetEnvironmentVariable("Path","Machine" $env:Path=[System.Environment]::GetEnvironmentVariable("Path","Machine"
 $env:Path+=";"+[System.Environment]::GetEnvironmentVariable("Path","User" $env:Path+=";"+[System.Environment]::GetEnvironmentVariable("Path","User"
- 
 <# done #> <# done #>
 </code> </code>
- 
  
 === install/upgrade chocolatey === install/upgrade chocolatey
-  * [[chocolatey]]+* [[chocolatey]]
 <code powershell> <code powershell>
 $d="c:\drv"; $null=(mkdir -Force "$d"); cd "$d" $d="c:\drv"; $null=(mkdir -Force "$d"); cd "$d"
Line 113: Line 100:
 [System.Net.ServicePointManager]::SecurityProtocol = ` [System.Net.ServicePointManager]::SecurityProtocol = `
   [System.Net.ServicePointManager]::SecurityProtocol -bor 3072   [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
-$u='https://community.chocolatey.org/install.ps1' +$u="https://community.chocolatey.org/install.ps1" 
-iex ((New-Object System.Net.WebClient).DownloadString($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 Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
 refreshenv refreshenv
Line 121: Line 109:
 $p="gsudo"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" } $p="gsudo"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" }
 $p="choco-cleaner"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" } $p="choco-cleaner"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" }
-#$p="teamviewer"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p"+$p="teamviewer"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p"
-#$p="teamviewer.host"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" }+$p="teamviewer.host"; if ( choco list --lo -r -e "$p" ) { choco uninstall "$p" }
 # config chocolatey # config chocolatey
 $env:ChocolateyToolsLocation="$env:ProgramData\tools" $env:ChocolateyToolsLocation="$env:ProgramData\tools"
Line 134: Line 122:
 "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
 choco upgrade all choco upgrade all
-choco cleaner+</code> 
 + 
 +=== choco cleaner 
 +<code> 
 +choco upgrade all
 choco install choco-cleaner  --params "'/NOTASK:TRUE'" choco install choco-cleaner  --params "'/NOTASK:TRUE'"
-choco-cleanerchoco uninstall choco-cleaner; +choco-cleaner 
 +choco uninstall choco-cleaner; 
 #done #done
 </code> </code>
- 
  
 === winget install/upgrade === winget install/upgrade
Line 148: Line 140:
 Invoke-WebRequest "$repo/$f" -outfile "$f"; & "./$f" Invoke-WebRequest "$repo/$f" -outfile "$f"; & "./$f"
 ./drv-winget.ps1 init ./drv-winget.ps1 init
-./drv-winget.ps1 upgrade+#./drv-winget.ps1 upgrade
 # #
 </code> </code>
  
 +=== hardware
 +vmware
 +
 +  choco install vmware-tools
 +  
 === PS Windows Update === PS Windows Update
 <code powershell> <code powershell>
 ### PS Windows Update ### PS Windows Update
-Install-PackageProvider NuGet -Force; +Install-PackageProvider -Name NuGet -Force -Confirm:$false 
-Install-Module -Name PSWindowsUpdate -Force +Install-Module PSWindowsUpdate -Force -Confirm:$false 
-Get-Package -Name PSWindowsUpdate +Add-WUServiceManager -MicrosoftUpdate -Confirm:$false 
-get-command -module PSWindowsUpdate +Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -IgnoreReboot 
-Get-WindowsUpdate +Get-WindowsUpdate -IgnoreReboot
-Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot+
 # #
 </code> </code>
- 
  
 == Backups == Backups
-  * Iperius - https://www.iperiusbackup.com/ ''choco install '' +* Iperius - https://www.iperiusbackup.com/ 
-  * Cobian - https://www.cobiansoft.com/ ''choco install cobian-backup'' +* Cobian - https://www.cobiansoft.com/ ''choco install cobian-backup'' 
-  * Duplicati - https://www.duplicati.com/ [[sxl:duplicati]]+* Duplicati - https://www.duplicati.com/ [[sxl:duplicati]]
  
 === Enable File History === Enable File History
-  * windows explorer, right-click drive, configure Shadow copies +* windows explorer, right-click drive, configure Shadow copies 
-  * Enable shadow copies on the drive (e.g C:\ or D:\) +* Enable shadow copies on the drive (e.g C:\ or D:\) 
-  * click Settings > Max Size Limit (example: 20GB=20480MB; 100GB=102400MB, 400GB=409600MB) +* click Settings > Max Size Limit (example: 20GB=20480MB; 100GB=102400MB, 400GB=409600MB) 
-  * https://cdn.sxl.net/sharex/2018/20180613190536.jpg +* https://cdn.sxl.net/sharex/2018/20180613190536.jpg 
-  * Change schedule: Daily, 1PM and 9PM +* Change schedule: Daily, 1PM and 9PM 
-  * https://cdn.sxl.net/sharex/2018/20180613191027.jpg +* https://cdn.sxl.net/sharex/2018/20180613191027.jpg
- +
- +
-=== Veeam agent ===+
  
 +=== Veeam agent
   <# install veeam agent #>   <# install veeam agent #>
   choco install veeam-agent --pin   choco install veeam-agent --pin
-  #c:\drv\drv-winget.ps1 install Veeam.VeeamAgent  
   #   #
  
- +  <# create recovery ISO #> 
- +  & "$env:ProgramFiles\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /createrecoverymediaiso 
 == COMMON == COMMON
- 
  
 === choco install apps === choco install apps
  
 +  <# choco apps #>
   choco install peazip.install # open, set assoc > standard, set lang   choco install peazip.install # open, set assoc > standard, set lang
   choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss   choco install pasteintofile ; PasteIntoFile /filename yyyyMMdd-HHmmss
Line 199: Line 190:
   choco install vlc    choco install vlc 
   choco install xnviewmp.install   choco install xnviewmp.install
- +  #
-=== winget install apps +
- +
-  c:\drv\drv-winget.ps1 install rustdesk.rustdesk +
-  c:\drv\drv-winget.ps1 install XP88X1XTPKZJDJ  paste-into-file +
-  c:\drv\drv-winget.ps1 install Giorgiotani.Peazip +
-  c:\drv\drv-winget.ps1 install AdrienAllard.FileConverter +
-  c:\drv\drv-winget.ps1 install VideoLAN.VLC +
-  c:\drv\drv-winget.ps1 install XnSoft.XnViewMP +
-  c:\drv\drv-winget.ps1 install Google.Chrome+
  
 === rustdesk === rustdesk
  
-winget install rustdesk +download exe on desktop 
-  <# winget install rustdesk #> +  <# rustdesk.exe on desktop#> 
-  c:\drv\drv-winget.ps1 install RustDesk.RustDesk+  choco install dra  
 +  $repo="rustdesk/rustdesk" 
 +  $tag="rustdesk-{tag}-x86_64.exe" 
 +  $out=[Environment]::GetFolderPath("CommonDesktopDirectory"
 +  dra download $repo --select $tag --output $out\rustdesk.exe
   #   #
- +rustdesk install  
-[[rustdesk]] config+  <# install rustdesk #> 
 +  $rd=[Environment]::GetFolderPath("CommonDesktopDirectory"
 +  $rd+="\rustdesk.exe" 
 +  & "$rd" --silent-install 
 +  while (Test-Path "$rd") { Start-Sleep 1; Remove-Item "$rd" -Force }
   <# set rustdesk password #>   <# set rustdesk password #>
-  $d="$env:ProgramFiles\RustDesk" +  $rd="$env:ProgramFiles\RustDesk\rustdesk.exe" 
-  & $d/rustdesk.exe --install-service +  while (!(Test-Path "$rd")) { Start-Sleep 1 } 
-  & $d/rustdesk.exe --password Super@123 +  & $rd --install-service 
-  & $d/rustdesk --option allow-remote-config-modification Y +  while (!(Get-Service "Rustdesk" -EA SilentlyContinue)) { Start-Sleep 1 } 
-  & $d/rustdesk.exe --get-id | Out-String +  & $rd --password Super@123 
-  # +  & $rd --option allow-remote-config-modification Y 
- +  & $rd --get-id | Out-String
-install or upgrade rustdesk with my script +
-  <#install or upgrade rustdesk with my script #> +
-  $repo="http://repo.sxl.net/_h/bin"; $f="drv-inst-rustdesk.ps1" +
-  $drv="c:\drv"; $null=(mkdir -Force "$drv"); cd "$drv" +
-  Invoke-WebRequest "$repo/$f" -outfile "$f"; & "./$f"+
   #   #
  
Line 246: Line 231:
 $repo="https://repo.sxl.net/_h/proj/" $repo="https://repo.sxl.net/_h/proj/"
 curl.exe -LO "$repo/remote/aspia-host-2.7.0-x86_64.msi" curl.exe -LO "$repo/remote/aspia-host-2.7.0-x86_64.msi"
 +#$url="https://github.com/dchapyshev/aspia/releases/download"
 +#curl.exe -LO "$url/v2.7.0/aspia-relay-2.7.0-x86_64.msi"
 curl.exe -LO "$repo/remote/aspia/aspia3.json" curl.exe -LO "$repo/remote/aspia/aspia3.json"
 Start-Process msiexec.exe "/qb /i aspia-host-2.7.0-x86_64.msi" -Wait Start-Process msiexec.exe "/qb /i aspia-host-2.7.0-x86_64.msi" -Wait
Line 259: Line 246:
 ## done ## done
 </code> </code>
- 
 uninstall uninstall
   winget uninstall "Aspia Host"   winget uninstall "Aspia Host"
   # winget uninstall "ARP\Machine\X64\{152430E2-C5E5-4086-A24B-A733C1B693C6}"   # winget uninstall "ARP\Machine\X64\{152430E2-C5E5-4086-A24B-A733C1B693C6}"
- 
  
 === customize win10/11 === customize win10/11
- 
 <code powershell> <code powershell>
 # explorer # explorer
Line 272: Line 256:
 Set-Itemproperty -path "$p" -Name "HideFileExt" -value 0 #show file exts Set-Itemproperty -path "$p" -Name "HideFileExt" -value 0 #show file exts
 Set-ItemProperty -Path "$p" -Name "TaskbarMn"   -Value 0 #hide win11 chat Set-ItemProperty -Path "$p" -Name "TaskbarMn"   -Value 0 #hide win11 chat
- 
 # win10 disable news feed (old method) # win10 disable news feed (old method)
 $k="HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds" $k="HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds"
Line 279: Line 262:
 $url="https://repo.sxl.net/_h/bin/drv-disable-w10news.ps1" $url="https://repo.sxl.net/_h/bin/drv-disable-w10news.ps1"
 & ([ScriptBlock]::Create((Invoke-RestMethod $url))) & ([ScriptBlock]::Create((Invoke-RestMethod $url)))
- 
 # win11 enable classic context menu # win11 enable classic context menu
 $k="HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" $k="HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}"
 New-Item -Path "$k\InprocServer32" -Value "" -Force New-Item -Path "$k\InprocServer32" -Value "" -Force
 #Remove-Item -Path "$k\InprocServer32" -Force # Undo #Remove-Item -Path "$k\InprocServer32" -Force # Undo
-  
 # win11 start menu to left # win11 start menu to left
 $k="HKCU:\software\microsoft\windows\currentversion\explorer\advanced" $k="HKCU:\software\microsoft\windows\currentversion\explorer\advanced"
 Set-ItemProperty -Path "$k" -Name "TaskbarAl" -Type "DWord" -Value 0 Set-ItemProperty -Path "$k" -Name "TaskbarAl" -Type "DWord" -Value 0
- 
 # win11 remove news widget (Windows web experience Pack) # win11 remove news widget (Windows web experience Pack)
 winget uninstall "Windows web experience Pack"  winget uninstall "Windows web experience Pack" 
 winget uninstall --id 9MSSGKG348SP --accept-source-agreements winget uninstall --id 9MSSGKG348SP --accept-source-agreements
- 
 # restart windows explorer # restart windows explorer
 Get-Process explorer | Stop-Process Get-Process explorer | Stop-Process
 # #
- 
 </code> </code>
  
 === adobe reader === adobe reader
- 
 choco install choco install
   <# choco install adobe reader #>   <# choco install adobe reader #>
   mkdir -force c:\drv ; Set-Location c:\drv   mkdir -force c:\drv ; Set-Location c:\drv
-  choco install adobereader --params '"/DesktopIcon /NoUpdates"'+  choco install adobereader --pin --params '"/DesktopIcon /NoUpdates"'
   # MANUALLY set as default   # MANUALLY set as default
- 
-winget install 
-  <# winget install acrobat #> 
-  c:\drv\drv-winget.ps1 install Adobe.Acrobat.Reader.64-bit 
-  # MANUALLY set as default 
- 
  
 install asian font pack install asian font pack
Line 321: Line 292:
  
 config adobe reader config adobe reader
 +
 <code powershell> <code powershell>
 <# config adobe reader #> <# config adobe reader #>
Line 351: Line 323:
  
 === MS Office === MS Office
-microsoft office +[[microsoft office]] 
-  c:\drv\drv-winget.ps1 install Microsoft.Office+ 
 +  choco install office365business -pin 
 +  choco pin add -n office365business
  
 activate   activate  
 +
   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /Ohook ## office only   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /Ohook ## office only
  
 uninstall uninstall
 +
   $s="microsoft-office-deployment"; choco pin remove -n $s; choco uninstall $s   $s="microsoft-office-deployment"; choco pin remove -n $s; choco uninstall $s
   winget uninstall Microsoft.Office   winget uninstall Microsoft.Office
Line 363: Line 339:
  
 === google chrome === google chrome
- 
 choco install choco install
 +
   <# choco install #>   <# choco install #>
   choco install googlechrome --ignore-checksums   choco install googlechrome --ignore-checksums
Line 370: Line 346:
   # MANUALLY make default   # MANUALLY make default
  
-winget install +uninstall extension
-  <# winget install #> +
-  c:\drv\drv-winget.ps1 install Google.Chrome +
-  # install extension +
-  mkdir -force c:\drv ; cd c:\drv +
-  $u="http://repo.sxl.net/_h/bin/drv-chrome.ps1"; curl.exe -LO $u +
-  #./drv-chrome.ps1 install "ddkjiahejlhfcafbddmgiahcphecmpfh" # ublock origin lite +
-  ./drv-chrome.ps1 install "aapbdbdomjkkjkaonfhkkikfgjllcleb" # google translate +
-  #+
  
-uninstall extension 
   <# uninstall chrome and extensions #>   <# uninstall chrome and extensions #>
   winget uninstall Google.Chrome --force   winget uninstall Google.Chrome --force
Line 389: Line 356:
 === Xnview === Xnview
 * not for commercial use * not for commercial use
 +  * run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP
  
   choco install xnviewmp.install   choco install xnviewmp.install
-  # run xnviewmp as admin > Tools > Settings > Integration : Enable Browse with XnViewMP+
  
 === Symantec SEP 64 and 32 === Symantec SEP 64 and 32
 * https://is.gd/sPpEfq * https://is.gd/sPpEfq
 * https://repo.sxl.net/proj/antivirus/ * https://repo.sxl.net/proj/antivirus/
- 
 <code powershell> <code powershell>
 # install SEP # install SEP
Line 408: Line 375:
 # Restart-Computer # Restart-Computer
 </code> </code>
- 
 Uninstall  Uninstall 
   winget uninstall "Symantec Endpoint Protection"   winget uninstall "Symantec Endpoint Protection"
Line 415: Line 381:
 * NOD32 - https://www.eset.hk/ * NOD32 - https://www.eset.hk/
 * Clamwin for Win98-XP - http://clamsentinel.sourceforge.net/ ' * Clamwin for Win98-XP - http://clamsentinel.sourceforge.net/ '
- 
 MS Security Essentials (for vista-7) - https://bit.ly/3iXkoA0  MS Security Essentials (for vista-7) - https://bit.ly/3iXkoA0 
   choco install MicrosoftSecurityEssentials    choco install MicrosoftSecurityEssentials 
Line 422: Line 387:
  
 === dontsleep === dontsleep
- 
   <# dontsleep #>   <# dontsleep #>
   choco install dontsleep.install   choco install dontsleep.install
   dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0   dontsleep_x64.exe -bg block_standby=1 block_screensaver=1 block_shutdown=0 block_logoff=0
   #   #
 +
 === caffeine === caffeine
- 
   <# caffeine #>   <# caffeine #>
   mkdir -force c:\drv; cd c:\drv   mkdir -force c:\drv; cd c:\drv
Line 436: Line 400:
  
 === cad === cad
 +
 +  choco install dwgtrueview designreview
 +
   choco install autodesk-fusion360   choco install autodesk-fusion360
   choco install meshmixer   choco install meshmixer
   choco install cura   choco install cura
-  choco install dwgtrueview designreview 
   choco install autocad   choco install autocad
  
Line 447: Line 413:
   choco install drawio   choco install drawio
  
-=== utils ===+=== utils
 Internet Download Manager IDM Internet Download Manager IDM
   choco install internet-download-manager   choco install internet-download-manager
   irm https://massgrave.dev/ias | iex   irm https://massgrave.dev/ias | iex
- 
 misc  misc 
   locale-emulator #app locale   locale-emulator #app locale
Line 463: Line 428:
  
 === misc === misc
- 
   set-alias wg c:\drv\drv-winget.ps1   set-alias wg c:\drv\drv-winget.ps1
- 
   <# misc #>   <# misc #>
   wg install Apple.iTunes   wg install Apple.iTunes
Line 487: Line 450:
  
 == SERVER == SERVER
- 
 create local adminsxl create local adminsxl
   net user /add adminsxl sxlSuper@123 ; localgroup administrators adminsxl /add   net user /add adminsxl sxlSuper@123 ; localgroup administrators adminsxl /add
  
 === Connect server === Connect server
- 
 create the batch file create the batch file
   $desktop = ([Environment]::GetFolderPath('Desktop'))   $desktop = ([Environment]::GetFolderPath('Desktop'))
   $null >> "$desktop\connect-server.bat"   $null >> "$desktop\connect-server.bat"
   notepad "$desktop\connect-server.bat"   notepad "$desktop\connect-server.bat"
- 
 file content file content
   net use n: /delete   net use n: /delete
Line 515: Line 475:
 </code> </code>
  
-Conemu +==== conemu 
   choco install conemu   choco install conemu
 +Setting > Keys & Macros > Paste > 
 +* UNCHECK Multi-line paste
 +* UNCHECK Long text-paste
  
-Notepad++ +==== windows terminal 
 + 
 +  choco install microsoft-windows-terminal 
 + 
 +<code powershell> 
 +# download the ico 
 +$icon="https://raw.githubusercontent.com/microsoft/terminal/master/res/terminal.ico" 
 +iwr -OutFile "$env:LOCALAPPDATA\\wt.ico" -uri $icon 
 +$DesktopPath=[Environment]::GetFolderPath("Desktop"
 +$WshShell=New-Object -comObject WScript.Shell 
 +$Shortcut=$WshShell.CreateShortcut("$DesktopPath\Windows Terminal.lnk"
 +$Shortcut.TargetPath = (Get-Command wt.exe).Path 
 +$shortcut.IconLocation = "$env:LOCALAPPDATA\\wt.ico" 
 +$Shortcut.Save() 
 +
 +</code> 
 +==== notepad++  
 +install
   choco install notepadplusplus.install   choco install notepadplusplus.install
   regsvr32 "C:\Program Files\Notepad++\contextMenu\NppShell.dll"   regsvr32 "C:\Program Files\Notepad++\contextMenu\NppShell.dll"
-  choco install notepadreplacer --params "/NOTEPAD:C:\Program Files\Notepad++\notepad++.exe"+  #choco install notepadreplacer --params "/NOTEPAD:C:\Program Files\Notepad++\notepad++.exe" 
 +notepad plugins
   choco install notepadplusplus-npppluginmanager   choco install notepadplusplus-npppluginmanager
-  * open Plugins > Plugin Admin, add ''MarkdownViewer++'',  ''AutoCodePage'',  ''AutoEolFormat''+* open Plugins > Plugin Admin, add ''MarkdownViewer++'',  ''AutoCodePage'',  ''AutoEolFormat''
  
-Acronis drive monitor+==== acronis drive monitor
   choco install acronis-drive-monitor   choco install acronis-drive-monitor
-  * Option Alerts Email notification > Change settings > ''systems@sxl.net''+* Option Alerts Email notification > Change settings > ''systems@sxl.net''
  
-Virtio+==== virtio
   choco install virtio-drivers   choco install virtio-drivers
  
-hwinfo+==== hwinfo
   choco install hwinfo   choco install hwinfo
   nircmd shortcut "%ProgramFiles%\HWiNFO64\HWiNFO64.EXE" "~$folder.desktop$" "HWINFO"   nircmd shortcut "%ProgramFiles%\HWiNFO64\HWiNFO64.EXE" "~$folder.desktop$" "HWINFO"
  
-Gsmartcontrol+==== Gsmartcontrol
   choco install gsmartcontrol   choco install gsmartcontrol
   nircmd shortcut "%ProgramFiles%\GSmartControl\gsmartcontrol.exe" "~$folder.desktop$" "GSmartControl"   nircmd shortcut "%ProgramFiles%\GSmartControl\gsmartcontrol.exe" "~$folder.desktop$" "GSmartControl"
Line 547: Line 528:
   Uninstall-WindowsFeature -Name Windows-Defender-GUI   Uninstall-WindowsFeature -Name Windows-Defender-GUI
   Uninstall-WindowsFeature -Name Windows-Defender   Uninstall-WindowsFeature -Name Windows-Defender
- 
  
 == ACTIVATE == ACTIVATE
-  * download from [[https://github.com/massgravel/Microsoft-Activation-Scripts|Github]] or [[https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/src|Bitbucket]] or [[https://massgrave.dev/|Massgrave]] +* download from [[https://github.com/massgravel/Microsoft-Activation-Scripts|Github]] or [[https://bitbucket.org/WindowsAddict/microsoft-activation-scripts/src|Bitbucket]] or [[https://massgrave.dev/|Massgrave]]
 exclude a dir in msdefender exclude a dir in msdefender
   $d="c:\drv\no_avscan"; mkdir -Force $d; cd $d   $d="c:\drv\no_avscan"; mkdir -Force $d; cd $d
   Set-MpPreference -ExclusionPath $d   Set-MpPreference -ExclusionPath $d
- 
 activate activate
   irm https://massgrave.dev/get | iex  ## interactive mode    irm https://massgrave.dev/get | iex  ## interactive mode 
   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /HWID  ## win only   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /HWID  ## win only
   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /Ohook ## office only   & ([ScriptBlock]::Create((irm https://massgrave.dev/get))) /Ohook ## office only
- 
 adobe acrobat adobe acrobat
   winget install Adobe.Acrobat.Pro # genp patch app   winget install Adobe.Acrobat.Pro # genp patch app
- 
 adobe cc      adobe cc     
 * read https://www.reddit.com/r/GenP/ > genp patch cc > install apps > genp patch apps * read https://www.reddit.com/r/GenP/ > genp patch cc > install apps > genp patch apps
 * login user ''nobodyboss@outlook.com'' pass ''aSuper@123'' - adobe email forward to sxlderek@gmail * login user ''nobodyboss@outlook.com'' pass ''aSuper@123'' - adobe email forward to sxlderek@gmail
- 
   winget install Adobe.CreativeCloud   winget install Adobe.CreativeCloud
- 
 autodesk autodesk
   choco install autocad --pin   choco install autocad --pin
  
 == TROUBLESHOOT == TROUBLESHOOT
- 
 clean disk clean disk
   cleanmgr.exe /lowdisk   cleanmgr.exe /lowdisk
   cleanmgr.exe /verylowdisk   cleanmgr.exe /verylowdisk
- 
 choco cleaner choco cleaner
   choco install choco-cleaner   choco install choco-cleaner
Line 585: Line 557:
  
 == HARDWARE == HARDWARE
-==== drivers / platform specific ==== + 
-  * Other [[windows platform specific tools]]+== drivers / platform specific 
 +* Other [[windows platform specific tools]]
 choco choco
   choco install virtio-drivers; choco pin add -n virtio-drivers   choco install virtio-drivers; choco pin add -n virtio-drivers
Line 594: Line 567:
   choco install lenovo-thinkvantage-system-update   choco install lenovo-thinkvantage-system-update
   choco install sdio  #download index only > select all > install   choco install sdio  #download index only > select all > install
- 
 winget winget
   wg install 9WZDNCRFJ4MV  # lenovo vantage   wg install 9WZDNCRFJ4MV  # lenovo vantage
 +
 == DEVELOP == DEVELOP
- 
 <code powershell> <code powershell>
 # common # common
Line 606: Line 578:
 choco install temurin8             # java8 runtime choco install temurin8             # java8 runtime
 choco install adoptopenjdk13       # jdk 13 choco install adoptopenjdk13       # jdk 13
- 
 # java8 with Java WebStart # java8 with Java WebStart
 $f="FeatureMain,FeatureEnvironment,FeatureJarFileRunWith," $f="FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,"
 $f+="FeatureJavaHome,FeatureIcedTeaWeb,FeatureJNLPFileRunWith" $f+="FeatureJavaHome,FeatureIcedTeaWeb,FeatureJNLPFileRunWith"
 choco install Temurin8 --params="/both /ADDLOCAL=$f /INSTALLDIR=$env:Programfiles\Eclipse Adoptium\ /quiet" choco install Temurin8 --params="/both /ADDLOCAL=$f /INSTALLDIR=$env:Programfiles\Eclipse Adoptium\ /quiet"
- 
 </code> </code>
  
 +== Win7/8/8.1/2012R2
 +
 +  <# old windows 7/8 #>
 +  choco install powershell
 +  choco install conemu
 +
 +old firefox
  
 +  choco install firefoxesr --version=115.9.1 --params "/NoAutoUpdate"
 +  choco pin add -n firefoxesr 
  
 +old chrome
 +ver 109