Category Archives: Windows Scripts

Sample Script to manage Windows

Powershell: Determine the image type (x64/x86) of an exe file

Hi,

based on this stackoverflow post I’ve written a powershell function to determine the image type of an Windows executable. The Powershells System.IO.FileSystemInfo type does not provide such an info.
Continue reading Powershell: Determine the image type (x64/x86) of an exe file

Powershell: md5sum and sha256sum Functions

Hi,

verifing of a file is often done by builting an MD5 or an sha256 hash over it.

Powershell has no “builtin” functions for this purposes.

So I wrote some 🙂
Continue reading Powershell: md5sum and sha256sum Functions

Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)

Hi,

in Windows, local group policies could applied through the Group Policy Editor or simply by setting the Registry Keys under HKEY_LOCAL_MACHINE\Software\Policies, HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies and its equivalent in HKEY_CURRENT_USER.

Unfortunataly when just set the Registry Keys this isn’t shown in the GPO Editor and it’s hard to find the equivalent section and setting there.
Continue reading Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)

Windows 10: Trigger detecting updates from command line

Hi,

since Windows 10 the command wuauclt /detectnow does not work anymore.
Continue reading Windows 10: Trigger detecting updates from command line

Windows 10: Powershell Script to protect your privacy

Hi,

this Powershell script is a try to protect your privacy in Windows 10.
Update 17.08.2016: Lot of adjustment to Windows 10 1607. Added more documentation
Continue reading Windows 10: Powershell Script to protect your privacy