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"

0 Reset Internet Explorer settings in IE 7

To Reset Internet Explorer settings in IE 7, follow the steps below:

1. Close any Internet Explorer or Windows Explorer windows that are currently open.
2. Open Internet Explorer by clicking the Start button , and then clicking Internet Explorer.
3. Click the Tools button, and then click Internet Options.
4. Click the Advanced tab, and then click Reset.
5. In the Reset Internet Explorer Settings dialog box, click Reset.
6. When Internet Explorer finishes restoring the settings, click Close, and then click OK.
7. Close Internet Explorer.
Your changes will take effect the next time you open Internet Explorer.

0 Unable to change Desktop Background

You might sometime face issues changing the Desktop Background. The Desktop Background in "Display Properties" window will be grayed out. This issue is probably caused by any Virus/Spyware installed in your Pc which has played around with your user rights to be able to make changes on the Pc.

To fix this, try running the software patch mentioned below:

http://www.greyknight17.com/spy/RepairDesktop.reg

Please copy the entire link and paste it in the address bar of an Internet Explorer. When you access this weblink you will get a pop up. Save the file onto the desktop. Once the file is saved, double click on the file to run the patch.

Once the patch runs, refresh the Screen once and see the results.

0 Unable to access Control Panel. RESTRICTED!!

One possible resolution for this would be to change a setting in the Group Editor.
STEP 1:

1. Click on Start, and then Run. Type gpedit.msc in the Run box and click OK. This will open the Group Policy editor page.
2. In Group Policy editor page, navigate to the following path:
(+)Local Computer Policy
(+)User Configuration
(+)Administrative Templates
(+)Control Panel.
3. Double click on the 'Prohibit Access to the Control Panel' on the right hand pane.
4. Amongst the three options (Enabled, Disabled, Not Configured) available, set the state to either 'Disabled' or 'Not Configured'
5. Save Changes and exit from the page.

NOTE:
The Group Policy editor is unavailable in Windows XP Home Edition.

If this does not help, continue further.

STEP 2:

Run a software patch which will fix the issue.

http://www.kellys-korner-xp.com/regs_edits/controlpanelrestrictionrestore.reg

Click the link mentioned above. When you click this link you will get a pop up. On the popup that appears, click Run and follow the onscreen instructions.

(If you do not get a popup, check if the popup blocker if ON. Turning it Off will enable popups)

STEP 3:

1. Click Start, Run.
2. Type regedit.exe in the Run box and click OK.
A Registry Editor window should open.
3. Click +sign beside HKEY_CURRENT_USER
4. Click +sign beside Software
5. Click +sign beside Microsoft
6. Click +sign beside Windows
7. Click +sign beside CurrentVersion
8. Click +sign beside Policies
9. Click to select Explorer.
10. Right click on the right window and select New >> add a new DWORD as NoControlPanel.
11. Set Value as 0
12. Close Registry Editor window.

And Voila!! You should be able to access Control Panel now.

Thursday, April 3, 2008

0 Roll back to IE 6 from IE 7 in XP

Steps to uninstall Internet Explorer 7 and restore Internet Explorer 6 when using Windows XP:
1. Click Start, and then Control Panel.
2. Double click on Add or Remove Programs.
3. Select the Show Updates check box at the top of the Add or Remove Programs dialog box
4. Scroll down to find Windows Internet Explorer 7, right click on it and then select Change/Remove.

If you cannot find Internet Explorer 7 in Add or Remove Programs, follow the steps below:
Note: You need to have the View hidden folders option enabled.

1. Click Start, and then Run.
2.
Type the below command in the Run box
type %windir%\ie7\spuninst\spuninst.exe
2. Then press ENTER.

If you have installed the older Beta Version of IE 7 than you might use the following commands to un-install the beta files of IE7.

To run these commands, click Start, and then Run, and then type any one of the following command in the Run box and click Ok:

