最後更新: 2018-03-14
介紹
Evaluation
# Evaluation(180days)
ISO Download:
http://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
For all editions, you have 10 days to complete online activation,
at which point the evaluation period begins and runs for 180 days.
During the evaluation period, a notification on the Desktop displays the days remaining the evaluation period
# Check time to Evaluation
slmgr.vbs /dlv
# Limits of evaluation versions
* booting to Safe mode is not available
When you log on to Windows, you are prompted with the following options:
- Activate now
- Ask me later
The system shuts down every hour
* The only updates that can be installed are security updates.
# Converting evaluation versions to full retail versions
dism.exe /online /Get-CurrentEdition
Current Edition : ServerStandardEval
dism.exe /online /Get-TargetEditions
Editions that can be upgraded to: Target Edition : ServerStandard Target Edition : ServerDatacenter
For Windows Server 2012 Essentials:
You can convert to the full retail version by entering a retail, volume license, or OEM key in the command slmgr.vbs
For Windows Server 2012 Standard or Windows Server 2012 Datacenter:
You can convert it to a retail version as follows:
* If the server is a domain controller, you cannot convert it to a retail version.
Activate:
DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
ie.
DISM /online /Set-Edition:ServerStandard /ProductKey:x-x-x-x-x /AcceptEula
* reboot twice time
volume-licensed <-> retail version <-> OEM version conversion
To do this, from an elevated command prompt, run:
slmgr /ipk <key>
Where <key> is the appropriate volume-license, retail, or OEM product key.
Login Safe Mode
Hotkey: F8
Hold down the SHIFT key on your keyboard, and then click on Power icon and select Restart
Server 2012 成為 Domain Controller
1) 為 Server 改好名先, Example: DC01
2) 設定 local DNS address 10.10.21.1
* After “Active Directory Domain Services” role binaries have been installed and
now it is time to promote the server to a Domain Controller.
PROMOTING WINDOWS 2012 SERVER TO DOMAIN CONTROLLER
[1] Click the "Promote this server to a domain controller" link
[2] "Add a new forest"
Remove Roles and Features
The "Manage" menu on the main "dashboard", using "Remove Roles and Features"
Remote Desktop Services
Remote Desktop Services, formerly Terminal Services, is a server role in Windows Server that provides technologies that enable users to access session-based desktops, virtual machine-based desktops, or applications in the data center from both within a corporate network and from the Internet. Remote Desktop Services enables a rich-fidelity desktop or application experience, and helps to securely connect remote users from managed or unmanaged devices.
新功能:
Session Shadowing
Installation
[1] Select Quick Start and click next
[2] Select Session-based desktop deployment and click next
[3] Add TS Licensing
Open Server Manager and go to "Remote Desktop Services" on the left menu.
If you plan to install the licensing services locally on this server click the RD Licensing icon in the "deployment overview" window.
Click "RD Licensing"
Select your licensing type, I am using Per User
type in the name of your licensing server and hit add. Your licensing server will be contacted, verified and added to the list.
Click OK
Go to System >> Remote Settings >> Select Users and add the Group or Users who will be allowed to connect to this server
Configuring the Licensing Mode
- Per Device
- Per User
1 ) In deployment Overview page, select on Tasks and click ‘Edit Deployment Properties’
2 ) In the ‘Deployment properties’ applet, click on the ‘RD Licensing’ page.
RDS Per User CAL
* Expires On "+ two month"
"greyed out!"
# stop RD Licensing service
services.msc -> stop "Remote Desktop Licensing service"
# delete all the files
C:\Windows\System32\LServer
# start RD Licensing service
Remark 1
An RDS Per User CAL gives one user the right to access an RD Session Host server from an unlimited number of client computers or devices.
RDS Per User CALs are not enforced by RD Licensing. As a result, client connections can occur regardless of the number of RDS Per User CALs installed on the license server.
Remark 2
all the licenses are now gone from RD License Manager. Do not worry about this as they will be automatically recreated as your users sign in.
Remark 3(This step is not always required):
client delete "License"
HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing
Desktop Experience
desktop icons on Windows Server 2012
We must install ‘Desktop Experience’ feature to get back personalization options which will help to get My computer back on Windows 2012 R2 server desktop.
安了它後才有 "Personalize"
‘Add Roles and Features’ in server dashboard,
select ‘Role-based or Feature-based installation’
Feature
"User Interfaces ..." -> ‘Desktop Experience’
* IMPORTANT: Installation of this features requires a server reboot.
Install SQL 2012
Error: 'Could not find database engine startup handle'
Following can be the reason behind the error message.
The account which user selected on Server Configuration page window ( during installation) is somehow not able to bring SQL Server database engine services online. Either is lacks privilege or it is corrupted. During installation of database engine services SQL Server tries to bring online database services as a internal process but due to startup account either corrupt or not having appropriate privileges it fails to do so and ultimately installation fails.
select startup account for Database Engine services as 'NT Authority\SYSTEM' which is also called as Local System account.
IE 設定
Disable Internet Explorer Enhanced Security Configuration (IE ESC) in Windows Server 2012
Manager Dashboard -> Local Server -> 見到 "IE Enhanced Security Configuration: On"
安裝繁體
Control Panel > Language > Add Language
OR
lpksetup.exe
Download GUI Lang.
https://oem.microsoft.com/downloads/agreement/Windows_Server_2012_R2_LP/Win_SVR_2012_R2_64BIT_Chinese_Traditional_LP_OEM.img
Win_SVR_2012_R2_64BIT_Chinese_Traditional_LP_OEM.img eca1edb9aaae07818bd30e484d72a69a
Create a bootable Windows Server 2012 R2 installation USB
Tools: "Windows 7 USB DVD Download Tool"
Safe Mode
Boot with Windows Server install DVD
select REPAIR YOUR COMPUTER option,
the Troubleshooting, then
Command Prompt
輸入 CMD
bcdedit /set {bootmgr} displaybootmenu yes
bcdedit /set {bootmgr} timeout 20 # VM display 得好慢, 20 看到時已經 13
Reboot 後就有 menu 提示按 F8 入 Safe Mode