HP Event Notifier on Hyper-V Server

March 21, 2009 by edroszcz

I installed my first Hyper-V Server 2008 on a HP ProLiant DL380 G5 server the other day. HP have a good document that describes what is involved to make it work.

Since Hyper-V Server is built on Windows Server Core it does not have much of a GUI so it might be a bit tricky to find the different tools. I really wanted to configure the HP Event Notifier. This tool will send you notifications by email when the system detects warnings or errors with the server hardware. I also like HP Management Agents where you can trigger an SNMP trap which you can use to test if the configuration of HP Event Notifier is working.

To get the paths to the tools I looked at a server running Windows Server 2008 with GUI :)

Event Notifier Config
C:WINDOWSsystem32CIMntfylwconfig.exe

HP Management Agents
C:WINDOWSsystem32cpqmgmt.cpl

Telnet SMTP

July 22, 2008 by edroszcz

Below is a simple example on how to send mail manully telneting to the server

HELO myserver.com
MAIL FROM: <from@domain.com>
RCPT TO: <to@domain.com>
DATA
Subject: Some subject
Body Some body text
.
QUIT

Force Windows Update

July 8, 2008 by edroszcz

To force Windows Update to check for new updates you can use the command:

wuauclt /detectnow

The log file is located at:

%WINDIR%\SoftwareDistribution\ReportingEvents.log

Get make and model

June 3, 2008 by edroszcz

To get Make and Model you can use wmic.

Make
wmic
CSProduct Get Vendor

Model
wmic
CSProduct Get Name

Allow relay trough Exchange Server 2007

May 21, 2008 by edroszcz

Get-ReceiveConnector “Anonymous Internal Relay” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “ms-Exch-SMTP-Accept-Any-Recipient”

Manually compress a .wim

May 21, 2008 by edroszcz

imagex /compress none /capture c: c:\data.wim “data”

Start Windows Deployment Services Image Capture Wizard by hand

April 1, 2008 by edroszcz

If the guide Windows Deployment Services Image Capture Wizard don’t start automatically when booting from a capture CD you can use the following command.

%SYSTEMROOT%\system32\wdscapture.exe

Gör en .wim-fil bootbar från CD

November 9, 2007 by edroszcz

Börja med att installera WAIK (Windows Automated Installation Kit)

Starta Windows PE Tools Command Prompt från startmenyn.

Skriv sedan:

copype.cmd x86 c:\winpe_x86

Detta skapar en struktur under c:\winpe_x86 där man sedan bygger sin .iso-fil. I mappen C:\winpe_x86\ISO\sources lägger man den .wim-fil man vill göra bootbar. Viktigt att man döper den till boot.wim.

Skriv sedan:

oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso

Detta bygger den .iso-fil man sedan kan bränna på en CD och boota från. Filen hamnar i c:\winpe_x86\winpe_x86.iso och går att bränna.