Category Archives: Windows

Windows tips, howtos, scripts

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

Windows: Open Registry Editor regedit.exe at a given key

Hi,

regedit.exe does not accept any command line parameters for opening a given key.
Continue reading Windows: Open Registry Editor regedit.exe at a given key

Windows: Locate the CA in your Active Directory Infrastructure

Hi,

there are two ways to determine the Certitification Authority in your Active Directory environment.
Continue reading Windows: Locate the CA in your Active Directory Infrastructure