Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, January 29, 2018

Fix - No Remote Desktop Licence Server available on RD Session Host server

A fully functional and activated Windows 2008/2008 R2/2012 Remote Desktop Session Host server displayed the following message

error no licence

This was a simple setup on one server with the: connection broker, Session Host and Licensing server with RDS/TS CAL’s installed.

Even though the licensing seems to be configured correctly, in server manager:
ServerManagerLicencingOK

Licensing diagnostics:
Licdiag

everywhere you look, everything seems to be OK. But the license manager shows something odd where No licenses are being used? 
This server was used since late 2012 Some interesting things could also be found in the event logs, the following events appear
NoLicensesUsed

EventID: 1130
Source: TerminalServices-RemoteConnectionManager

The Remote Desktop Session Host server does not have a Remote Desktop license server specified. To specify a license server for the Remote Desktop Session Host server, use the Remote Desktop Session Host Configuration tool.
event1130

EventID: 1128
Source: TerminalServices-RemoteConnectionManager

The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.
1128eventid

Solution 

Delete the REG_BINARY in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod"

Only leaving the default.
regkey

After a reboot the server should be working fine and get the licenses issued now and being getting used
Licencemanager

Although everything seemed to be ok and configured correctly with valid licenses, it seems that the setup was still in a 120 day grace period, even though it was correctly configured.

Note: you must take ownership and give admin users full control to be able to delete this key.

Image Source - Internet

Reset Terminal license on Windows Server OS

While Windows installed with Terminal Server role it does work without License for 120 Days on trail license, where within 120 days if the License server is not Connected the server will stop accepting connection with below error and event ID

error no licence

EventID: 1128
Source: TerminalServices-RemoteConnectionManager


The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.

1128eventid

The official solution is to Activate the RDS/TS CAL License server and point the Server to License server with User/Device License and will be resolve the problem

But if you want to reset the timer and again avail 120 days grace time  here is the solution

The solution was to delete the REG_BINARY in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod
Only leaving the default.
regkey

Note: you must take ownership and give admin users full control to be able to delete this key.

After a reboot the server should be working again for another 120 Days


Source - Internet

Sunday, August 20, 2017

Enable guest network in unify ap without vlan

Within the Unifi controller software, go to Settings -> Wireless Networks.  Create the SSID you want to be the guest network, leave security open, and check the box labeled Guest Policy.  Don't setup any VLAN configuration because you do not need it.
Once you have done that, go to Settings -> Guest Control.  You do not need to use the guest portal option.  In the Access Control area, add the subnets you do not want guest wifi clients touching in the Restricted Subnets area.  
Once you have completed these steps, you have just created a guest wifi that users can connect to without the need to authenticate, and Unifi has restricted clients on that wifi network from being able to touch your production network...all without VLANs.
And the clients on the guest network would get an ip from your DHCP server as you would expect, and you can then filter the web traffic by content as you desire.
Guestwifi_preview

And one other thing, you need to allow dhcp Ip address on guest wifi so that guest client can get ip from dhcp, within Settings -> Guest Control you can add your entire subnet (i.e. 192.168.0.0/24) under Restricted Subnets and then add an allowed subnet for just your dhcp server (i.e. 192.168.1.5/32).


Result: - User can get Ip from dhcp but will not be able to ping any devices into the network.

Thursday, July 14, 2016

Convert Windows Evaluation Version To Standard or Full Version

Sometimes we activated trial versions or evaluation copy of windows in order to test the windows or its functionality. But when we get into production, we cant really use the evaluation copy. In order to save our time and resource we can convert the evaluation copy to full version of windows without formatting the windows in below 2 steps.




Step -1.

Type Below command to get the details to which you can upgrade


DISM /online /Get-TargetEditions

here you will get Edition that can be upgraded to

Step -2. 

Type another command to change the edition from evalution to full

DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXX­X /AcceptEula
Where (xxxx) will be your product key of the full version. This will restart the server.





And when the server is restarted you will get the full version of windows.

Saturday, April 30, 2016

Manually Configuration Of Office365 on MS Outlook 2010/2013

Below are the steps to manually configure the Office365 mailbox on MS Outlook 2010/2013


First Go to Control panel and click on mail icon





·Now,  Click on show profiles and click on add profile.

 

 Enter name same as office365 mailbox and click OK.
 Then, on the next dialog box -> Click on manually configure server settings.

 



Select Microsoft exchange or compatible service.





Click on next.



Enter the details as shown below and click on More settings.


 Click on security and under logon network security select Anonymous Authentication.


 


Then click on connection and enable connect to Microsoft exchange.














Enter the details as shown below.

 



Click Ok and come back to the start screen as shown below


Click on check name





 Enter the credentials required to logon to the mailbox. and click on OK.

 

Once done, Finish the setup and open the Microsoft Outlook from the Programs. It will load
your configured emails.