달력

5

« 2024/5 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
SCVMM에서 한글판 Windows Server 2008을 설치하고 Sysprep를 수행해 VM 템플릿을 구성한 후 해당 템플릿을 선택해 새로운 가상 머신을 배포하면 국가 및 언어 옵션과 키보드 설정이 영문, 미국으로 설정되는 문제가 발생합니다. 제 생각으로는 운영 체제 프로필이 적용되면서 영문으로 기본 설정이 되어 버리지 않나 생각됩니다. 이러한 문제를 해결하기 위한 방법으로 Unattend.xml 파일을 작성해 한국 로케일로 설정되도록 합니다.
SCVMM System Center 2012 Hyper-V Unattend WAIK ADK

1. 먼저 아래 링크를 통해 WAIK를 다운 받아 설치합니다.
The Windows Automated Installation Kit (AIK) for Windows 7

2. Windows Server 2008 설치 미디어의 sources 디렉터리에서 카탈로그 파일인 .clg 파일 중 설정할 에디션 파일을 복사해 옵니다.
 

3. Windows System Image Manager를 실행한 후 File > Select Windows Image를 클릭해 카탈로그 파일을 불러옵니다.
 

4. New Answer File을 클릭해 새로운 응답 파일을 만듭니다.
 

5. 왼쪽 아래의 Components를 확장해 Amd64_Microsoft-Windows-International-Core_netural를 찾아 오른쪽의 oobeSystem을 드래그 앤 드롭합니다.
 

6. 각각의 값을 아래와 같이 입력합니다.
- InputLocale: 0x00000412
- SystemLocale, UILanguage, UILanguageFallback, UserLocale: ko-KR
 

7. 이 상태에서 응답 파일을 저장해도 되며, 추가적으로 구성하고자 하는 항목이 있으면 구성을 추가합니다. 아래는 몇 가지 예입니다.
- amd64_Microsoft-Windows-ServerManager-SvrMgrNc_netural: 로그온 시 서버 관리자를 띄우지 않음
- amd64_Microsoft-Windows-OutOfBoxExperience_netural: 로그온 시 기본 구성 작업 창 띄우지 않음
- amd64_Microsoft-Windows-TerminalServices-LocalSessionManager_netural: 원격 데스크톱 연결 허용
- x86_Microsoft-Windows-IE-ESC_neutral: Internet Explorer 보안 강화 구성(ESC) 사용 안 함
 

8. 구성이 끝난 후 응답 파일을 저장한 후 SCVMM 서버의 라이브러리에 해당 파일을 복사한 VM 템플릿에 적용하면 됩니다.




또는, VMM Managment Shell에서 다음 명령을 통해 직접 템플릿과 게스트 OS 프로필을 수정하실 수도 있습니다.
아래는 제가 주로 사용하는 설정입니다. (로케일 설정, IE 보안 강화 사용 안 함, 서버 관리자 실행 안 함 등)

Import-Module virtualmachinemanager

$VMtemplate = Get-SCVMtemplate | Where {$_.OSType -eq "Windows"}
foreach ($Template in $VMtemplate ) {
  If ($Template.UnattendSettings.Count -ne 0) {$Template.UnattendSettings.Clear()}
  $Settings = $Template.UnattendSettings
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/UserLocale","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/SystemLocale","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/UILanguage","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0412:00000412")
  $Settings.add("specialize/Microsoft-Windows-TerminalServices-LocalSessionManager/fDenyTSConnections","false")
  $Settings.add("specialize/Microsoft-Windows-ServerManager-SvrMgrNc/DoNotOpenServerManagerAtLogon","true")
  $Settings.add("specialize/Microsoft-Windows-OutOfBoxExperience/DoNotOpenInitialConfigurationTasksAtLogon","true")
  $Settings.add("specialize/Microsoft-Windows-IE-ESC/IEHardenAdmin","false")
  $Settings.add("specialize/Microsoft-Windows-IE-ESC/IEHardenUser","false")
  Set-SCVMTemplate -VMTemplate $Template -UnattendSettings $Settings
}

$OSProfile = Get-SCGuestOSProfile | Where {$_.OSType -eq "Windows"}
foreach ($Template in $OSProfile ) {
  If ($Template.UnattendSettings.Count -ne 0) {$Template.UnattendSettings.Clear()}
  $Settings = $Template.UnattendSettings
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/UserLocale","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/SystemLocale","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/UILanguage","ko-KR")
  $Settings.add("oobeSystem/Microsoft-Windows-International-Core/InputLocale","0412:00000412")
  $Settings.add("specialize/Microsoft-Windows-TerminalServices-LocalSessionManager/fDenyTSConnections","false")
  $Settings.add("specialize/Microsoft-Windows-ServerManager-SvrMgrNc/DoNotOpenServerManagerAtLogon","true")
  $Settings.add("specialize/Microsoft-Windows-OutOfBoxExperience/DoNotOpenInitialConfigurationTasksAtLogon","true")
  $Settings.add("specialize/Microsoft-Windows-IE-ESC/IEHardenAdmin","false")
  $Settings.add("specialize/Microsoft-Windows-IE-ESC/IEHardenUser","false")
  Set-SCGuestOSProfile -GuestOSProfile $Template -UnattendSettings $Settings
}




:
Posted by 커널64