Listing the MAC Address for Adapters in Windows
You can use this to list the MAC address on the current machine:
getmac /V It also has remote options too:
getmac /S computer /U domain\user /P password This is quite usefull when you do not have any protocols attached so the MAC will not show up in ipconfig. It saves you going through the GUI for each adapter you want to check. I’m not sure how I have missed this for so long.
Windows 2008 Storage Server Default Password.
I’m not really sure how you are supposed to find this out (apart from google) but after installing, you are presented with a login window without specifying a password. Interesting. Well the password is:
wSS2008! I am lost for words.
Hibernation File in Windows 2008
I’m not sure the reason for the hibernation file hiberfil.sys being enabled in a default Windows 2008 Server install, but use this to remove it:
powercfg.exe /hibernate off If for some reason you need to put it back, use:
powercfg.exe /hibernate on You need to use this command, as this setting is unavailable in the GUI. This also can apply to Windows 7 especially after a P2V.
Using an External Floppy Drive to Add Storage Drivers to a Windows Install
When you add your third party storage drivers to a windows install (F6 if you catch it) using a USB floppy sometimes the install will fail after the format stage. At this point it is unable to communicate with the USB floppy even though it initially could. You can help it by adding the following to your ‘textsetup.oem’:
id = USB\VID_03F0&PID_2001, usbstor #–HPid = USB\VID_054C&PID_002C, usbstor #–Sonyid = USB\VID_057B&PID_0001, usbstor #–Y-E Dataid = USB\VID_0409&PID_0040, usbstor #–NECid = USB\VID_0424&PID_0FDC, usbstor #–SMSCid = USB\VID_08BD&PID_1100, usbstor #–Iomegaid = USB\VID_055D&PID_2020, usbstor #–Samsung This will give windows a nudge in the right direction.
Changing the VLAN Tag for an Existing ESX Service Console
Once you have made network changes (802.1Q) and you have lost (oops) connectivity to your service console, use the following to change the VLAN tag:
esxcfg-vswitch vSwitch0 -v N -p Service Console Where N is the VLAN tag you want to use. In this case it was vSwitch with the portgroup name Service Console. To list the current configuration use:
esxcfg-vswitch -l
Adding a Port Group and Setting the VLAN tag from the Service Console in ESX
Use the following:
esxcfg-vswitch -A "Port Group Name" vSwitch2 && esxcfg-vswitch -v N -p "Port Group Name" vSwitch2 Where N is the VLAN tag.
Checking for Mangled Attributes in Windows 2000 Forests with Adfind
From link: The Microsoft Exchange 2000 schema defines three non-Request for Comments (RFC)-compliant attributes: houseIdentifier, Secretary, and labeledURI. The Microsoft Windows 2000 InetOrgPerson Kit redefines the Secretary attribute and the labeledURI attribute. The adprep /forestprep command in Microsoft Windows Server 2003 has redefined all three attributes as described in Request for Comments (RFC) 2798. If Exchange 2000 created these three attributes before you ran the Windows 2000 InetOrgPerson Kit, the LdapDisplayName attribute for the houseIdentifier attribute becomes conflicted or mangled after the new RFC-compliant definitions are added by Windows Server 2003 adprep /forestprep replication.
Stopping MIB Module Errors When Starting Wireshark in os x
If you get the following error on startup when starting wireshark on macos:
The following errors were found while loading the MIBS Then add this path to the ‘name resolution’ setting under edit > preferences:
/usr/share/snmp/mibs/ Make sure to apply the change before you exit.