2014年9月8日 星期一

Disable firewall on Windows Server 2012 Server Core

C:\Users\Administrator>netsh advfirewall set allprofiles state off
Ok.

Enable Remote Desktop on Windows Server 2012 Server Core

C:\Users\Administrator>Cscript %windir%\system32\SCRegEdit.wsf /ar 0
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

OR
scconfig -> 7

Registry has been updated.

ref:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/8ca7d997-aeff-4253-beab-4ac0cdcc30c6/how-do-you-turn-on-rdp-in-server-2012-core?forum=winserver8setup

Setup Hyper-V on Windows Server 2012 Server Core

http://technet.microsoft.com/en-us/library/ee441260(v=ws.10).aspx

Dism /online /enable-feature /featurename:Microsoft-Hyper-V

Ref
http://social.technet.microsoft.com/Forums/windowsserver/en-US/17537d33-f0c7-402d-b1e0-e3823aadfc51/server-core-2012-r2-ocsetup-issue?forum=winserversetup
ocsetup  is already deprecated.

ErrMsg:
Windows cannot find 'ocsetup'. Makesure you typed the name correctly, and then try again.

ENV:
Windows Server 2012 R2 Standard Server Core