When using the trial version of RDS (Remote Desktop Services) licenses, you may encounter an error that prevents you from connecting to the server. Here’s an example of such an error:
The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator.
One possible reason for this error is an expired RDS trial license. There are two potential solutions to this problem: a radical one involving reinstalling the system, updating the trial version for Windows, and resetting the RDS counter, and a second option where we delete the file responsible for the RDS GracePeriod (TimeBomb) and reset the RDS counter, thereby obtaining an additional 120 days.
In this article, we will focus on the second option.
- If you have a remote server, prepare a KVM connection.
- Changing file permissions
- Deleting the file (TimeBomb)
- Restarting the server
Changing File Permissions
Using the Windows search or the RUN command, open “regedit.”
To navigate to the file for which we need to change permissions, you should use this path:
Once you have followed this path, you need to right-click the “GracePeriod” file and go to the “Permissions” section.
By default, the Admin user does not have the rights to modify or delete this file, so we need to grant permissions to the user.
After you enter the “Permissions for GracePeriod” section, you can also check the current permissions. In this window, select “Advanced,” and you will be taken to the “Advanced Security Settings for GracePeriod.” Click “Change” in the Owner line and select our Admin user.
After changing the owner, confirm it by checking the boxes with the following names:
Replace owner on subcontainers and objects Replace all child object permission entries with inheritable permission entries from this object
Once you have confirmed these changes by checking the boxes, confirm the permission changes for the registry section.
Deleting the File (TimeBomb)
Now you have the right to manage permissions for this file. Go back to the “Permissions for GracePeriod” window and set permissions for the Admin user:
Full Control Read
Now, the Admin user has the right to modify/delete the required file. Navigate to the “GracePeriod” folder, find the “timebomb” file, select it, and click “Delete,” confirming the deletion.
Now, all that’s left is to restart the server. After the restart, the RDS error should disappear, and you will have an additional 120-day grace period.