%windir%\ie7beta3\spuninst\spuninst.exe
%windir%\$NtUninstallie7beta1$\spuninst\spuninst.exe
%windir%\$NtUninstallie7bet2p$\spuninst\spuninst.exe
%windir%\$NtUninstallie7b2pmx$\spuninst\spuninst.exe
%windir%\$NtUninstallie7beta2$\spuninst\spuninst.exe


Once the command sucessfully executes, restart the Pc for changes to take affect and to rollback to IE6.

Method to reinstall Internet Explorer 6 by using the Ie.inf file:

If you already have Windows XP Service Pack 2 installed, and you do not want to install Internet Explorer , you may be able to resolve problems with Internet Explorer 6 by using the Ie.inf file to reinstall Internet Explorer 6. To do this, follow these steps:
Click Start, click Run, type %systemroot%\inf, and then press ENTER.
Find the Ie.inf file that is located in Windows\Inf folder.
Right-click the Ie.inf file, and then click Install.
Restart the computer when the file copy process is complete.

Tuesday, March 18, 2008

0 RUN command shortcuts

I know there are a lot of people who love using the run prompt or the command prompt rather than using the mmc control ... So here are some quick tips that you can use ... Enjoy ...
Accessibility Controls : access.cpl

Add Hardware Wizard : hdwwiz.cpl

Add/Remove Programs : appwiz.cpl

Administrative Tools : control admintools

Automatic Updates : wuaucpl.cpl

Bluetooth Transfer Wizard : fsquirt

Calculator : calc

Certificate Manager : certmgr.msc

Character Map : charmap

Check Disk Utility : chkdsk

Clipboard Viewer : clipbrd

Command Prompt : cmd

Component Services : dcomcnfg

Computer Management : compmgmt.msc

Date and Time Properties : timedate.cpl

DDE Shares : ddeshare

Device Manager : devmgmt.msc

Direct X Control Panel (If Installed)* : directx.cpl

Direct X Troubleshooter : dxdiag

Disk Cleanup Utility : cleanmgr

Disk Defragment : dfrg.msc

Disk Management : diskmgmt.msc

Disk Partition Manager : diskpart

Display Properties : control desktop

Display Properties : desk.cpl

Display Properties (w/Appearance Tab Preselected) : control color

Dr. Watson System Troubleshooting Utility : drwtsn32

Driver Verifier Utility : verifier

Event Viewer : eventvwr.msc

File Signature Verification Tool : sigverif

Findfast : findfast.cpl

Folders Properties : control folders

Fonts : control fonts

Fonts Folder : fonts

Free Cell Card Game : freecell

Game Controllers : joy.cpl

Group Policy Editor (XP Prof) : gpedit.msc

Hearts Card Game : mshearts

Iexpress Wizard : iexpress

Indexing Service : ciadv.msc

Internet Properties : inetcpl.cpl

IP Configuration (Display Connection Configuration) : ipconfig /all

IP Configuration (Display DNS Cache Contents) : ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents) : ipconfig /flushdns

IP Configuration (Release All Connections) : ipconfig /release

IP Configuration (Renew All Connections) : ipconfig /renew

IP Configuration (Refreshes DHCP & Re-Registers DNS) : ipconfig /registerdns

IP Configuration (Display DHCP Class ID) : ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID) : ipconfig /setclassid

Java Control Panel (If Installed) : jpicpl32.cpl

Java Control Panel (If Installed) : javaws

Keyboard Properties : control keyboard

Local Security Settings : secpol.msc

Local Users and Groups : lusrmgr.msc

Logs You Out Of Windows : logoff

Microsoft Chat : winchat

Minesweeper Game : winmine

Mouse Properties : control mouse

Mouse Properties : main.cpl

Network Connections : control netconnections

Network Connections : ncpa.cpl

Network Setup Wizard : netsetup.cpl

Notepad : notepad

Nview Desktop Manager (If Installed) : nvtuicpl.cpl

Object Packager : packager ODBC

Data Source Administrator : odbccp32.cpl

On Screen Keyboard : osk

Opens AC3 Filter (If Installed) : ac3filter.cpl

Password Properties : password.cpl

Performance Monitor : perfmon.msc 0

