Category Archives: Windows knowhow

Howto do some things in Windows

Windows Remote Desktop Gateway: Resouce authorization policy store is corrupt

Hi,

when you try to open the Remote Desktop Gateway Management Console and you get the following error:

The Remote Desktop resouce authorization policies (RD RAPs) cannot not be read. This problem might be due to a corrupted store for the RD RAP.

The Microsoft-Windows-TerminalServices-Gateway/Operational log contains errors with EventID 642:
The RD Gateway server cannot open the resource authorization policy store on Authorization Manager (Azman). The following error occurred: “11”.

Continue reading Windows Remote Desktop Gateway: Resouce authorization policy store is corrupt

Advertisment to support michlstechblog.info

Windows: Update builtin openssh to the latest version

Hi,

when you have install openssh by

PS D:\> Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

then the installed version will never get updates.

Some older version (8.x.x) might have scp performance issues and therefore an update makes sence :-).
Continue reading Windows: Update builtin openssh to the latest version

Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.

Hi,

Invoke-RestMethod or Invoke-WebRequest uses by default TLS 1.0. This protocal is outdated and would be not accepted by the most Webservers anymore.

Usually this results in the following error message:
The underlying connection was closed: An unexpected error occurred on a receive.

Continue reading Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.