Thursday, January 28, 2010

Tech Guru has recently moved to:

http://helpandtroubleshooting.blogspot.com/

Visit this Blog and add your comments.

Wednesday, December 2, 2009

0 Microsoft Fix it Solution Center

Fix it is a one stop web page where in you can find solutions for most of the issues.
Fix it provides a way to apply automated fixes, workarounds, or configuration changes so you don’t have to perform a long list of manual steps yourself.

http://support.microsoft.com/gp/cp_fixit_main

Tuesday, July 7, 2009

1 Dual boot Linux and Windows XP (Linux installed first)

Introduction:
Installing Windows on the PC alongside your existing LINUX installation on the same physical Hard Drive which already has UBUNTU 8.04 installed.


Summary:

We'll create space on the LINUX Partition to install Windows XP. XP bootloader is fairly clumsy when it comes to dualbooting and will overwrite GRUB completely. We'll re-install GRUB to the MBR and configure it to dualboot both UBUNTU and XP.


Backup the GRUB Boot Menu:

Regardless to which bootloader you end up using, it's a very good move to first backup the GRUB bootloader. It's easy to loose it and unless you know how to re-write it from the stratch then you're generally facing a full re-installation of UBUNTU.




Firstly, boot into UBUNTU and go to Applications > Accessories > Terminal. Then type in the following:

sudo gedit /boot/grub/menu.list

This text file contains all the information GRUB uses to configure various boot options. Scroll down to the entries between "###End Default Options##" and "###END DEBIAN AUTOMATIC KERNELS LIST" are the LINUX boot options.

Make a backup of the files by going to File, Save As and selecting a different location. Or take a full copy of the contents and place it into a new text file. If you can, create the backup on a removable disk or networked location.


Make space for XP:

Now we need to create space on the Hard Drive for XP, so this will involve re-sizing the main UBUNTU partition. Restart the system using the live UBUNTU CD as this gives you access to GNOME Partition Editor. When the CD loads, select "Try UBUNTU without any change to your computer".




Once the CD loads go to System > Administration > Partition Editor.




Right click on the main Data Partition which has been formatted with EXT3 - it should be

/dev/sda1
- and select Resize/Move




Move the slider from the right to shrink the ext3 partition and create free space on the Hard Drive, which will take the NTFS XP partition. Make sure that the free space is sufficient to hold XP (atleast 2GB - preferably 5GB). Then click Resize/Move to confirm the selection, and Apply back in the main screen to carry out the pending change.


Installing Windows XP:





Restart the system with the Windows XP CD and boot into install Program.
Unfortunately, so isn't so adaptive at handling existing partitions during the installation. It detects the two UBUNTU partitions and marks them C: and E: accordingly. The remaining unpartitioned space which is available for XP will be marked as F:

For the Operating System and the vast majority of Windows applications which have properly-coded installation scripts, this is not a problem. Some older applications will assume that C: is the system partition and may bring up errors. There are ways of changing the drive letter assignation of the system partition, but in this scenario it's strongly discouraged.




Now XP detects the LINUX partition as an Active system partition and won't install XP unless it marks this partition as Inactive.


Restore the GRUB Bootloader:

Once XP has been installed, it will boot happily into XP but there's no sign of UBUNTU. To re-instate GRUB as the system Bootloader it needs to be re-installed into the MBR.

Boot the system from the UBUNTU Live CD and select "Try UBUNTU without any change to your computer".




Open a Terminal session by going to Applications > Accessories > Terminal





To enter the GRUB configuration mode, type in sudo grub and press Enter key. Then type in the following commands in the sequence.


- root (hd0,0)
- setup (hd0)
- quit
- exit





Restart the system. You'll get the GRUB Bootloader but XP won't be an option. We need to add this to the boot options.

Boot into UBUNTU and open up the Terminal session. Then, type in the following:

sudo gedit /boot/grub/menu.lst

Scroll down to the bottom of the file and type in the following test strings:

title Windows XP
root (hd0,1)

makeactive
chainloader +1



Save the file and reboot the system. When the GRUB Loader launches hit ESC key at the boot menu. Windows XP is the last option. Select it and XP will load.

If you want to make the GRUB menu always available, boot back into UBUNTU and edit the MENU.LST file. Find the hiddenmenu text string and change it to #hiddenmenu

To increase the menu timeout, change the default timeout 3 to something more appropriate.


THAT'S ALL FOLKS....!!

Saturday, May 30, 2009

0 Disabling Data Execution Prevention (DEP) in Vista

At times, when you are working on an application, or try to use any application installed on your Pc, you might receive an error about DEP. The error reads as listed below:

Data Execution Prevention – Microsoft Windows
To help protect your computer, Windows has closed this program.
Name: program name
Publisher: program publisher

DEP is a security feature that can help prevent damage to your computer from viruses and other security threats. DEP can help protect your computer by monitoring programs to make sure they use system memory safely. If a program tries running (also known as executing) code from memory in an incorrect way, DEP closes the program.

To stop this error from appearing, you may try the steps which I have mentioned below:

Disabling DEP in Vista:
1. Click Start
2. Click All Programs
3. Click Accessories
4. Right Click on Command Prompt
5. Left click on Run as Administrator
6. Click the Allow or Continue button if it asks you for permission on the UAC popup box.
7. Type or copy and paste the following command into the command prompt window:

bcdedit.exe /set {current} nx AlwaysOff

8. Hit enter and you should see the confirmation: Operation Completed Successfully
9. Close Command Prompt windows and reboot the comp.

The DEP should be off now and you should not receive any DEP errors.

More information on turning off DEP for individual Programs, you can refer Microsoft article from here

Sunday, October 5, 2008

0 Creating new user account in Vista

1. Click Start and then Control Panel.
2. Click User Accounts and Family Safety.
3. Under User Accounts, click Add or remove user accounts.
4. Click Create a new account.
5. Type in the account name which you would like to create.
6. Select the account type: Standard or Administrator.
7. Click Create Account.
8. Select the account you just created. Click Create a password.
9. Type in a password for the user account and an option password hint.
10. Click Create password.

You are done. Logout and re-login to the new user account you just created.

Wednesday, April 23, 2008

0 Creating a Recycle Bin on the Desktop (XP)

1. Create a new Note Pad on the Desktop.
2. Right click on the Notepad and select Rename.
3. Now copy the below entry and paste it under the Rename section, such that only this entry shows up there.
Recyclebin.{645FF040-5081-101B-9F08-00AA002F954E}
5. Now click anywhere outside, on the Desktop screen.

And VIOLA!! Recycle Bin is created.
Note: Works in XP and not Vista.

0 Error: Internet Explorer has Encountered a problem and needs to close.

Perform the following steps to make few changes in Internet Explorer.
1) Click Start -> Control Panel -> Network and Internet Connections > Internet Options.
The "Internet Properties" dialog box pops up.
2) Select the 'Advanced Tab'.
3) Uncheck the box for "Enable Third Party Browser Extensions".
4) Uncheck the box for "Display a notification about every script error".
5) Check the box for "Disable script debugging".
6) Click Apply and OK.

In case this does not help, try the steps for "Resetting Internet Explorer Settings"