Archive for the ‘registery tricks’ Category

Windows XP restarts unexpectedly or restarts when you shut down the computer


SYMPTOMS

If you shut down your Windows XP-based computer, your computer may restart instead of shutting down. The computer may also restart unexpectedly while you are using the computer to perform certain tasks. An error message may appear on a blue screen when the computer restarts.

CAUSE

This behavior may occur if Windows stops responding during a typical operation or during the shutdown process. By default, the computer is configured to automatically restart when Windows stops responding. To view this setting, follow these steps:

  1. Click the Start button, right-click My Computer, click Properties, click the Advanced tab, and then click Settings under Startup and Recovery.
  2. Under System Failure, view the Automatically restart check box. If the Automatically restart check box is selected, Windows automatically restarts if the computer stops unexpectedly.

RESOLUTION

If your computer constantly restarts while you are using it, or if you are trying to shut down the computer after it has stopped unexpectedly, click to clear the Automatically restart check box. If you clear this check box, you receive an error message when the computer stops responding. This error message may describe the cause of the problem. You can also review the system log in Event Viewer to view the critical stop error that occurs when the computer restarts. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

  HOW TO: View and manage event logs in Event Viewer in Windows XP

To configure the way that Windows responds when the computer stops unexpectedly, follow these steps.

Note: You must be logged on as an administrator or a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may prevent you from completing this procedure.

  1. Log on to the host computer as either an administrator or the owner.
  2. Click Start, and then click Control Panel.
  3. Under Pick a category, click Performance and Maintenance.
  4. Under the or pick a Control Panel icon section, click System.
  5. Click the Advanced tab, and then click Settings under Startup and Recovery.
  6. Click to select any one of the following check boxes under System Failure:
    • Write an event to the system log
    • Send an administrative alert
    • Automatically restart

STATUS

This behavior is by design.

MORE INFORMATION

By default, the Automatically restart check box is selected so that you can continue to use the computer if a critical stop error occurs. Microsoft Services starts during the startup process before you log on. Therefore, the computer is functional after it restarts. If the computer stops because of a critical stop error, you lose all functionality, including the remote access functionality. After the computer restarts, you can investigate the reason for the stop error.

The stop error message only displays information about the possible cause of the critical stop error. In most situations, the error is logged in the system log.

Configure Windows to perform the following actions if a severe error such as a stop error or fatal system error occurs:

  • Write an event to the system log.
  • Notify administrators.
  • Automatically restart the computer.
  • Dump system memory to a file that advanced users can use for debugging.

You must have at least a 2-megabyte (MB) paging file on the computer’s boot volume if you want to configure the computer to either write an event to the system log or notify an administrator. If you configure Windows to create a dump file that contains the system memory data, you can use the dump file to debug the cause of the stop error.

To configure Windows to create a dump file, follow these steps:

  1. Log on to the host computer as either an administrator or the owner.
  2. Click Start, and then click Control Panel.
  3. Under Pick a category, click Performance and Maintenance.
  4. Under the or pick a Control Panel icon section, click System.
  5. Click the Advanced tab, and then click Settings under Startup and Recovery.
  6. Under Write Debugging Information, click one of the following entries:
    • Small Memory Dump: If you click this setting, the smallest amount of information that helps you identify the problem is recorded. This setting requires that you have at least 2 MB available for a paging file on the boot volume of your computer. If you click this setting, Windows creates a new file every time that the computer stops unexpectedly. A history of these files is stored in the folder that is listed in the Dump File box.
    • Kernel Memory Dump: If you click this setting, only kernel memory is recorded. This speeds up the process of recording information in a log when the computer stops unexpectedly. Depending on the random-access memory (RAM) in your computer, you must have 50 MB to 800 MB available for the paging file on the boot volume. The file is stored in the folder that is listed in the Dump File box.
    • Complete Memory Dump: If you click this setting, the contents of the system memory are recorded when the computer stops unexpectedly. If you use this setting, you must have a paging file on the boot volume that is sufficient to hold all of the physical RAM plus one MB. The file is stored in the folder that is listed in the Dump File box.

Windows always writes to the same file name. To save individual dump files, click to clear the Overwrite any existing file check box, and change the file name after each stop error.

To save memory, click to clear both the Write an event to the system log check box and the Send an administrative alert check box. The memory that is saved depends on the computer. Typically, these debugging features require about 60 kilobytes (KB) to 70 KB of RAM.


APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional

Reduce the shutdown time of Windows 2000 and XP.


You can reduce the shutdown time of windows 2000 and XP using some tricks. Actually windows XP take time to close all running programs and applications before shutdown, but you can minimize this time if you have little knowledge about editing windows registry.

Follow the given steps to reduce the shutdown time:

First click on Start button then type Regedit in Run option. Here locate the location to:

Go to Hkey_Current_User\Control Panel\Desktop

Here in right side panel, double click on AutoEndTasks and here its default value is 0. Now change it to 1.

Now in same side panel double click on value name WaitToKillAppTimeout. Its default value data is 20000; now change this value of WaitToKillAppTimeout to 3500.

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

Disabling the Blinking Cursor in Computer Applications


If you are using any computer application, for example MS Word or MS FrontPage and you did not like blinking of cursor. You can stop the cursor from blinking in these applications to edit your computer registry keys, but be careful to work with computer registry.

Follow the given steps to stop cursor from blinking:

First click on Start button then type Regedit in Run option.

Here locate the location to:

HKEY_CURRENT_USER\Control Panel\Desktop

Here add the string value with name CursorBlink and value -1

At the end restart your computer for this change.

Disabling Run or Find from the Start Menu


Start Regedit

Go to HKey_Current_User \ Software\ Microsoft \Windows \ Current Version \ Policies \ Explorer

Right click on the right panel and add a New / DWORD

Name it NoFile or NoRun

Give it a value of 1

Logoff or Reboot the computer

Disabling the ability to click on My Computer


You can restrict any user to access your system drives if you disable the click feature on My Computer. User will get no any changes when he will try to open My Computer.

By editing the windows registry keys, you can disable the click feature on My Computer. But always export or backup the whole windows registry keys on backup drive before editing. Because any mistake in Registry can cause serious problem in your computer to run properly.

Follow the given steps to disable My Computer setting.

First click on Start button then type Regedit in Run option.

In registry editor panel search the value

20D04FE0-3AEA-1069-A2D8-08002B30309D

May be you will find this value on path HKey_Classes_Root \ CLSID section.

Here delete the entire section of this value.

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

Disable drives in My Computer from unknown user.


If you want to prevent any users to access your computer or network shared drives using My Computer then you can hide the all drives for example C:/, D:/ and save your data from any unknown user. But next time you can turn on the display of these drives using registry editor. Now edit the computer registry to turn off the display of drives, but be careful to work with computer registry.

Follow the given steps to hide computer drives:

First click on Start button then type Regedit in Run option.

Here locate the location to:

HKey_Current_User \ Software \ Microsoft \ Windows

\ Current Version \ Policies \ Explorer

Here right click on right side of Registry editor panel and add new DWORD then put its value 3FFFFFF.

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

Displaying a Text Notice before Logon


You can create a funny message or legal warnings for others just before logon to your computer. This is very useful if you want to give a message to new user about the use of computer. Edit the value of registry keys to create a banner message.

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

Here locate the location to:

HKeyLocalMachine \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Win Logon

Here in right side panel, right click to create a new string value LegalNoticeCaption and give it a value you want to see in the menu bar

Now again right click to create a new string value called LegalNoticeText and change the value you want to see in the dialog box

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