User Tools

Site Tools


windows

Differences

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

Link to this comparison view

windows [2020/02/09 20:05]
c0rn3j created
windows [2020/02/09 20:08] (current)
c0rn3j
Line 1: Line 1:
 +# Powershell setup scripts
 +## Activate Office
 <code powershell>​ <code powershell>​
-#​https://​github.com/​SystemRage/​py-kms/​wiki/​Office-GVLK-Keys +# https://​github.com/​SystemRage/​py-kms/​wiki/​Office-GVLK-Keys 
-Activate ​Office 2019 Pro Plus+# Office 2019 Pro Plus
 cd '​C:​\Program Files\Microsoft Office\Office16'​ cd '​C:​\Program Files\Microsoft Office\Office16'​
 cscript ospp.vbs /​inpkey:​NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP cscript ospp.vbs /​inpkey:​NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
 cscript ospp.vbs /​sethst:​192.168.1.40 cscript ospp.vbs /​sethst:​192.168.1.40
 cscript ospp.vbs /act cscript ospp.vbs /act
 +</​code>​
  
 +## Activate Windows
 +<code powershell>​
 # https://​docs.microsoft.com/​en-us/​windows-server/​get-started/​kmsclientkeys # https://​docs.microsoft.com/​en-us/​windows-server/​get-started/​kmsclientkeys
 # W10 Pro # W10 Pro
Line 16: Line 21:
 # Force activation now # Force activation now
 slmgr /ato slmgr /ato
 +</​code>​
 +
 +## Post-install script
 +<code powershell>​
 # Enable Hyper-V on Pro or Edu # Enable Hyper-V on Pro or Edu
 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Line 62: Line 71:
 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
 Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('​https://​chocolatey.org/​install.ps1'​)) Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('​https://​chocolatey.org/​install.ps1'​))
-choco install -y mumble googlechrome notepadplusplus 7zip crystaldiskmark crystaldiskinfo keepassxc sharex openssh telegram windirstat openjdk8 everything teamviewer smplayer hwinfo qbittorrent + 
-Alternatively do a minimal ​install+Reopen powershell 
 + 
 +# Minimal ​install
 choco install -y googlechrome notepadplusplus 7zip windirstat everything smplayer libreoffice-fresh choco install -y googlechrome notepadplusplus 7zip windirstat everything smplayer libreoffice-fresh
 +# Bloat
 +#choco install -y mumble googlechrome notepadplusplus 7zip crystaldiskmark crystaldiskinfo keepassxc sharex openssh telegram windirstat openjdk8 everything teamviewer smplayer hwinfo qbittorrent
 </​code>​ </​code>​
  
windows.txt · Last modified: 2020/02/09 20:08 by c0rn3j