All posts by Michael Albert

Windows: Could not establish a remote desktop connection. No client licenses available.

Even though you have already installed and configured a Terminal Server license Server, you can not connect to a Terminal Server with the Remote Desktop Client from some individual clients. Some other will work.

The following error occurs:

The remote session was disconnected because there are no Terminal Server client access licenses available for this computer. Please contact the server administrator.
Continue reading Windows: Could not establish a remote desktop connection. No client licenses available.

Advertisment to support michlstechblog.info

Windows: How to determine the SID of a User or Group

Hi,

Sometimes you need the SID of a user or group. For example if you want to set permissions with icalcs in multilanguage environments. icacls needs as input the group name or the SID. If you want to set permission for the builtin groups you have to specify the group name in the current language of the operating system, i.e. “Users” for en-US and “Benutzer” for de-DE. The better choice is the SID, the SIDs for builtin groups are always the same.
Continue reading Windows: How to determine the SID of a User or Group

Links: A list of virus scanner Live CDs

Hi,

if a virus infection was detected or is just assumed, the best way to found all of them, is to boot from a “Clean” medium to ensure no rootkit hide some importend details from the scanner.

There are a couple of Live CDs for this job.

Microsoft Defender Offline – It used a Windows PE. Has a graphical frontend

Avira Rescue System – Linux based with a graphical frontend

Live Scanner Kaspersky Lab – Linux based with a KDE based Desktop

Dr. Web Live CD – not tested yet

F-Secure Rescue CD – Linux LiveCD – text based

Bitdefender Rescue CD – Linux Live CD with a graphical LXDE Desktop
AVG Rescue CD – Also Linux based but with a menu driven text frontend

Panda Security LiveCD – Linux based and simple to use.

Use multiple of them to get the the best possible result to eliminate all infections!

Michael

Powershell: Active Directory Domain Operations

Hi,

some commands to manage Active Directory Domain Controllers by using the .NET System.DirectoryServices.ActiveDirectory.Domain Class.
Load the assembly

[reflection.assembly]::LoadWithPartialName("System.DirectoryServices.Protocols")|Out-Null

Get a Domain Object with the logon Domain of the current user
Continue reading Powershell: Active Directory Domain Operations

Powershell: How to show a message box

Sometimes while a powershell script is running you want to show a MessageBox with a information or warning to the user. In Windows Powershell no Commandlet exists to show a Message Box.

Nevertheless it is possible by using the .NET Windows.Forms.MessageBox class:-).

First of all load the assembly.

# Load assembly
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")

To show the messagebox call the static function show(“Message Text”)
Continue reading Powershell: How to show a message box