2011. 10. 26. 13:18
VDI 시 Windows 7 기본 이미지에 대한 권장 구성 작업 Virtualization2011. 10. 26. 13:18
VDI 시 Windows 7 기본 이미지에 대한 권장 구성 작업 CLI Command Line
Citrix Windows 7 Optimization Guide for Desktop Virtualization 문서에 기반함
배치 파일로 만들어 쓸 수 있도록 정리
@Echo off
Citrix Windows 7 Optimization Guide for Desktop Virtualization 문서에 기반함
배치 파일로 만들어 쓸 수 있도록 정리
@Echo off
Echo Citrix Windows 7 Optimization Guide for Desktop Virtualization 문서에 기반하여,
Echo 데스크톱 가상화(VDI)를 위한 Windows 7 가상 머신에 대한 권장 구성들을 적용합니다.
Echo ================================================================================
Echo ================================================================================
Pause
Echo Disable 'Background Intelligent Transfer Service'...
sc config BITS start= disabled
Echo Disable 'Function Discovery Resource Publication'...
sc config FDResPub start= disabled
Echo Disable 'HomeGroup Listener'...
sc config HomeGroupListener start= disabled
Echo Disable 'HomeGroup Provider'...
sc config HomeGroupProvider start= disabled
Echo Disable 'Offline Files'...
sc config CscService start= disabled
Echo Disable 'Security Center'...
sc config wscsvc start= disabled
Echo Disable 'Superfetch'...
sc config SysMain start= disabled
Echo Disable 'Windows Defender'...
sc config WinDefend start= disabled
Echo Disable 'Windows Media Player Network Sharing Service'...
sc config WMPNetworkSvc start= disabled
Echo Disable 'Windows Media Player Network Sharing Service'...
sc config WMPNetworkSvc start= disabled
Echo Disable 'Last Access Timestamp'...
reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v NtfsDisableLastAccessUpdate /t REG_DWORD /d 1 /f
Echo Disable 'Large Send Offload'...
reg add "HKLM\SYSTEM\CurrentControlSet\Services\BNNS\Parameters" /v EnableOffload /t REG_DWORD /d 0 /f
Echo Disable 'TCP/IP Offload'...
reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v DisableTaskOffload /t REG_DWORD /d 1 /f
Echo Increase 'Service Startup Timeout'...
reg add "HKLM\SYSTEM\CurrentControlSet\Control" /v ServicesPipeTimeout /t REG_DWORD /d 180000 /f
Echo Hide 'Hard Error Messages'...
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /v ErrorMode /t REG_DWORD /d 2 /f
Echo Disable 'CIFS Change Notifications'...
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoRemoteRecursiveEvents /t REG_DWORD /d 1 /f
Echo 'Disable Logon Screensaver'...
reg add "HKU\.DEFAULT\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 0 /f
Echo Disable 'Error Reporting'...
reg add "HKLM\SOFTWARE\Microsoft\PCHealth\ErrorReporting" /v DoReport /t REG_DWORD /d 0 /f
Echo Disable 'System Restore'...
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v DisableConfig /t REG_DWORD /d 1 /f
Echo Disable 'Boot Animation'...
bcdedit /set bootux disabled
Echo ================================================================================
Echo 데스크톱 가상화를 위한 Windows 7 가상 머신에 대한 구성 작업이 완료되었습니다.