Category Archives: Windows

Windows tips, howtos, scripts

Windows: certutil command line examples

Hi,

Windows has a builtin tool for dealing with x509 certificates, certificate stores and much more.
Continue reading Windows: certutil command line examples

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

Windows: Reset, enable and configure Powershell remoting

Hi,

here are the steps to reset WinRM service and start from scratch.
Continue reading Windows: Reset, enable and configure Powershell remoting

Linux: Prevent X11/Xorg from using a (Nvidia) GPU

Hi,

when you install an NVidia GPU to run HPC tasks you usually don’t want that X11/xorg use it. This can be done by force Xorg to use the framebuffer device and prevent the nvidia_drm driver from creating a framebuffer device.
You can check this by nvidia-smi

root@debdev ~ # nvidia-smi 
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1581      G   /usr/lib/xorg/Xorg                          167MiB |
|    0   N/A  N/A      1713      G   /usr/bin/gnome-shell                         16MiB |
+---------------------------------------------------------------------------------------+

Continue reading Linux: Prevent X11/Xorg from using a (Nvidia) GPU

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