Category Archives: Windows knowhow

Howto do some things in Windows

Powershell 7: Use Powershell 7 as WinRM shell

Hi,

to enter a Powershell 7 shell over WinRM setup the machines as followed:
Continue reading Powershell 7: Use Powershell 7 as WinRM shell

Windows: Add a virtual interface for each 802.1q tagged vlan

Hi,

let use assume you have a network adapter with multiple tagged 802.1q vlans on it. Previously, Intel published the Advanced network services. In the past this could be used to create a virtual network adapter for each VLAN id. Unfortunatly the tool is deprected.

Continue reading Windows: Add a virtual interface for each 802.1q tagged vlan

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