PowerShell makes people happy, or is it just me?

Change Screen Resolution in Server Core 2008

By Osterberg |  Aug 12, 2009  | core, server-2008, screen-resolution
Ever wondered how to change screen resolution in Server Core? I’ve found a blogpost about that here Change resolution on server coreAnd just to simplify it: Locate \HKLM\System\CurrentControlSet\Control\Video{classID}\0000\DefaultSettings.XResolution and \HKLM\System\CurrentControlSet\Control\Video{classID}\0000\DefaultSettings.YResolution where you have a key named “VolatileSettings” directly under the *\0000* key. Set the values to desired screen resolution. In the case above it’s set to 1024x768. Restart the server for the changes to take affect.
Continue Reading...

Ipod Hardware Reset

By Osterberg |  Jun 28, 2009  | ipod
Ever got your iPod to lock up? This is how I reset it. Turn keylock on Turn keylock off Press menu and middle buttom for a cuple of seconds. Done. Source: mtdewvirus.com
Continue Reading...

How to Create Lager Drives Than 256 GB in ESXi 4.0

By Osterberg |  Jun 6, 2009  | esxi, hdd
Recently I’ve tried to create a harddisk for a virtual machine in VMware that I wanted to be 600 GB in size. I ran the “Add Hardware” wizard in vSphere Client and selected the harddisk, typed 600 GB as disk size and !PLONK! hmmm, it defaults to 256 GB. Googletime! As I now learned the max size of the disk or rather the max size of the VMDK is directly dependant of the block size of the VMFS partition.
Continue Reading...

Enable the unsupported SSH Server in ESXi 4.0

By Osterberg |  Jun 3, 2009  | esxi
At the console of the ESXi host, press ALT+F1 to access the command shell. Enter unsupported in the console and hit enter. You will not see what you type. If you did it right you should see a fairly common linux command promt like: ~# Edit the file /etc/inetd.conf. Remove the # in front of the line that starts with # SSH.
Continue Reading...

Installing ESXi 4.0 on a USB Pendrive and HP Ml110

By Osterberg |  Jun 3, 2009  | usb, install
I’ve recently installed EXSi 4.0 on my home server. I’ve choosed to install it on a regular USB pendrive. You don’t have to do the unpack and DD trick anymore as the ESXi 4.0 version now support installation to a connected USB pendrive. The installation of ESXi 4 is really simple and straightforward so I didn’t do any screencaptures of the installation. As you can see in this fuzzy picture, I’ve used a pendrive mounted to a internal connector on the motherboard.
Continue Reading...

Install Vmware Tools on Windows 2008 Server Core

By Osterberg |  Jun 3, 2009  | core, server-2008, vmware-tools
To install VMware tools on server core, do as you usually do: In the vmware consol, in the menu under VM choose Guest –> Install/Upgrade VMware Tools After you’ve done that, probably nothing happens… In the command prompt, change to the CD-ROM drive. Type dir and you should see the VMware tools install files. Type setup.exe to start the installation. Continue as usually and restart the guest when done.
Continue Reading...

How to Disable Ipv6 and Ipv6 Tunnels on Windows 2008 Server Core and Vista

By Osterberg |  Jun 3, 2009  | core, server-2008, ipv6
Start the “Registry Editor” by typing “regedit” in a elevated command prompt. Go to: \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters Create a new DWORD key named: DisabledComponents and set it to FFFFFFFF (8 F:s). Close “Registry Editor” and reboot the server… (How? Type shutdown /r /f /t 1 /c “removed ipv6”) This should disable all ipv6 and ipv6 tunnels. More info at Microsoft
Continue Reading...

How to Change the Name on a Interface on Windows 2008 Server Core

By Osterberg |  Jun 3, 2009  | core, server-2008, interface
Sometimes you want to change the name on interfaces in server core to make them more understandable. This is how you do it: First, show the current name of all interfaces: netsh interface show interface Then: netsh interface set interface name=currentname newname=newname Remember: If your interface name contains spaces you have to use quotes (“), so in most default cases where the current name of the interface is Local Area Connection, you have to add quotes when using the command.
Continue Reading...

How to Set the IP Address on Windows 2008 Server Core

By Osterberg |  Jun 3, 2009  | core, server-2008, ipaddress
Type the following in a console window: netsh interface ipv4 show interface It should output something like this As you can see, our interface have ID 2 (column Idx). Then to set the ip address type the following (replacing the address, netmask and gateway with your own values): netsh interface ipv4 set address name=”2” source=static address= mask= gateway= Next it’s time to set up addresses to DNS servers, type: netsh interface ipv4 add dnsserver name=”2” address=192.
Continue Reading...