Remote Desktop Connection problem

Problem/message:

The remote session was disconnected because there are no Remote Desktop Licence Servers available to provide a licence.
Please contact the server admnistrator.

Solution can be found here:https://besch-it.com/the-remote-session-was-disconnected-because-there-are-no-remote-desktop-licence-servers-available-to-provide-a-licence/

There is also the need to take ownership of the registry key before changing it.Instructions can be found here:https://www.howtogeek.com/262464/how-to-gain-full-permissions-to-edit-protected-registry-keys/

 

Add OU users to a group (and skip when the user is already member)

I wanted to add all the users from an OU direct in a group but the problem was that the group had already members.I needed to control wether the user was already member of the group.That is my implementation.

 

Continue reading “Add OU users to a group (and skip when the user is already member)”