Home » 2009

Yearly Archives: 2009

5AM is a cruel practical joke …

5AM is a cruel practical joke the world plays on us everyday!

NTFS cluster size

To display detailed information about a NTFS drive or volume use this command:

C:\>fsutil fsinfo ntfsinfo C:

You should see something like this:

NTFS Volume Serial Number :       0x0af4abcdf4abb979
Version :                         3.1
Number Sectors :                  0x0000000009ffffff
Total Clusters :                  0x00000000013fffff
Free Clusters  :                  0x000000000088df34
Total Reserved :                  0x00000000000007e0
Bytes Per Sector  :               512
Bytes Per Cluster :               4096
Bytes Per FileRecord Segment    : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length :           0x0000000009a40000
Mft Start Lcn  :                  0x00000000000c0000
Mft2 Start Lcn :                  0x0000000000000002
Mft Zone Start :                  0x000000000080e620
Mft Zone End   :                  0x000000000081ae40
RM Identifier:        38C46565-B162-11DE-A33B-E580BFC3DE48

Why are random acts of sensele…

Why are random acts of senselessness so much fun?

Windows 7 shortcuts

Windows Explorer keyboard shortcuts:

  • Alt+UP – Go up a folder
  • Alt+Left- Go back (previous folder)
  • Alt+Right – Go forward (from go back)
  • Alt+d – Select Address Bar path
  • F4 – Address Bar drop down, history, selection
  • Alt+Enter – Properties of the selected file
  • Ctrl+Mousewheel – change the icons size
  • F11 – Fullscreen mode (does not seem very useful)

Other Windows keyboard shortcuts:

  • Win+e – Open Windows Explorer
  • Win+f – Find files
  • Ctrl+Win+f – Find computers
  • Win+Tab – Cycle forward through open Taskbar items
    • Shift+Win+Tab – Cycle backwards through open Taskbar items
  • Win+m – Minimize all windows (may not minimize some dialog boxes)
    • Shift+Win+m – Retore previously minimized windows
  • Win+Space – Aero peek to show Desktop (while Win key is held down)
  • Win+d – Sow Desktop (hides all windows, repeat to restore hidden windows)
  • Win+b, Left Arrow, Enter – Opens the Clock/Calendar pop-up from the Notification Area
  • Win+g – Bring Gadgets to front (repeat to cycle forward to next Gadget)
    • Shift+Win+g -Bring Gadgets to (repeat to cycle backward to previous Gadget)
  • Win+Pause – System

Variable expansion

Something to remember is that be default .bat and .cmd scripts do not process all the variable updates, or expansion, immediately. To use variable that are updated or created inside a loop for instance you must have Variable Expansion enabled.

A quick check to see if  variable expansion is enable in your command prompt is to run this:

If Variable Expansion is ON you will see:
c:\> echo !errorlevel!
0

If expansion is OFF you get:
c:\> echo !errorlevel!
!errorlevel!

When launching cmd.exe from a prompt; Command-line; Run…; or Search programs and files you can specify the /V:ON parameter to enable expansion.

Within a bat/cmd file variable expansion can be controlled through the SETLOCAL [ENABLEDELAYEDEXPANSION | DISABLEDELAYEDEXPANSION] statement.

Turn on variable expansion (delayed) and you will not be sorry.

–Mike

Shutdown /s /f /t 0

Shutdown /s /f /t 0

Microsoft rant: eOpen/VLSC very frustrating

Microsoft rant: very frustrating when the eOpen volume licensing site it down for the whole weekend!!! #eOpensucks

I just had the fastest & warme…

I just had the fastest & warmest bus ride yet here in Dallas! Temp on the train is not bad either.

Managing a Windows Internal Database – MICROSOFT##SSEE

Unfortunately the Windows Internal Database (WID) that is default for things like WSUS, SharePoint Services 3.0 and other MS products and roles does not allow TCP/IP connections.  In fact WID does not allow for remote connections at all.  It does allow local Name Pipes though.

(more…)

Google starts offering Public DNS

Google is now offering public DNS service.

The two DNS server IP addresses are:
8.8.8.8
8.8.4.4

(more…)

It’s snowing & the bus heater …

It’s snowing & the bus heater does not work. Day is off to a rocky start.

Command line DHCP MAC address filtering

Enable or disable a filtering:

netsh dhcp server v4 set filter [enforceallowlist=1|0] [enforcedenylist=1|0] netsh dhcp server v4 set filter enforceallowlist=1 netsh dhcp server v4 add filter ["comment"] netsh dhcp server v4 add filter allow 00-21-70-AC-F2-D8 "Mike Wood"

UAC on/off via REG.EXE

There’s a quick way you can enable or disable this annoying window from the command line:

Disable UAC

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

(more…)

Is very frustrated with Exchange

Is very frustrated with our Exchange providers broken Outlook Anywhere OOF and OAB!

VMware ESXi 4.0

VMware ESXi 4.0 Installable (CD ISO)
Version 4.0.0 | 171294 – 06/22/09
341 MB Binary (.iso)
Boot your server with this CD in order to install ESXi 4.0 Installable on a local hard drive or a USB storage device. NOTE: VMware ESX 4.0 and ESXi 4.0 require 64-bit capable servers for installation and execution.
md5sum: e860c115ce095439b1cb93d745cc35b4

VMware ESXi 4.0 (upgrade ZIP)
Version 4.0.0 | 171294 – 06/22/09
274 MB Binary (.zip)
Use this package with vCenter Update Manager to upgrade ESXi (Installable and Embedded) from ESXi 3.5 (and later) to ESXi 4.0.
md5sum: 25f466011b8e6d28abf0119f01954ebe

VMware vSphere Client and Host Update Utility
Version 4.0.0 | 162856 – 05/21/09
111 MB Binary (.exe)
Enables the installation of vSphere Client and vSphere Host Update Utility.
md5sum: 3b7c74f2643e602531711a4bfbddd087

VMware ESXi 4.0 with Dell Customization

Version 4.0.0 | 181792 – 08/07/09
417 MB Binary (.iso)
Image for ESXi Installable that includes Dell customization.
md5sum: 0ff898e830a095abb2275181175e065e

Lobotomy?

Is psychosurgery available as elective surgery? #lobotomy

Demigodic Party

I am weighing the pros and cons of the Demigodic Party…

Outlook 2007 Command-line Switches

What are commands and switches?

Each time you start the program, you run the outlook.exe command, although you do not usually type the command or even see it. You can change certain aspects of how the program starts by adding subcommands called switches to the outlook.exe command. (more…)

Tired of working on Exchange

I’m tired of working on Exchange 2007 problems. Now I am going to play video games for a while. #break

Restoring Exchange/Outlook contacts…

Now moving on to finding and restoring the hundreds (thousands?) of lost Exchange/Outlook contacts from migration. #e2k7