Skip to content

Instantly share code, notes, and snippets.

@Devaniti
Last active August 3, 2023 19:24
Show Gist options
  • Save Devaniti/bbcbf5c2ab7f2eeabf62a494c064254e to your computer and use it in GitHub Desktop.
Save Devaniti/bbcbf5c2ab7f2eeabf62a494c064254e to your computer and use it in GitHub Desktop.
(deprecated, please use https://gist.github.com/Devaniti/f2cc137cd746d103171393647248fc3a instead) Setup script for new Windows 11 graphic developer PC
rem Script for setting up new Windows 11 PC for graphic development
rem You need need to run it with administator rights
rem You can modify list of installed software below
rem Windows explorer settings
rem Sets option to always show file extensions
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f
rem Sets option to show hidden files (but not OS protected files)
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v Hidden /t REG_DWORD /d 1 /f
rem Sets option to show full path instead of just folder name in file explorer window title
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState /v FullPath /t REG_DWORD /d 1 /f
rem Reverts Windows 11's right mouse click menu back to full Windows 10 like menu
reg add HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f
rem Enables Windows developer mode, which is required for some features (e.g. DXR debugging in PIX)
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
rem Add Graphic Tools package required for d3d12 debug layer
dism /Online /Add-Capability /CapabilityName:Tools.Graphics.DirectX~~~~0.0.1.0
rem Downloads and installs winget if you don't already have it
rem First we download msixbundle from Microsoft's server
powershell -command "Start-BitsTransfer -Source https://aka.ms/getwinget -Destination winget.msixbundle"
rem Then we add package. It may fail if you already have newer version, but it's fine.
powershell -command "Add-AppPackage -path winget.msixbundle"
rem And finally cleanup
del winget.msixbundle
rem Installs some commonly used software (includes author's personal bias)
rem Feel free to comment/uncomment out any software you don't or do want to install
rem Browsers
winget install -e Google.Chrome
rem winget install -e Mozilla.Firefox
rem winget install -e Opera.Opera
rem Version control
winget install -e Git.Git
rem winget install -e Perforce.P4V
rem Text editors and IDEs
rem winget install -e Microsoft.VisualStudioCode
rem winget install -e Notepad++.Notepad++
rem Check the license if you want to install Visual Studio Community
rem winget install -e Microsoft.VisualStudio.2022.Community
rem winget install -e Microsoft.VisualStudio.2019.Community
rem Graphics debuggers and SDKs
rem Couldn't find any mention of license for PIX so it's up to you to check whether you can use it
winget install -e Microsoft.PIX
winget install -e BaldurKarlsson.RenderDoc
winget install -e KhronosGroup.VulkanSDK
rem Miscelaneous useful tools
winget install -e 7zip.7zip
rem winget install -e TechPowerUp.GPU-Z
rem winget install -e Oracle.JavaRuntimeEnvironment
rem Communication
rem winget install -e SlackTechnologies.Slack
rem winget install -e Zoom.Zoom
rem winget install -e Discord.Discord
rem winget install -e Microsoft.Skype
rem Instal all current Visual C++ Redistributables so we don't need to worry about them for a while
winget install -e Microsoft.VC++2005Redist-x86
winget install -e Microsoft.VC++2005Redist-x64
winget install -e Microsoft.VC++2008Redist-x86
winget install -e Microsoft.VC++2008Redist-x64
winget install -e Microsoft.VC++2010Redist-x86
winget install -e Microsoft.VC++2010Redist-x64
winget install -e Microsoft.VC++2012Redist-x86
winget install -e Microsoft.VC++2012Redist-x64
winget install -e Microsoft.VC++2013Redist-x86
winget install -e Microsoft.VC++2013Redist-x64
winget install -e Microsoft.VC++2015-2022Redist-x86
winget install -e Microsoft.VC++2015-2022Redist-x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment