* *

Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Saturday, July 11, 2009

Create A Hidden User Account for Windows

This trick allows an account that is normally displayed on the Welcome screen to be hidden from view. To log on using the account it's necessary to use the Log On To Windows dialog box similar to the one in Windows 2000.

#[Start]

[Run]

[Regedit]#Registry Key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList#Modify/Create the Value Data Type(s) and Value Name(s) as detailed below.#Data Type: REG_DWORD [Dword Value] // Value Name: Type Name of Account to be Hidden#Setting for Value Data: [0 = Account is Hidden / 1 = Enabled]#Exit Registry and Reboot...

While the account is hidden on the Welcome screen, note that the account profile will be visible in C:\Documents and Settings or wherever user profiles are stored as well as in Local Users and Groups

Saturday, July 4, 2009

Hide Hard Drive Partitions In Windows

If you want to hide any partition of your hard disk just follow these simple steps.

1. Goto Start > Run and type diskpart

A DOS window will appear with following description

DISKPART>

2. Then type list volume

All partitions will be listed, there will be also a volume number for each partitions

3. Suppose you want to hide drive E:, type select volume 3 (Here 3 is the volume number of E:, in your pc it may vary). A message will now appear in the window saing "Volume 3 is the selected volume".

4. Now type remove letter E . You may have to reboot the computer. Diskpart will remove the letter. Since Windows XP doesn't have the capability to identify the unknown volume, it won't display or show results from it. To access the content of the hidden drive, repeat the process, but in the foruth step, replace remove to assign, ie., assign letter E.

PUT SHORTCUT KEYS TO SHUTDOWN & RESTART

Follow these steps :

1. On the desktop right click ----> New----> shortcut .
2. In the location area type (without quotes) "shutdown -r" to reboot, "shutdown -l" to logout, "shutdown -s" to shutdown.
3. In the name for the shortcut type in any name you are comfortable with e.g SHUTDOWN or RESTART etc.
4. Click Finish and its done.
5. Now double-click the icon created to perform the actions.

TRICK TO SHUTDOWN UR PC FASTER

Follow these steps .

1. On the desktop right click ----> New----> shortcut .
2. In the location area type shutdown -s .
3. In the name for the shortcut type in any name you are comfortable with e.g SHUTDOWN or OFF .
4. Click Finish and its done.
5. Now to shutdown just double click the icon created .
6. Change the icon to the windows shutdown icon for comfortability [optional]

Administrators password lost in Windows XP

In some cases you lose or forget the Windows XP administrator password and you are not able to login in case of emergency situations like the corruption or deletion of user account's in Windows XP.In that cases you can recover your administrator password in Windows XP by this tweak.

1. First reboot Windows XP in safe mode by press the restart button of the computer and pressing function key F8 repeated as the computer starts up and a selection menu popup.

2. Then select the safe mode option and then click Start and then click Run. In the open box type control userpasswords2.

3. You will now have access to all the user accounts, including the administrators account and other user accounts and you will be able to reset the lost or forget administrator password.

4. Just click the administrators user account, and then click the option Reset Password.

5. You will need to add a new password in the New password and the Confirm new password boxes, and confirm by clicking OK.

You have recovered the lost adminitrators password by these five easy steps!

Start computer in 10 seconds

Right here what u have to do to turn ur pc on in 10 seconds :

Click on the start button then press R it will take u to Run well go to runand type Regedit
press enter
this will open Registery Editor
now look for the key

HKEY_LOACAL_MECHINE\SYSTEM\CurrentControlSet\Control\ContentIndex

now there find the Key Called

"Startup Delay"

Double Click On It

Now where its Base

Click Decimal

Now its Default Value Is 4800000

Change The Value To 40000

here u go u have done it

now close the Registery Editor and Restart Your Computer

You'll See The Result

Hide 'User Accounts' from users

Go to Start/Run, and type:

GPEDIT.MSC

Open the path

User Config > Admin Templates > Control Panel

doubleclick "Hide specified Control Panel applets"

put a dot in 'enabled', then click 'Show"

click Add button,

type "nusrmgt.cpl" into the add box

Fix your Slow XP and 98 Network

You can run "wmiprvse.exe" as a process for quick shared network access to Win98/ME machines. Stick it in Startup or make it a service.

"On the PC running XP, log in as you normally would, go to users, manage network passwords.
Here is where the problem lies. In this dialog box remove any win98 passwords or computer-assigned names for the win98 PCs. In my case , I had two computer-assigned win98 pc names in this box (example G4k8e6). I deleted these names (you may have passwords instead). Then go to My Network Places and -- there you go! -- no more delay!

Now, after I did this and went to My Network Places to browse the first Win98 PC, I was presented with a password/logon box that looked like this: logon: G4k8e6/guest (lightly grayed out) and a place to enter a password. I entered the password that I had previously used to share drives on the Win98 PCs long before I installed XP. I have the guest account enabled in XP.

This solves the problem for Win98 & XP machines on a LAN; I can't guarantee it will work for Win2K/ME machines as well, but the whole secret lies in the passwords. If this doesn't solve your slow WinXP>Win98 access problems, then you probably have other things wrong. Don't forget to uncheck 'simple file sharing,' turn off your ICS firewall, enable NetBIOS over TCP/IP and install proper protocols, services & permissions."

Boot Winxp Fast

Follow the following steps to speed up Win XP

1. Open notepad.exe, type "del c:\windows\prefetch\ntosboot-*.* /q" (without the quotes) & save as "ntosboot.bat" in c:\
2. From the Start menu, select "Run..." & type "gpedit.msc".
3. Double click "Windows Settings" under "Computer Configuration" and double click again on "Shutdown" in the right window.
4. In the new window, click "add", "Browse", locate your "ntosboot.bat" file & click "Open".
5. Click "OK", "Apply" & "OK" once again to exit.
6. From the Start menu, select "Run..." & type "devmgmt.msc".
7. Double click on "IDE ATA/ATAPI controllers"
8. Right click on "Primary IDE Channel" and select "Properties".
9. Select the "Advanced Settings" tab then on the device or 1 that doesn't have 'device type' greyed out select 'none' instead of 'autodetect' & click "OK".
10. Right click on "Secondary IDE channel", select "Properties" and repeat step 9.
11. Reboot your computer.

Friday, July 3, 2009

Some tips to maintain your windows PC.

Organize files and folders (to be done on Windows installation)
Files keep accumulating in a computer and it is a good idea to organize them in proper folders that are easy to access and bring information to your fingertips.

Windows XP usually stores most of your files inside the My Documents folder, which is located on the C drive. You should first relocate this folder to another drive such as D, so that your data remains intact even when you reinstall Windows.

To do this, create a folder such as MyDocs in the D drive, right-click on My Documents, click on Properties, enter D:\MyDocs in the Target box and click OK. You will be asked whether you wish to move all the files to the new location, click Yes.

You should then create folders such as Work, Shopping, Home, etc in My Documents to store files regarding these topics. Once you create this structure, move the relevant files to this new folder structure. Windows already has a good way of organizing files - there is My Pictures to store images, My Music to store music etc, but you can create additional folders inside these to categorize your pictures, music, so it becomes very easy to locate them.

If you want to search faster, you can install Windows Desktop Search fromhttp://www.microsof t.com/windows/ products/ winfamily/ desktopsearch/ choose/windowsde sktopsearch. mspx. This tool indexes your files for faster retrieval. You can also use Google Desktop Search or Copernicus.

You should also relocate your default Outlook mail and address book store folder to the D drive (assuming that you use Outlook as your email client). Open the registry editor and go to the appropriate key according to the version of Outlook. If you're using Outlook 2003, locate registry key [HKEY_CURRENT_ USER\Software\ Microsoft\ Office\11. 0\Outlook] . If you're using Outlook XP, locate registry key [HKEY_CURRENT_ USER\Software\ Microsoft\ Office\10. 0\Outlook] . If you're using Outlook 2000, locate registry key [HKEY_CURRENT_ USER\Software\ Microsoft\ Office\9. 0\Outlook] . Create an expandable string value REG_EXPAND_SZ called "ForcePSTPath", and set it equal to the full path of the required personal folder directory such as D:\MyMail (you need to create this destination beforehand). Exit the registry and log out of Windows for the changes to take effect.
Delete or compress unnecessary files (may be done once a month)
You can do this using the Disk Cleanup tool. To launch it, click Start > All Programs > Accessories > System Tools > Disk Cleanup. Use this tool to cleanup each of your drives. Some temporary files are still left in the temporary folders. You can manually delete them by opening the folders %temp% and C:\Windows\Temp.

You can also delete temporary internet files as follows. In Internet Explorer, go to the "Tools" menu and down to "Internet Options". Under the "Temporary Internet files" section, click the "Delete Files" button. Check the box in front of "Delete all offline content" and click OK. If you use Opera, click Tools > Preferences, go to Advanced tab, click on History and click Empty now.

To minimize the space occupied by mails, follow these steps. In Outlook, click on Tool > Options > Mail Setup. Click on Data Files button, select Archive Folders from the list, click Settings, and click Compact Now. This will compress this particular folder. Do the same for all items in this list.

Defragment Your Computer (to be done once every month)
Files scatter all over the hard drive and therefore, accessing them becomes slower. This tends to increase over time as more and more programs are installed. The Disk Defragmenter bundled with Windows organizes files on your hard drive and helps it run better and faster. If you have a highly fragmented drive, this will make a huge difference in the performance of your PC.. Click Start > All Programs > Accessories > System Tools > Disk Defragmenter. Select each of the drive and click Defragment.

Use BootVis to speed up your booting
One of the main causes of slow booting of XP is due to the method of loading drivers. Windows versions prior to XP, loaded drivers sequentially, while since XP, it has been done concurrently, causing a slowdown. This information is written in the file C:\WINDOWS\Prefetch \Layout.ini. While creating this file, XP does a partial defragmentation of the files listed in Layout.ini to make them available in one contiguous area of the hard drive, allowing to load them faster.

Various factors adversely affect this defragmentation process, such as a fragmented hard drive, improper defragmentation of the above files by the normal Defragmenter, etc, and therefore it is necessary to do this defragmentation manually using a utility from Microsoft known as BootVis, which is available at http://www.microsof t.com/whdc/hwdev/platform/ performance/ fastboot/ BootVis.mspx. Extract this ZIP file to a folder after downloading. Run the BootVis.exe from this folder

The first step in tweaking or troubleshooting your boot process is to run a boot trace. Click File > New > Next Boot + Drivers Trace. The Trace Repetitions window will prompt you for the number of repetitions (reboots and traces) to run. Let us go with the defaults and click OK.

BootVis will now provide you with a 10-second countdown before it reboots the system and performs the trace, therefore giving you time to cancel the reboot and close any running applications you might wish to save and close. If you want to reboot instantly, click Reboot Now or click Cancel to cancel the reboot
After XP reboots, BootVis restarts automatically and provides individual graphs for the system activity areas such as Boot Activity, CPU usage, Disk I/O, Disk utilization, etc. Armed with the indication of how well the boot process is going, it is now the time to optimize the system. Click Trace > Optimize System.

Again BootVis will present you with a 10-second countdown before rebooting. When the system reboots, the BootVis window will appear indicating that BootVis is using information gained from the previous boot and the current boot to optimize the system

When the next window appears, BootVis actually starts placing the files specified in the Layout.ini file in the area of contiguous disk space created during the defragmentation process run prior to using BootVis. If you want, you can run another Boot trace to find how much your system gained because of this optimization.
Backup your files (to be done once a week/month depending on your requirements)
Backing up your data is a good practice, especially because you then have a spare copy of your important files, should your hard drive fail one fine day. Thankfully Windows XP comes with a free backup utility, which comes handy when you need to backup your data. Click on Start > All Programs > Accessories > System Tools > Backup. If it has not been installed, you can get it here http://www.microsof t.com/windowsxp/using/setup/ maintain/ backupsw. mspx.

The Backup or Restore Wizard appears. Click Next. Click Next on the Backup or Restore page. Click All information on this computer on the What to Back Up page, and then click Next. Click Choose a place to save your backup, and select your external hard disk drive on the Backup Type, Destination, and Name page and click Next. Click Finish on the Completing the Backup or Restore Wizard page.

Windows Backup saves a copy of your files to your external hard disk drive. When your XP fails to start, you will be able to restore your files to the state they were in when you completed the backup. However, any new files you have created and any changes you have made to existing files since the backup occurred will not be saved unless you backup your files again. It is recommended that you backup your files every week.
Remove unnecessary programs
Every program installed on your computer takes up space, and some programs slow your computer down regardless of whether you use them or not. So if you have installed a program that you do not intend to use again, it is better to uninstall it. You can do this either using the Add/Remove Programs applet in the Control Panel or using the Uninstall icon in the program's folder in the Start Menu

Configure Power Management to save on electricity bills and prolong the life of your PC
Windows XP comes with excellent power management facilities that give you great control over the amount of time that your computer components should wait to enter a low power consumption mode. This can be done using the Power Options applet in the Control Panel, where you can choose from among various in-built power schemes.

If you wish, you can specify your own power profile by choosing the amount of idle time, your monitor and hard drive should wait before turning off. You can also specify the amount of idle time to wait, before your computer can enter the Standby mode.

If you can spare disk space equal to the amount of installed RAM, on your host drive, you can enable the Hibernate feature in the Hibernate tab, go to the Advanced tab and select Hibernate option from the drop-down list below "When I press the power button on my computer", in the Power buttons section. Now when you press the power button, your computer will enter the Hibernate state (which is faster than normal shutdown), and you can turn off the mains power.

When you restart your computer, it will be restored to the exact state at which you hibernated (and this is much faster than a normal XP startup). The advantage of this feature is that if you were working on a certain program, you can hibernate, even mid-way through it and when you power on the computer, you can continue from where you left off.

In addition to the above, you must install critical Windows Updates regularly to fix bugs as well as to update drivers and certain programs. You can use the Automatic Updates feature to do this. Make sure that this is turned On in the Control Panel. A good antivirus, firewall and anti-spyware is also a must along with regular updates (at least once a week or using the auto-update feature), as these will keep your computer safe while you are online. In addition to this, you should schedule these to run a thorough scan at least once a month just to be sure.

How to display text message warning before windows Logon?

You can insert legal warnings or any interesting messages for others just before logonto windows based computer. This is very useful if you want to give a message to new users about the uses of computer. You can create this banner message using the windows registry editor but make sure before modifying your system Registry about its backup because Registry contains all information how your system runs. This backup will help you to restore Registry in case any problem occurs after modifying.

To edit the computer registry, first you should log onto your computer with administrative rights.

Click Start button then type regedit in Run option then press Enter for next.


Here locate the location to:

HKeyLocalMachine\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\WinLogon

Here in right side panel, double click on the key LegalNoticeCaption and give it a value you want to see in the menu bar. For example “Welcome Screen for All Users”.

Now again in right side panel, double click on the key called LegalNoticeText and change the value you want to see in the dialog box. For example “You may not succeed later when trying to logon without a password.”

Now close the registry editor and restart your computer after any changes to go into effect.

Saturday, June 27, 2009

What to Do When A USB Device Driver Takes Too Long to Install

The universal serial bus (USB) is the "old new wave" of plug and play capabilities of Windows and other operating systems. Now, installing new pieces of hardware is extremely easy, all you need to do most of the time is to plug in the device through the USB port and wait until Windows detects it. If you are using Windows XP or Vista, you will realise that Microsoft has made things even simpler by having a database of drivers for common products from a long list of manufacturers. So really, the whole process of installing something can take as little time as you plugging it in, Windows detecting it, finding the driver and installing it for you.

Most of the time, there is no need for a restart, because the USB is based on the 'plug and play' interface, which means that usability of the product is literally instant. The range of products that now use the USB interface has now spread to across all manners of hardware and peripherals, like the mouse, keyboards, printers, scanners, DVD drives, external hard drives etc., just to name a few. The USB has also taken over the aged IDE female/male port that your ancient printer would have used for data transfer.

With the USB, data transfer can be almost 4 to 5 times faster than those old ports at the back of your PC. One of the more common problems that people do encounter when they try to install a USB device is that the installation will sometimes take too long, and they never know why. This is especially true when they install small USB flash devices or devices from third party manufacturers that are none too familiar on the market.

One of the common problems of this is that there could be a problem with the driver itself, which means that Windows or another operating system has trouble checking the binary files and is confused as to how to register the product. It will try a system of matching and elimination as it tries to register your new USB hardware. Another reason could be that the driver itself is corrupt, which means any and all system communication cannot be processed and thus your product cannot be recognised by Windows.

