Last active
November 29, 2023 21:22
-
-
Save theangkko/c5af7bc736ccb0559609cde3151111e4 to your computer and use it in GitHub Desktop.
window-Sandbox-setup-files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Bypass ` -Scope Process ` -Force | |
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install git -y | |
# choco install googlechrome vscode -y | |
$progressPreference = 'silentlyContinue' | |
Write-Information "Downloading WinGet and its dependencies..." | |
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle | |
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle | |
#Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx | |
#Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.7.3/Microsoft.UI.Xaml.2.7.x64.appx -OutFile Microsoft.UI.Xaml.2.7.x64.appx | |
#Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx | |
#Add-AppxPackage Microsoft.UI.Xaml.2.7.x64.appx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start C:\users\WDAGUtilityAccount\Downloads | |
start appwiz.cpl | |
REM Part::VScode install | |
REM curl -L "https://update.code.visualstudio.com/latest/win32-x64-user/stable" --output C:\Users\WDAGUtilityAccount\Downloads\vscode.exe | |
REM Install and run VSCode | |
C:\Users\WDAGUtilityAccount\Downloads\vscode.exe /verysilent /suppressmsgboxes | |
REM Part::install Choco and Winget | |
Powershell Set-ExecutionPolicy unrestricted | |
Powershell C:\Users\WDAGUtilityAccount\Downloads\Install-ChocoWinget.ps1" | |
Pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Download VSCode DOWNLOAD AUTO | |
curl -L "https://update.code.visualstudio.com/latest/win32-x64-user/stable" --output C:\Users\WDAGUtilityAccount\Downloads\vscode.exe | |
REM Install and run VSCode | |
C:\Users\WDAGUtilityAccount\Downloads\vscode.exe /verysilent /suppressmsgboxes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Configuration> | |
<MappedFolders> | |
<MappedFolder> | |
<HostFolder>D:\Downloads</HostFolder> | |
<SandboxFolder>C:\Users\WDAGUtilityAccount\Downloads\sandbox</SandboxFolder> | |
</MappedFolder> | |
<MappedFolder> | |
<HostFolder>D:\repo</HostFolder> | |
<SandboxFolder>C:\Users\WDAGUtilityAccount\repo</SandboxFolder> | |
<ReadOnly>false</ReadOnly> | |
</MappedFolder> | |
</MappedFolders> | |
<LogonCommand> | |
<Command>C:\Users\WDAGUtilityAccount\Downloads\sandbox\VSCodeInstall.cmd</Command> | |
</LogonCommand> | |
<LogonCommand> | |
<Command>explorer.exe C:\users\WDAGUtilityAccount\Downloads</Command> | |
</LogonCommand> | |
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Configuration> | |
<Networking>Enable</Networking> | |
<MappedFolders> | |
<MappedFolder> | |
<HostFolder>D:\Downloads</HostFolder> | |
<SandboxFolder>C:\Users\WDAGUtilityAccount\Downloads</SandboxFolder> | |
<ReadOnly>false</ReadOnly> | |
</MappedFolder> | |
<MappedFolder> | |
<HostFolder>D:\repo</HostFolder> | |
<SandboxFolder>C:\Users\WDAGUtilityAccount\repo</SandboxFolder> | |
<ReadOnly>false</ReadOnly> | |
</MappedFolder> | |
</MappedFolders> | |
<LogonCommand> | |
<Command>explorer.exe C:\users\WDAGUtilityAccount\Downloads</Command> | |
</LogonCommand> | |
<LogonCommand> | |
<Command>C:\Users\WDAGUtilityAccount\Downloads\VSCodeInstall.cmd</Command> | |
</LogonCommand> | |
<LogonCommand> | |
<Command>explorer.exe C:\Users\WDAGUtilityAccount\Downloads\Prep.cmd</Command> | |
</LogonCommand> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment