Local Machine Apps Installation |
King’s Local Machine Apps Installation#
Download the apps installation script and run it.
Choose option 9 to install all the listed apps.
1
2
3
4
| $url = "https://apps.kingtam.eu.org/scripts/win-apps.bat"
$output = "$env:TEMP\myscript.bat"
Invoke-WebRequest -Uri $url -OutFile $output
Start-Process -FilePath $output
|
Note: The above installation options are for x64 architecture only.
Local Apps#
- Adobe
- 7-Zip
- UltraVNCwin
- PotPlayer
- HoneyView
- Notepad++
- Activate Windows with KMS
Run “Command Prompt” as administrator
1
2
| slmgr /skms kms.03k.org
slmgr /ato
|
- Office Professional Plus 2016
Run “Command Prompt” as administrator
1
2
3
| cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /sethst:kms.03k.org
cscript ospp.vbs /act
|
Option Apps#
1
2
3
4
5
| $uri = [uri]::new( 'https://apps.kingtam.eu.org/apps/lingoes_2.9.2_tw.exe' );
$file = "$env:TEMP\{0}" -f $uri.Segments[-1];
[System.Net.WebClient]::new().DownloadFile( $uri, $file );
Start-Process -FilePath $file -ArgumentList '/silent' -Wait;
Remove-Item -LiteralPath $file -ErrorAction 'SilentlyContinue';
|
1
| $url = "https://apps.kingtam.eu.org/apps/WGestures_1.8.5.0.msi"; $file = Join-Path $env:USERPROFILE "Downloads\$([System.IO.Path]::GetFileName($url))"; Invoke-WebRequest $url -OutFile $file; Start-Process "msiexec.exe" -Wait -ArgumentList "/i `"$file`" /QN"; Remove-Item $file
|
Download and install Google Chrome.#
1
2
3
4
5
| $uri = [uri]::new( 'https://dl.google.com/chrome/install/chrome_installer.exe' );
$file = "$env:TEMP\{0}" -f $uri.Segments[-1];
[System.Net.WebClient]::new().DownloadFile( $uri, $file );
Start-Process -FilePath $file -ArgumentList '/silent /install' -Wait;
Remove-Item -LiteralPath $file -ErrorAction 'SilentlyContinue';
|
Windows Features#
Download and install Microsoft Visual C++ Redistributable.#
1
2
3
4
5
| $uri = [uri]::new( 'https://aka.ms/vs/17/release/vc_redist.x64.exe' );
$file = "$env:TEMP\{0}" -f $uri.Segments[-1];
[System.Net.WebClient]::new().DownloadFile( $uri, $file );
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait;
Remove-Item -LiteralPath $file -ErrorAction 'SilentlyContinue';
|
Download the latest release of Windows Terminal from GitHub and install it for all users.#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| $user = 'microsoft';
$repository = 'terminal';
$latest = $(
Invoke-WebRequest -Uri "https://api.github.com/repos/${user}/${repository}/releases" -UseBasicParsing -Headers @{
Accept = 'application/vnd.github.v3+json';
} | Select-Object -ExpandProperty 'Content' | ConvertFrom-Json;
) | Where-Object -FilterScript {
-not $_.draft -and -not $_.prerelease;
} | Select-Object -First 1;
$latest.assets.browser_download_url | Where-Object -FilterScript {
$_ -match '\.msixbundle$';
} | Select-Object -First 1 | ForEach-Object -Process {
$uri = [uri]::new( $_ );
$file = "$env:TEMP\{0}" -f $uri.Segments[-1];
[System.Net.WebClient]::new().DownloadFile( $uri, $file );
Add-AppxProvisionedPackage -Online -PackagePath $file -SkipLicense;
Remove-Item -LiteralPath $file -ErrorAction 'SilentlyContinue';
};
|
Allow inbound ICMP messages, including echo requests (ping), in Windows Firewall.#
1
2
| New-NetFirewallRule -DisplayName 'ICMPv4' -Profile 'Any' -Protocol 'ICMPv4';
New-NetFirewallRule -DisplayName 'ICMPv6' -Profile 'Any' -Protocol 'ICMPv6';
|