You need to check for either an alternative, more updated driver, or see if there is a copy you can download from the internet. Usually it is readily available in the tech support section of most manufacturers' websites and they will often either post the driver or post a FAQ, where you should be able to find which problem you are experiencing and either a tech or user recommended solutions for it.

USB driver devices are still an easy alternative to complex data and installation for products and the plug and play viability of it still remains number one. With USB 3.0 on the horizon, most issues should be resolved by then, and you will get a much faster data transfer rate and maybe even greater functionality in future.

Click Here
http://www.driverscan.org/ download Driver Scan for free and instantly fix your USB device driver problems.

What makes a Computer to Freeze?

If you are someone who spends a lot of time on the computer, you will find that there are few things that catch your attention as quickly as your computer simply freezing up and not responding to your commands. While sometimes this can be fixed by a hard reboot (holding down the power key or pulling the cord) this is far from a perfect solution, especially if this situation keeps happening over time! If you are worried about why your computer is freezing up, you will find that there are a few different things that might be to blame. Take a look at some of the common causes for a computer to freeze up and how to fix them.

The first thing to think about when you are computer freezes is to look into the obvious. Look for a physical component to the problem; make sure that everything is still plugged in. For instance, your pointer might not be responding to your mouse clicks because your mouse is no longer in physical contact with your computer. Similarly, you might not be able to type if your keyboard is having issues. Always perform tests on the physical system, because this is one of the most common problems seen as well as one of the easiest to fix.

Another thing that you might be facing is a virus or a particularly bad case of spyware. If your computer is hooked up to the internet in any way, shape or form, you will find that it is possible to get harmful things like viruses through the connection. There are definitely viruses out there that can cause your computer to freeze. They will do this through putting your computer in a place where it is constantly trying to restart, or it will simply do this through consuming your system's resources until there is nothing left to actually perform processes. You will find that you can take care of this problem through getting an antivirus, making sure that you update, unplugging from the internet and then running the antivirus in safe mode.

You will also discover that registry errors might be causing your issues with your computer freezing. You will find that as you use your computer, your registry, the area where the instructions for executable tasks are stored, will get corrupted. Entries will be half-erased, or duplicated over time, slowing down your functioning or causing freezes. The answer to this issue is to make sure that you have a good registry cleaner at your disposal.

Finally, you may find that computer freezes could mean the onset of hardware problems. At this point, if you are worried about hardware problems, make sure that you have copies of your data backed up on another source, either online or on another hard drive, and see what the hardware problems might be. You may find that you need a new hard drive, and this is something that is better taken care of sooner rather than later.

Take some time and make sure that you think about what happens if your computer freezes. Remember that it is not a normal circumstance and that there are steps that you can take!

Wednesday, June 17, 2009

Best Way to Uninstall

Windows Add/Remove Programs is fine, as far as it goes. Problem is, it doesn’t go far enough. It often leaves traces of uninstalled programs in various places on your hard drive, meaning you’ll accumulate a lot of junk over time.

This freeware utility does a better job of completely eliminating all traces of the software you want to uninstall. But it does even more:

* Analyze an installation so it can be completely uninstalled (also supports reboots of the computer as the process is split into two: Before and after the installation)
* Find and delete temporary files
* Delete entries from programs that are no longer installed
* Hide Windows Updates
* Hide entries from the list that you are never going to uninstall (drivers etc.) making the list smaller and therefore easier to manage.
* Show more information than available through add/remove
* Automatically find entries from programs that are most likely already uninstalled
* Automatically find entries that are considered “crap-ware”
* (Of course) search the list of installed software

Tuesday, June 16, 2009

Disable My Computer

In areas where you are trying to restrict what users can do on the computer, it might be beneficial to disable the ability to click on My Computer and have access to the drives, control panel etc.
To disable this:
1.Open RegEdit
2.Search for 20D04FE0-3AEA-1069-A2D8-08002B30309D
3.This should bring you to the HKEY_CLASSES_ROOT\CLSID section
4.Delete the entire section.
Now when you click on My Computer, nothing will happen.
You might want to export this section to a Registry file before deleting it just in case you want to enable it again. Or you can rename it to 20D0HideMyComputer4FE0-3AEA-1069-A2D8-08002B30309D. You can also hide all the Desktop Icons, see Change/Add restrictions.

How to disable your (C:, D:, E: ) drives in My Computer

