Tuesday, September 23, 2008

Disable "Use the web service to find the appropriate program"

Create the following DWORD key NoInternetOpenWith = 1 at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Thursday, September 18, 2008

Tips: Linux: Mount NTFS Share

mount -t cifs //<IPAddressOfRemoteMachine>/<Share> -o username=myntaccount,password=mypassword /mnt/ntfs

Wednesday, September 17, 2008

FAQ: App-V: How to use the custom Exclusion List while Sequencing

Steps to create the custom exclusion list.

  1. Launch the AppV sequencer.

  2. Goto Tools -> Options

  3. Select "Exclusion Items" tab

  4. Add new exclusion items using "New Button"

  5. When all the exclusion items are added then press "Save As Default" button

  6. Copy the default.sprj file from "C:\Program Files\Microsoft Application Virtualization Sequencer\" or the folder where the sequencer was installed to some network share from where it can be accessed later.


Using the custom exclusion list

  1. Copy the saved default.sprj file to "C:\Program Files\Microsoft Application Virtualization Sequencer\" before launching the Sequencer.

  2. When launched the sequencer will take the exclusion list from the default.sft file.

Friday, September 12, 2008

Imaging WinXP using Knoppix


  1. Boot from knoppix

  2. Repartition your drive

    1. Base Partition - This is were your winXP is installed

    2. Image Partition - this is were your image of windows xp will be copied



  3. mount the  image partition: mount /dev/sda2 /media/img

  4. Use the command to create the img: ntfsclone -s -o /media/img/winxp.img /dev/sda1

  5. use the command to restore the img: ntfsclone  --restore-image -O /dev/sda1  /media/img/winxp.img

  6. Enjoy


Note: It is a good idea to have ext3 as filesystem for your image partition so that the image file is not deleted accidentally and also it overwrites the FAT32 2GB filesize limit.

Monday, September 8, 2008

TIPS: dbus: UUID file '/var/lib/dbus/machine-id' contains invalid hex data

Whenever you get the above error then it can be resolved by executing the following command

dbus-uuidgen > /var/lib/dbus/machine-id


TIPS: dpkg Error: dpkg: too many errors, stopping

apt-get and dpkg are great package management tools but there might be a time that you can face the following error:

dpkg: too many errors, stopping



also when you try `apt-get upgrade` or `apt-get dist-upgrade` you will be adviced that the previous application installation was not successful thus they should execute `dpkg --configure -a` and it returns the above error.

To resolve the issue run the following command
dpkg --configure -a --abort-after=99999