Monday, August 15, 2011

MDT2010 and HP Server Hardware

Hey All,

Just thought I'd help save you some serious aggravation when building your WinPE base images when dealing with HP Server Hardware. If you download the HP SmartStart Toolkit. When you extract it, you'll find a folder called hpdrivers. In the folder you'll see the WINPE20, and WINPE30. Just import those drivers and you'll be good to go for your boot images.

Tuesday, August 9, 2011

Platespin Migrate fails with Incorrect Function

Consider the following situation. You've captured an image of a 2008 Box and you want to deploy it to another machine. In my case a HP BL460c G7 with the flexnet adapters. During the partitioning stage you get the following error:

Failed
Failed to control the device.
Incorrect function

Cause:
You have predefined partitions that may use the GPT format.

Solution:
Assumptions: Disk 0 is the drive where you want to deploy the OS
Warning! This process is irreversible so be sure that you are performing the operation on the correct disk

On the target machine, if you are not booted to the TakeControl WinPE image then boot to it.
Hit Control-C to break the script execution
type the following to purge all partitions on the disk:

diskpart
select disk 0
clean
exit

:the following command restarts the script
startnet






Tuesday, August 2, 2011

Win32 Time debugging

If you have clients routinely getting the W32time warnings/errors in their event logs run the following commands to enable logging:

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v FileLogSize /t REG_Dword /d 1000000
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v FileLogName /d C:\windows\Temp\w32time.log
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v FileLogEntries /d 0-116
net stop w32time && net start w32time

Friday, July 29, 2011

winrm qc fails with

WSManFault
Message = The system cannot find the file specified.

Error number: -2147024894 0x80070002
The system cannot find the file specified.


This is how my issue was resolved.

sc config WinRM start= delayed-auto
net start WinRM
winrm create winrm/config/listener?Address=*+Transport=HTTP
netsh firewall add portopening TCP 80 "Windows Remote Management"