Sunday, April 05, 2015

Get domain controller from NetBios name using Python

     myad is the NetBios name of the domain.

Note: Using ActiveState Python 2.7.x.

Get domain controllers from the command line using nltest

c:\> nltest /dclist:myad.test.local
This will return list of domain controllers for myad.test.local domain.

Get PDC domain controller name using nltest

c:\> nltest /dcname:myad
Note using myad(NetBios) instead of FQDN.

Get domain roles from the command line

c:\> netdom query /domain:myad.test.local fsmo

This can be used to get the PDC (Primary Domain Controller) emulator on AD environments.


Wednesday, December 24, 2014

Disable Windows 8.1 charms bar from showing up on a touchpad

Most PCs with touchpad enables Windows 8.1 gesture support. In most cases, it is more of problem/annoying feature than it is worth.

To disable charms bar from showing up when swiping the touchpad (Dell laptops), do:

  1. Open Dell Touchpad from system tray.
  2. Go to Gestures tab
  3. Disable/un-check "Right Edge Swipe"

nView Desktop Manager interferes with VirtualBox guest Alt+Tab functionality

If you have nVIDIA graphics adapter and installed nView Desktop Manager and you also have VirtualBox running in the host machine then Alt+Tab functionality in the guest will affected by nView if it is enabled.

This was observed on:
OS: Windows 8.1 Enterprise 64-bit
VirtualBox: 4.3.20

Sunday, November 30, 2014

HowTo: Set IPv4 preferred DNS server to static IP from command line

c:\> netsh interface ip set dns VirtualBox Host-Only Network static

VirtualBox Host-Only Network - is the network interface name