Performance Monitor : perfmon

Phone and Modem Options : telephon.cpl

Power Configuration : powercfg.cpl

Printers and Faxes : control printers

Printers Folder : printers

Private Character Editor : eudcedit

Quicktime (If Installed) : QuickTime.cpl

Regional Settings : intl.cpl

Registry Editor : regedit

Registry Editor : regedit32

Remote Desktop : mstsc

Removable Storage : ntmsmgr.msc

Removable Storage Operator Requests : ntmsoprq.msc

Resultant Set of Policy (XP Prof) : rsop.msc

Scanners and Cameras : sticpl.cpl

Scheduled Tasks : control schedtasks

Security Center : wscui.cpl

Services : services.msc

Shared Folders : fsmgmt.msc

Shuts Down Windows : shutdown

Sounds and Audio : mmsys.cpl

Spider Solitare Card Game : spider

SQL Client Configuration : cliconfg

System Configuration Editor : sysedit

System Configuration Utility : msconfig

System File Checker Utility (Scan Immediately) : sfc /scannow

System File Checker Utility (Scan Once At Next Boot) : sfc /scanonce

System File Checker Utility (Scan On Every Boot) : sfc /scanboot

System File Checker Utility (Return to Default Setting) : sfc /revert

System File Checker Utility (Purge File Cache) : sfc /purgecache

System File Checker Utility (Set Cache Size to size x) : sfc /cachesize=x

System Properties : sysdm.cpl

Task Manager : taskmgr

Telnet Client : telnet

User Account Management : nusrmgr.cpl

Utility Manager : utilman

Windows Firewall : firewall.cpl

Windows Magnifier : magnify

Windows Management Infrastructure : wmimgmt.msc

Windows System Security Tool : syskey

Windows Update Launches : wupdmgr

Windows XP Tour Wizard : tourstart

Wordpad : write

Thursday, March 6, 2008

0 Improve SATA disk performance in Vista


Do you have a SATA disk drive in your computer? If so, you improve performance out of your hard disk. This speeds up the performance of your hard disk by enhancing write caching.

Press and hold Windows Key on keyboard and press R. It will open Run Window. Type the following command without quotes in the open box and click OK
"devmgmt.msc"

OR

1. Click Start, and then right-click Computer.
2. Select Properties, and then click Device Manager in the left panel of the window.
3. Click on the (+) sign next to Disk Drives (Expand Disk Drives).
4. Right click on your hard drive and select Properties. On the Policies tab, check "Enable advanced performance".
5. Click OK and close Device Manager.!!

0 Wrong Media Center Version showing in Windows XP

When viewing the version information from Windows, the incorrect version number is listed. The following are some common ways of finding the Windows version that will show the incorrect version in Media Center Edition 2005.Please check the HP article:

http://h10025.www1.hp.com/ewfrf/wc/genericDocument?docname=c00795100&cc=us&lc=en&dlc=en&dlc=en&lang=en

0 Change the Size of Virtual Memory in Vista

If you receive warnings that your virtual memory is low, you'll need to increase the minimum size of your paging file. Windows sets the initial minimum size of the paging file at the amount of random access memory (RAM) installed on your computer plus 300 megabytes (MB), and the maximum size at 3 times the amount of RAM installed on your computer. If you see warnings at these recommended levels, then increase the minimum and maximum sizes.

1. Open System by clicking the Start (Windows Pearl) button , clicking Control Panel, clicking System and Maintenance, and then clicking System.
2. In the left pane, click Advanced system settings. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
3. On the Advanced tab, under Performance, click Settings.
4. Click the Advanced tab, and then, under Virtual memory, click Change.
5. Clear the Automatically manage paging file size for all drives check box.
6. Under Drive [Volume Label], click the drive that contains the paging file you want to change.
7. Click Custom size, type a new size in megabytes in the Initial size (MB) or Maximum size (MB) box, click Set, and then click OK.

Increases in size usually don't require a restart, but if you decrease the size, you'll need to restart your computer for the changes to take effect. We recommend that you don't disable or delete the paging file.