-
Notifications
You must be signed in to change notification settings - Fork 0
/
user-data.txt
45 lines (44 loc) · 2.76 KB
/
user-data.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<powershell>
function Disable-IEESC
{
$AdminKey = “HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}”
Set-ItemProperty -Path $AdminKey -Name “IsInstalled” -Value 0
Stop-Process -Name Explorer
Write-Host “IE Enhanced Security Configuration (ESC) has been disabled.” -ForegroundColor Green
}
Disable-IEESC
net start audiosrv
$WebClient = New-Object System.Net.WebClient
$file = 'C:\Users\Administrator\Downloads'
$WebClient.DownloadFile("https://laptop-updates.brave.com/latest/winx64","$file\BraveBrowserSetup.exe")
Start-Process -FilePath "$file\BraveBrowserSetup.exe"
$WebClient.DownloadFile("https://cdn.cloudflare.steamstatic.com/client/installer/SteamSetup.exe","$file\SteamSetup.exe")
$WebClient.DownloadFile("https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip","$file\steamcmd.zip")
$WebClient.DownloadFile("https://uk.download.nvidia.com/GFE/GFEClient/3.20.5.70/GeForce_Experience_v3.20.5.70.exe","$file\GeForce_Experience_v3.20.5.70.exe")
$WebClient.DownloadFile("https://us.download.nvidia.com/tesla/425.25/425.25-tesla-desktop-win10-64bit-international.exe","$file\425.25-tesla-desktop-win10-64bit-international.exe")
$WebClient.DownloadFile("https://www.microsoft.com/en-us/download/confirmation.aspx?id=35","$file\dxwebsetup.exe")
$WebClient.DownloadFile("http://rzr.to/71-surround-sound-installer","$file\SurroundSoundInstaller_V1.0.129.165.exe")
$WebClient.DownloadFile("https://builds.parsecgaming.com/package/parsec-windows.exe","$file\parsec-windows.exe")
https://builds.parsecgaming.com/package/parsec-windows.exe
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name SteamPS -Force
Install-SteamCMD -Force
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
ECHO Y | choco install steam
ECHO Y | choco install directx
ECHO Y | choco install geforce-experience
ECHO Y | choco install geforce-game-ready-driver
$file = 'C:\Program Files (x86)\Steam'
Start-Process -FilePath "$file\Steam.exe"
Start-Process -FilePath "$file\parsec-windows.exe"
Install-Module -Name DeviceManagement -Force
Get-WindowsFeature “Wireless LAN Service”
Install-WindowsFeature -Name Wireless-Networking
net start WlanSvc
$deviceName = Read-Host -Prompt 'Microsoft Basic Display Adapter';Get-Device | Where-Object -Property Name -Like $deviceName | Disable-Device
$deviceName = Read-Host -Prompt 'NVIDIA Tesla T4'; Get-Device | Where-Object -Property Name -Like $deviceName | Enable-Device
Install-Module PSWindowsUpdate
Get-WindowsUpdate
Install-WindowsUpdate
Restart-Computer
</powershell>