Archive for the ‘operating-systems’ Category

Using this website PCI Database.
Just enter the Vendor or Device ID and boom thats the unknown hardware device!

Posted by on October 7, 2010

I created this script out of frustration at work due to people using different systems to access the AIX box and not getting told that their password was due to expire. I then modified it later to then lookup the email address within Windows Active Directory and email the user (more…)

Posted by on September 1, 2010

Often when working on remote VMWare servers and you want to boot an ISO from the datastore it doesn’t give you enough time to press ESCAPE and select the CD-ROM. There is an easy fix… Add / Edit the VMX file for the server you are trying CD boot and add the line: bios.bootDelay = "boot delay in milliseconds" – Save the file back in the datastore and your done!

Posted by on August 17, 2010

Currently I am entrusted with developing a Windows 7 Professional Image for deployment and have until recently been stuck with getting the default user profile to ‘keep’ pinned start menu items.

While I was copying them to C:\Users\USERNAME\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu they still wouldn’t show up. There is actually a complementary Registry key which makes the magic happen. So without further ado: How to set Pinned Start Menu Items for Default Profile in Windows 7 (more…)

Posted by on July 13, 2010

Upon Sysprep-ing our first test image of Windows 7 using an unattend.xml our WDS enviroment would produce the error ‘Windows could not apply unattended settings during pass (null).’ At first I thought my unattend.xml file was wrong BUT the actual problem was that WDS was using a Windows Vista Image for the Image Deployment. The required fix was copy boot.wim from the Windows 7 DVD\Sources directory and add that to the ‘Boot Images’ within WDS. After that you PXE boot as per normal and select your newly appointed image!

This post was inspired by this blog post

Posted by on July 7, 2010

After a colleague of mine installed WDS at a client site they found that certain laptops and desktop PCs would not be able to pick up the images that have been captured.

The problem lies in the HAL Type of the PC that was captured and then WDS finds the HAL type for the PC asking for an image and if one doesn’t match then you will most probably get the error: “There are no images available”

My scenario was that we had a generic image built and working for Single CPU and MultiCPU PCs but only the Multiple / Newer PCs could see the image in WDS – that is because the HAL type was “Advanced Configuration and power interface (ACPI) PC” but these older PCs were being recognised as Uniprocessor HAL Types.

The solution: Get the image onto the Older PC type (via Ghost or Clonezilla etc) login to the system. Download DevCon and extract into C:\Windows or any other %PATH% variable you like.
Then run:
devcon sethwid @ROOT\ACPI_HAL\0000 := +acpiapic_up !acpiapic_mp
devcon update c:\windows\inf\hal.inf acpiapic_up

Reboot and Login two times then Sysprep and capture again!

Hopefully your good to go!

Reference: http://www.ngohq.com/processors/11891-how-to-update-the-hal-without-reinstalling-windows.html

Keywords: WDS, Force HALs, Force HAL, Windows Deployment Services, WDS, ACPI Multiprocessor PC, acpiapic_up, acpiapic_mp, No Images after Capture, Change HAL Type

Posted by on February 17, 2010

Can’t open this item. The text formatting command is not available – Outlook. This error was received when trying to open an Outlook item. Also it seems that Internet Explorer 7 (IE7) couldn’t render a page and it would just be blank. After trying to remove profiles and repair office etc I traced the fault to a recent Windows update KB978207 for IE to be exact. After removing the update and rebooted everything worked again!

Posted by on February 5, 2010

I came across a Windows 7 Skins for KDE – It looked really….exact but the install script was crap it installed a new user and was only Kubuntu based and was pretty brutal at overwriting stuff so I (more…)

Posted by on January 28, 2010

After ‘successfully’ upgrading from Fedora 11 to Fedora 12 (64bit) on my laptop KDE4 failed to start with error: Kstartupconfig4 does not exist or fails. The error code is 127.

Gnome still worked but KDE and KDE apps failed to load. Trying to run dolphin in terminal produced libssl.so.8 & libcrypto.so.8 shared library missing errors.

The resolution is put in the symbolic links that are missing

cd /usr/lib64 (64bit) and /usr/lib (32bit)
ln -s libssl.so.1.0.0 libssl.so.8
ln -s libcrypto.so.1.0.0 libcrypto.so.8

and reboot

Posted by on January 22, 2010

Today at work a client he needed to access a cisco router but no-one new the password but we had the config files saved which included the MD5 hashes of the enable and enable secret passwords. So I set about cracking the hashes, which was done successfully btw, following on from that I then remembered a John the Ripper MPI patch which I had seen some time ago I ended getting it going at home and the results are good!

Directions for installation are as follows (on Fedora 11)

yum install mpich2 mpich2-devel
wget http://www.bindshell.net/tools/johntheripper/john-1.7.2-bp17-mpi8.tar.gz
tar -zxvf john-1.7.2-bp17-mpi8.tar.gz
cd john-1.7.2-bp17/src
make linux-x86-64 (for 64bit version duh!)
cd ../run
touch ~/.mpd.conf && echo "MPD_SECRETWORD=secret" > ~/.mpd.conf && chmod 600 ~/.mpd.conf
mpd &
mpiexec.py -n 4 -path ./ -wdir ./ ./john --test

Initial Benchmarking looks good. Below is 1 core vs 4 cores

Traditional DES [128/128 BS SSE2-16]
1591K c/s real, 1594K c/s virtual / 6131K c/s real, 6380K c/s virtual
BSDI DES (x725) [128/128 BS SSE2-16]
Many salts: 53222 c/s real, 53329 c/s virtual / Many salts: 207665 c/s real, 215407 c/s virtual
FreeBSD MD5 [32/64 X2]
Raw: 9718 c/s real, 9816 c/s virtual / Raw: 37720 c/s real, 39581 c/s virtual
mysql [mysql]
Raw: 2571K c/s real, 2571K c/s virtual / Raw: 9397K c/s real, 10254K c/s virtual

About a 100% increase per core! Life is good!

Posted by on July 13, 2009