logo

한국어
::
:: Windows 기능 최적화
::
@ECHO OFF
SC CONFIG "WUAUSERV" START= AUTO
SC START "WUAUSERV"

::
:: Windows 기능 비활성
::
DISM /Online /NoRestart /Disable-Feature /FeatureName:FaxServicesClientPackage
DISM /Online /NoRestart /Disable-Feature /FeatureName:HypervisorPlatform
DISM /Online /NoRestart /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client
DISM /Online /NoRestart /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features
DISM /Online /NoRestart /Disable-Feature /FeatureName:Printing-XPSServices-Features
DISM /Online /NoRestart /Disable-Feature /FeatureName:VirtualMachinePlatform
DISM /Online /NoRestart /Disable-Feature /FeatureName:WindowsMediaPlayer

::
:: Windows 기능 활성
::
REM DISM /Online /NoRestart /Enable-Feature /FeatureName:WindowsMediaPlayer /All
DISM /Online /NoRestart /Enable-Feature /FeatureName:TelnetClient /All
DISM /Online /NoRestart /Enable-Feature /FeatureName:TFTP /All

::
:: .NET 3.5 Enable
::
:: DISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3 /All

::
:: SMB v1.0 Enable
::
:: DISM /Online /NoRestart /Enable-Feature /FeatureName:SMB1Protocol /All
:: DISM /Online /NoRestart /Enable-Feature /FeatureName:SMB1Protocol-Client /All
:: DISM /Online /NoRestart /Enable-Feature /FeatureName:SMB1Protocol-Server /All
:: DISM /Online /NoRestart /Enable-Feature /FeatureName:SMB1Protocol-Deprecation /All
:: SC CONFIG "LANMANSERVER" START= AUTO
:: SC CONFIG "LANMANWORKSTATION" DEPEND= BOWSER/MRXSMB10/NSI
:: SC CONFIG "MRXSMB20" START= DISABLED

::
:: 모든 Features의 상태 확인
::
DISM /Online /Get-Features /format:table /english

PAUSE