summaryrefslogtreecommitdiffstats
path: root/win10-prep.bat
diff options
context:
space:
mode:
authorbreadcat2020-07-15 15:48:34 +0100
committerbreadcat2020-07-15 15:48:34 +0100
commit4472d706abb26237be00b9a007161a6e37e5eff1 (patch)
tree05466aa6d2a4830fa7ae897dfb9fa97e21dbd1f8 /win10-prep.bat
parentffaf25ed62a7fc2949f36f890b681d637de680d0 (diff)
downloadwin10-prep-4472d706abb26237be00b9a007161a6e37e5eff1.tar.gz
win10-prep-4472d706abb26237be00b9a007161a6e37e5eff1.tar.bz2
win10-prep-4472d706abb26237be00b9a007161a6e37e5eff1.zip
Reoganise dism commands, alter casing
Diffstat (limited to 'win10-prep.bat')
-rw-r--r--win10-prep.bat7
1 files changed, 3 insertions, 4 deletions
diff --git a/win10-prep.bat b/win10-prep.bat
index b2bd3db..a7979a3 100644
--- a/win10-prep.bat
+++ b/win10-prep.bat
@@ -375,10 +375,9 @@ just-install steam
just-install teamspeak
rem add ahk-assistant if it exists
if exist %userprofile%\Vault\src\ahka\ahk-assistant.ahk reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "AHK Assistant" /t REG_SZ /d "%userprofile%\Vault\src\ahka\ahk-assistant.ahk" /f
-rem install .net3, generally useful
-DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /NoRestart
-rem install directplay, useful for old GTA games
-dism /Online /enable-feature /FeatureName:"DirectPlay" /All /NoRestart
+rem install .net3 and directplay using dism
+dism /online /enable-feature /featurename:"NetFx3" /all /norestart /quiet
+dism /online /enable-feature /featurename:"DirectPlay" /all /norestart /quiet
rem 7zip associations and use windows icon
reg add "HKCU\SOFTWARE\Classes\Applications\7zFM.exe\shell\open\command" /ve /t REG_SZ /d "\"%programfiles%\7-Zip\7zFM.exe\" \"%%1\"" /f
reg add "HKCR\7z_auto_file\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\zipfldr.dll" /f