Random Quick Tips
Everyone has their own way of doing things, whether its through one short cut or another, anyway heres some quick tips. If you have any submit them below, i’m sure I we all still have plenty to learn.
Minimise Outlook to Systray…
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences]
"MinToTray"=dword:00000001
MAP Network drives, including Samba from the command line.
NET VIEW
\\PC192
\\PC193
\\SVR50
\\SVR51
\\SVR52
\\SVR57
\\SVR59
NET USE P: \\127.0.0.1/Projects
Get general SystemInformation command line
systeminfo
Copy local DNS from a server, if you don’t have a DNS server from the command line.
copy \ \SVR69 \netlogon \hosts %systemroot% \system32 \drivers \etc \hosts
Running admin commands on a workstation from the command line
runas /u:127.0.0.1 \administrator cmd.exe
Lookup Name Server information including TTL from the command line.
nslookup
Default Server:
Address: 192.168.2.1
> set d2
> set domain=ajohnstone.com
> set type=all
> ls
Server:
Address: 192.168.2.1
------------
SendRequest(), len 35
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
ls.ajohnstone.com, type = ANY, class = IN
------------
------------
Got answer (97 bytes):
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 2, additional = 0
QUESTIONS:
ls.ajohnstone.com, type = ANY, class = IN
ANSWERS:
-> ls.ajohnstone.com
type = A, class = IN, dlen = 4
internet address = 70.85.198.202
ttl = 86371 (23 hours 59 mins 31 secs)
AUTHORITY RECORDS:
-> ajohnstone.com
type = NS, class = IN, dlen = 16
nameserver = ns.aplosmedia.com
ttl = 86166 (23 hours 56 mins 6 secs)
-> ajohnstone.com
type = NS, class = IN, dlen = 6
nameserver = ns2.aplosmedia.com
ttl = 86166 (23 hours 56 mins 6 secs)
------------
Non-authoritative answer:
ls.ajohnstone.com
type = A, class = IN, dlen = 4
internet address = 70.85.198.202
ttl = 86371 (23 hours 59 mins 31 secs)
ajohnstone.com
type = NS, class = IN, dlen = 16
nameserver = ns.aplosmedia.com
ttl = 86166 (23 hours 56 mins 6 secs)
ajohnstone.com
type = NS, class = IN, dlen = 6
nameserver = ns2.aplosmedia.com
ttl = 86166 (23 hours 56 mins 6 secs)
>
Display DNS Cache, Flush DNS, Release IP Address, and Renew IP Address from the command line.
ipconfig /displaydns
ipconfig /flushdns
ipconfig /release
ipconfig /renew
Alternative to Tracert
PathPing
DNSLint [Description of the DNSLint] (Download)
DNSLint is a Microsoft Windows utility that helps you to diagnose common DNS name resolution issues.
on December 20th, 2005 at 8:18 am
[...] Expanding on a tip from the previous post, I quite often will have conversations over msn messenger in the morning and forgett to mail myself the logs of how to do things. Heres one way to access your logs or attach a file system. [...]