Category Archives: Windows

Windows tips, howtos, scripts

Windows: Reset WSUS and recreate SUSDB

Hi,

here are the steps if you have installed WSUS on Server 2012R2 on the Windows Internal Database to reset the Database and WSUS itself.

Continue reading Windows: Reset WSUS and recreate SUSDB

Windows: Join a workgroup or domain from command line

Hi,

there are two ways to join or leave a domain. The netdom command or the Powershell Command lets add-computer and remove-computer.
Continue reading Windows: Join a workgroup or domain from command line

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