Windows NT Tips & Tricks


Dumping ground for tips for Windows, and some Windows applications.

Syslog server for Windows

Windows 2003 Server (Enterprise)

Sound: by default, the service is disabled, so no sound.

Installing fax apps: By default, won't let kernel-mode drivers install

Printing labels with Word 2000

  1. Toos > Envelops & labels
  2. Choose the Labels tab
  3. Options
  4. Choose the model for the label stationary you bought, eg. Zweckform 3474
  5. If using an HP LaserJet 4300 printer, make sure the labels point to the bottom

    Renvoi OF *21*
    Cherbourg *21*
    Annulation #21#

Enabling automatic complete

How to Enable Automatic Complete for the Command Prompt (Cmd.exe) (Q244407)

As seen at You can change the keyboard layout using the keyboard control panel applet (start - settings - control panel - keyboard - Input Locales) however this does not affect the layout used during logon (which is by default English (United States)). To change this perform the following:

  1. Start the registry editor (regedit.exe)
  2. Move to HKEY_USERS\.DEFAULT\Keyboard Layout\Preload
  3. Double click on 1 and change the number to your local layout (you could get this by looking at HKEY_CURRENT_USER\Keyboard Layout\Preload1). Click OK
  4. You may also change HKEY_USERS\.DEFAULT\Control Panel\International\Locale to this value however it is not mandatory to do so.
  5. Close the registry editor
  6. Logoff and then on again


To map a remote resource to a drive letter

net use  *  \\remotepc\anyshare

Adding a comment for a host

net config server /srvcomment:"test"

Ports used by NT and Windows2000


Windows NT

Client Port(s) Server Port Service
1024-65535/TCP 135/TCP RPC *
137/UDP 137/UDP NetBIOS Name
138/UDP 138/UDP NetBIOS Netlogon and Browsing
1024-65535/TCP 139/TCP NetBIOS Session
1024-65535/TCP 42/TCP WINS Replication

Windows 2000

For a mixed-mode domain with either Windows NT domain controllers or legacy clients, all of the preceding ports for Windows NT may need to be opened in addition to the following ports:

Client Port(s) Server Port Service
1024-65535/TCP 135/TCP RPC *
1024-65535/TCP/UDP 389/TCP/UDP LDAP
1024-65535/TCP 636/TCP LDAP SSL
1024-65535/TCP 3268/TCP LDAP GC
1024-65535/TCP 3269/TCP LDAP GC SSL
53,1024-65535/TCP/UDP 53/TCP/UDP DNS
1024-65535/TCP/UDP 88/TCP/UDP Kerberos
1024-65535/TCP 445/TCP SMB