Category Archives: Windows

Windows tips, howtos, scripts

Windows PE: .NET OpenFileDialog raises exception 80040154

Hi,

I wrote an .NET C# application where I want to use the OpenFileDialog class for chosing a file for some actions. This program should also run on Windows PE.

Continue reading Windows PE: .NET OpenFileDialog raises exception 80040154

Windows Server: Cannot change timezone: You don’t have permissions to perform this task.

Hi,

if you were faced with this error when you try to change the timezone on a Windows Server 2022/2025…

Continue reading Windows Server: Cannot change timezone: You don’t have permissions to perform this task.

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: Check if Powershell process is the 32 or 64 Bit Version

Hi,

sometimes it is importend, when writing to the registry or file system in regions where the architecture redirection active, to known on which version a script runs.

Continue reading Windows: Check if Powershell process is the 32 or 64 Bit Version

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