Winload.exe is Missing or Corrupt after Resizing the Partition

After resizing the partition of a Windows Server 2008 64 Bit server (using gparted) I was horrified when I found the server would not boot and instead gave the message Winload.exe is Missing or Corrupt.

In my case Winload was not missing or currupt but instead something had got messed up with the boot loader, below is the steps I used to get the server running.

Windows Server 2008 Core: Installing / Uninstalling MSI Packages

To install a MSI file using the PowerShell use the command

msiexec /i "Path\PackageName"

To uninstall a MSI file using the PowerShell use the command

msiexec /x "Path\PackageName"

Windows Server 2008 Core: Changing the computer Name

This document will detail how to change the computer name of a Windows Server 2008 Core install using the "PowerShell"

1) First run a ipconfig /all and make a note of the current Computer Name (Host Name)

2) Enter the command

netdom renamecomputer <CurrentComputerName> /NewName:<NewComputerName>

3) Restart the computer using the command

shutdown /r /t 0

Windows Server 2008 Core: Changing the Local Administrators Password

Core, PowerShell, administrator, Server 2008, password, windows, Windows Server

The following command will prompt you for a new administrator password on a Windows Server 2008 Core install using the "PowerShell"

net user administrator *

When prompted enter the new password and confirm the new password

Windows Server 2008 Core: Enable Remote Desktop

The following command will toggle Remote Desktop on and off on a Windows Server 2008 Core install using the "PowerShell"

Cscript %windir%\system32\SCRegEdit.wsf /ar 0

Windows Server 2008 Core: Disabling the Firewall

The following command will disable the firewall on a Windows Server 2008 Core install using the "PowerShell"

netsh firewall set opmode disable

The below will re-enable the firewall

netsh firewall set opmode enable

Design by
ThemeShark.com - Drupal Themes with Bite!
Drupal Themes
with bite!