Category Archives: Windows Scripts

Sample Script to manage Windows

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: 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

Powershell: Some basics accessing the BCDstore by WIM

Hi,

here are some starters for accessing the bcd store from powershell by using WMI.

Continue reading Powershell: Some basics accessing the BCDstore by WIM

Windows: Using Windows text to speech feature with powershell

Hi,

Windows has a builtin feature to convert text to speech and play it over the speakers. This can be used in powershell by using the System.Speech namespace.
Continue reading Windows: Using Windows text to speech feature with powershell

Windows: Get and decrypt password from rdp files

Hi,

rdp files can store the password for a connection. The password is protected with the users key who saved the file.
Continue reading Windows: Get and decrypt password from rdp files