Activate the Remote Desktop License Server
Step by step instruction how install and configure the Remote Desktop Services on a Windows Server 2012 or 2016.
Step 2. Activate the Remote Desktop License Server.
1. Simultaneously press the Windows
+ R keys to open run command box.
2. Type licmgr.exe and press Enter to open the RD Licensing Manager *
* Note: Alternately, you can launch the RD Licensing Manager, from Control Panel –> Administrative Tools –> Remote Desktop Services –> Remote Desktop Licensing Manager.
3. At the right pane, right click on the server name and select Activate Server.
4. Click Next at the Welcome screen and then click Next again at Connection method options.
5. At 'Company Information' window, fill the required fields and click Next twice to activate your License Server.
6. When the activation is completed, leave checked the 'Start Install Licenses Wizard' checkbox and click Next.
7. Continue to next step.
How to Install Remote Desktop Services (Terminal Services) on Server 2016/2012.
Step by step instruction how install and configure the Remote Desktop Services on a Windows Server 2012 or 2016.
If the terminal service are installed on Domain Controller first install Active Directory Domain Service role and promote the Server to a Domain Controller, before installing the Remote Desktop Sessin Host role service.
Step 1. Install Remote Desktop Licensing and Remote Desktop Session Host role services
1. Open 'Server Manager' and click on Add Roles and Features.
2. At the first screen of 'Add Roles and Features wizard' leave the Role-based or feature-based installation option and click Next.
3. At the next screen, leave the default option "Select server from the server pool" and click Next.
4. Select the Remote Desktop Services and click Next.
5. Leave the default settings and click Next at Features and Remote Desktop Services screens.
6. At Role Services screen, select the Remote Desktop Licensing role service and then click Add Features.
7. Then select the Remote Desktop Session Host role service and click Add Features again.
8. When done, click Next to continue.
9. Finally click Install to install the Remote Desktop Services: Remote Desktop Licensing and Remote Desktop Session Host.
10. When the installation is completed close the 'Add Roles and Features Wizard' and restart your server.
windows 2016 server RDP configuration
windows 2016 server RDP configuration
If you created a RDS deployment using Server Manager -- Add roles and features -- RDS install -- Quick/Standard -- Session-based you would set the licensing mode and RD Licensing server name in RDS Deployment Properties and make sure the server is part of a session collection.
If you do not create a RDS deployment then you can set it via group policy settings.
Example:
Open gpedit.msc
Go to:
Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing
Use the specified Remote Desktop license servers Enabled and write License server to use
Set the Remote Desktop licensing mode Enabled and specify the licensing mode for the RD Session Host server Per User or Per Device
httpd.service failed
centos httpd.service failed
Test apache
apachectl configtest
[root@bis etc]# apachectl configtest
httpd: Syntax error on line 364 of /etc/httpd/conf/httpd.conf: Syntax error on line 202 of /etc/httpd/conf.d/virtuals.conf: /etc/httpd/conf.d/virtuals.conf:202: was not closed.
check virtuals.conf line xxx
Here is the output of systemctl status httpd.service
[root@bis log]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2019-10-18 15:12:00 CEST; 6min ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 11550 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 11548 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 11548 (code=exited, status=1/FAILURE)
Oct 18 15:12:00 b1s.eu systemd[1]: Starting The Apache HTTP Server...
Oct 18 15:12:00 b1s.eu httpd[11548]: httpd: Syntax error on line 364 of /etc/httpd/conf/httpd.conf: Synta...osed.
Oct 18 15:12:00 b1s.eu systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 18 15:12:00 b1s.eu kill[11550]: kill: cannot find process ""
Oct 18 15:12:00 b1s.eu systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 18 15:12:00 b1s.eu systemd[1]: Failed to start The Apache HTTP Server.
Oct 18 15:12:00 b1s.eu systemd[1]: Unit httpd.service entered failed state.
Oct 18 15:12:00 b1s.eu systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.





