Category Archives: Windows knowhow

Howto do some things in Windows

Windows: Decode Win32 Error codes

Hi,

if you have a Windows Errorcode like 0xc000021a and want to decode it to a human readable format you can use certutil.
Continue reading Windows: Decode Win32 Error codes

Windows PE: Disable DPI autoscaling

Hi,

if you start an application on Windows PE which is not “compatible” with the Windows Display autoscaling feature the applications forms is shown “deformed”. Fonts does not scale down and are shown bigger then the controls itself.

You can prevent Windows from doing this 🙂
Continue reading Windows PE: Disable DPI autoscaling

Windows: Get all groups a user is memberof by dsquery/dsget recursive

Hi,

The “net” builtin commands of Windows have some limitations: It truncates groupnames longer then 20 Characters, it cannot resolve group in group memberships….

dsget/dsquery are (LDAP) command line interfaces for active directory. For using these commands you have to install the Windows RSAT Tools (Remote Server Administration Tools).

Some examples.
Continue reading Windows: Get all groups a user is memberof by dsquery/dsget recursive

Powershell: Function Pointer

Hi,

Powershell provides also the ability to use function pointers such as C or C++.

Define your functions
Continue reading Powershell: Function Pointer

Windows: Clipboard not working

Hi,

when have opened a Remote Desktop Connection it sometimes happened that the clipboard stops working.

When you closing and reestablish the Remote Desktop Connection the clipboard functionally comes back.

But its also possible without closing the RDP Session:
Continue reading Windows: Clipboard not working