Windows NT Tips & Tricks
Introduction
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 http://www.nitropdf.com/kb/article.aspx?id=10057
Printing labels with Word 2000
- Toos > Envelops & labels
- Choose the Labels tab
- Options
- Choose the model for the label stationary you bought, eg. Zweckform
3474
- If using an HP LaserJet 4300 printer, make sure the labels point to
the bottom
Renvoi OF
*21*06.10.68.44.52#
Cherbourg *21*02.33.20.53.46#
Annulation #21#
JCF
06.63.32.99.05
FF 08.74.49.42.68, 06.28.05.74.73
Enabling automatic complete
How
to Enable Automatic Complete for the Command Prompt (Cmd.exe) (Q244407)
As seen at http://www.ntfaq.com/ntfaq/sysconf71.html. 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:
- Start the registry editor (regedit.exe)
- Move to HKEY_USERS\.DEFAULT\Keyboard Layout\Preload
- 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
- You may also change HKEY_USERS\.DEFAULT\Control Panel\International\Locale to this value however it is not mandatory to do so.
- Close the registry editor
- Logoff and then on again
Networking
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
(from http://support.microsoft.com/default.aspx?scid=kb;EN-US;q179442)
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
Resources