Wednesday, November 21, 2007

Enterprise Vault PST Log file Parser

OK, I could not find anything that would check through a EVPM.exe log file and produce a report that lists success / failures of a scripted ingestion of PSTS. So this snippet, basic that it is, does just that.. Lists the PST and whether it was ingested ok.. Doesn't get any more simple than that.



' Processes the _imp.ini file for results
' S.B. Temp Workaround
' 21st November 2007

Set fso = CreateObject("Scripting.FileSystemObject")
source="log.txt"
noofargs=Wscript.Arguments.Count
if noofargs>0 Then
source = Wscript.Arguments(0)
end if
Set f = fso.OpenTextFile(source, 1, True)
Do While not f.AtEndofStream

decodeline=f.ReadLine
if instr(decodeline,"Processing PST")<>0 Then
decodeline=trim(decodeline)
dec=split(decodeline,":")
decoded=trim(dec(3))
for inl=0 to 18
ignore=f.readline
next
result=f.readline
if instr(result,"success")<>0 Then
result = "Success"
else
result = "Failed"
end if
wscript.echo decoded & " : " & result
end if
loop

Sunday, October 07, 2007

BBC - In the Night Garden

In The Night Garden.. I have to confess my 20 month son is transfixed by this every night. He cries when it finishes every night.

But what on earth is it all about ? The weirdest collection of creatures and names all piled together into one program ?

Why it works I have no idea but my son loves it, my friends children love it, there's no other program on TV like it.

Tuesday, May 22, 2007

PSP Video output to your Monitor (RemoteJoy)

This is very cool I have to say.

http://www.psp-hacks.com/2007/05/17/remotejoy-psp-video-out-via-usb/

And as proof of concept, I have got it working absolutely fine as you can see with a video from my PSP being shown ful screen on my monitor at work. :

Tuesday, February 20, 2007

Vista is Pony...

I confess I actually paid for Windows Vista Ultimate but am beginning to wish I hadn't..

It's all very well making it look nice but it keeps crashing and I really don't have that much installed on it.

My main grip is Frontpage 2003 which will crash at the same point every time.

Windows is looking for a solution to the problem. yeah right... Never comes up with anything and the problems remain.

The incessant security dialogues that pop up are beyond a joke, you can crash it every time when trying to manipulate big files.. try writing a 2GB file to a live filesystem DVD over a wireless network.. Just sits there for ever getting itself into a twist.

Steer clear.. My own fault for jumping on the wagon too soon... maybe when SP1 arrives, it''ll be better.

S.

Friday, January 19, 2007

How to fix a failed HP Network Configuration Utility Upgrade

This has been bugging me for ages and I finally have a step by step guide which actually works.

You need a RILO board or to be standing in front of the HP server of course.


NCU upgrade / fix to 8.1 (version 2)

All of this needs to be done from the RILO board.

1. Stop and Disable Microsoft Exchange System Attendant service
2. Load a CMD prompt
3. Type “ipconfig /all >c:\ips.txt” to record the current IP info.
- if gigabit and emea, record static route settings.
4. Type "set devmgr_show_nonpresent_devices=1"
5. cd\winnt\System32
6. start devmgmt.msc
7. Remove any Network Adapters that show up in the Device Manager
- The system will ask you to reboot after each one.. click NO.
8. Go to C:\CPQSYSTEM\pnpdrvs and delete any files beginning with n100, n1000,
cpqnet, cpqteam, q57
9. Go to C:\Winnt\inf and delete any files beginning with n100, n1000, cpqnet,
cpqteam, q57
10. Delete oem*.* from c:\winnt\inf
11. Enable verbose Setupapi logging by creating and populating the following registry value
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup
Value Name: LogLevel
Data Type: REG_DWORD
Value: FFFF
12. Rename the current setupapi.log
13. Reboot and allow PnP detection to detect and attempt to install the device using Microsoft in the box driver.
14. Assign the right IP address to the primary NIC (onboard).
15. RUN full HP SSD to update\install the NIC drivers & NCU utility from the Build3 directory.. (D:\server build\hp\ssd)
15.5 Reboot and relogin via the RILO.
16. Configure the NIC teaming according to WI (CITWI-0187) and Assign the production IP address to the Team ( recorded in c:\ips.txt)
- 100 / Full duplex, fault tolerant etc.
17. Reconfigure Gigabit card if present (recorded in c:\ips.txt)
- reset metrics as per standard
- reset routing and remote access
17.5 Rename all NICS as per the build 3 document.
17.7 Do an ipconfig /registerdns and nbtstat –RR to flush the dhcp settings and register correct settings.
18. Set Microsoft Exchange system Attendant to automatic
19. Reset Setupapi logging by creating and populating the following registry value
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup
Value Name: LogLevel
Data Type: REG_DWORD
Value: 0

20. Reboot
21. Login via mstsc /console and check all is ok.