Hyper-V 호스트를 위한 Server Core 설정 Virtualization2009. 5. 3. 00:05
스크립트로 만들어야겠다.. 너무 많다...;;;
-Show IP Configration-
netsh interface ipv4 show config
-Config IP Address-
netsh interface ipv4 set address name="로컬 영역 연결" static <IP> <Subnet Mask> <G/W>
-Add DNS Server IP Address-
netsh interface ipv4 add dnsserver "로컬 영역 연결" <DNS Server IP>
-Join Domain-
netdom join <HostName> /Domain:<DomainName> /UserD:<DomainUser> /PasswordD:*
-Rename Computer-
netdom renamecomputer <HostName> /NewName:<NewHostName> /UserD:<DomainUser> /PasswordD:*
-Enable RDP(Disable Secure Level)-
Cscript c:\windows\system32\scregedit.wsf /ar 0
Cscript c:\windows\system32\scregedit.wsf /cs 0
-Configure Firewall-
Netsh advfirewall firewall set rule group="원격 관리" new enable=yes
Netsh advfirewall firewall set rule group="WMI(Windows Management Instrumentation)" new enable=yes
Netsh advfirewall firewall set rule group="파일 및 프린터 공유" new enable=yes
Netsh advfirewall firewall set rule group="원격 볼륨 관리" new enable=yes
Netsh advfirewall firewall set rule group="원격 이벤트 로그 관리" new enable=yes
Netsh advfirewall firewall set rule group="원격 서비스 관리" new enable=yes
Netsh advfirewall firewall set rule group="Windows 방화벽 원격 관리" new enable=yes
Netsh advfirewall firewall set rule group="핵심 네트워킹" new enable=yes
Netsh advfirewall firewall set rule group="원격 데스크톱" new enable=yes
-Allow Remote Device Management-
mmc > 그룹 정책 개체 편집기 > Server Core >
컴퓨터 구성 > 관리 템플릿 > 시스템 > 장치 설치 > PnP 인터페이스에 대한 원격 액세스 허용
-Install Features-
start /w ocsetup FailoverCluster-Core
start /w ocsetup MultipathIo
start /w ocsetup TelnetClient
-Install Hyper-V Role-
Start /w ocsetup Microsoft-Hyper-V
-Windows Activation-
Slmgr.vbs -ipk <Product Key> <- Input Product Key
Slmgr.vbs -ato <- Activation
Slmgr.vbs -dlv <- Show Activation Status