This is a great trick you can play on your friends. To disable the display of local or networked drives when you click My Computer.

1.Go to start->run.Type regedit.Now go to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Now in the right pane create a new DWORD item and name it NoDrives(it is case sensitive). Now modify it's value and set it to 3FFFFFF (Hexadecimal) .Now restart your computer. So, now when you click on My Computer, no drives will be shown(all gone...). To enable display of drives in My Computer, simply delete this DWORD item that you created.Again restart your computer.You can now see all the drives again.

Windows Registry

The Windows registry is a database repository of information about a computer's configuration. Installing and uninstalling software will make your registry a mess, leading to decreased PC performance and causing computer crashes. The registry size keeps growing when you use Windows. When the registry becomes very large, your computer's performance will be decayed and unstable. Some computer users even spend a lot of time trying to go through the registry and edit it manually. Not only can this be a daunting task, it is also a risky one. Registry Easy™ uses a high-performance detection algorithm that will quickly identify missing and invalid references in your Windows registry. With a few easy steps Registry Easy™ will scan your entire Windows registry for any invalid or obsolete entries and provide a list of the registry errors found. After that you can choose to clean list items with selection or automatically repair them all.

Disable or remove shutdown

=> remove shutdown from start menu and also from all other possible options.
=> hide shutdown from start menu
=> disable shutdown all togetherlearn to do it now!!! (it takes less than a minute to do so) Disclaimer: this is an article which just brings out the fact that removing the shut down menu option from the start menu is possible. If you however get caught
by your manager or college system administrator, and get whipped in your ass, I
cannot be held responsible. This tool is a inbuilt tool present in windows XP, just like msgconfig. So you got to execute this command using run. 1 . Start ->run and type gpedit.msc The gpedit stands for group policy and you can do wonders using this. Also if you a minute with your pal’s system and this pal tries to flirt your girl friend

- You can make a lot of changes to his system in the time he leaves you alone
with his system, to have him go bonkers.
2. User configuration -> administrative Templates -> start menu and taskbar

3. This option opens up a pane on the right hand side. Identify the option named
- Remove SHUT DOWN on the start menu.

4. Double click Remove SHUT DOWN on the start menu option

5. a small screen pops up and you may like to read about the explanation in the EXPLAIN TAB before you change the settings.

6. Just change the radio button TO ENABLED and say apply.

7. DONE. No need to log off or restart the system. (You may however have to find a way to restart your system.)

8. This option disables the log off option from the system. From the start menu,also from the life saver – three buttons CTRL - ALT - DEL options. This option goes well with the HIDING THE LOG OFF FROM START MENU… (To shut down ur system:-without using frm shut down menu) The solution is that u can switch user thru task manager (alt+ctrl+del) or by pressing winkey+L where u get the option to turn off ur compy/restart/stand by.

or u may create a shortcut using this shortcut location to shutdown ur sys %windir%\system32\shutdown.exe -s to restart, u can use this shortcut %windir%\system32\shutdown.exe -r

Changing Startup and Log-off screens

Startup Screen

Create a 320x400 bitmap in the root directory and name it LOGO.SYS
You can use LOGOW.SYS file in the Windows directory as a starter

Logoff Screens

There are many system file that constitutes Lofoff screen.

They are actually bitmaps 320x400 that just have a different extension

The hidden file in the root directory LOGO.SYS is the startup logo.

There are two files in the Windows directory.

LOGOW.SYS is the Wait while Shutting down ... screen.

LOGOS.SYS is the You may now shut-off or Reboot screen.

Make two new image files of your chice in Paint and name it as LOGOW.SYS and LOGOS.SYS and replce the actual windows file by this two.

But make sure they should be of the same size

Friday, June 12, 2009

Disable or Enable Auto run CD

Sometimes you may be irritating when suddenly a CD window pop up or a video begins to run as the CD is inserted.You can enable or disable auto run CD depending on your nature of work by making a simple change in registry. In user interface mode there is no option to disable or enable this feature, you must edit the registry of windows and be careful to work registry.

Click Start button then type regedit in Run option then press Enter for next.

Here locate the location to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom

Here you can disable or enable automatically running your CD.

Change the value of Autorun to 0 for disable and change the value to 1 for enable.

After finishing editing you must restart your computer to see the effect of changes.