About Me

Friday, 13 April 2012

What is Windows Registry? how To create a errow message?

The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components as well as the applications running on the platform: the kernel, device drivers, services, SAM, user interface and third party applications all make use of the registry. The registry also provides a means to access counters for profiling system performance.
By editing the Windows Registry we can produce some interesting results! But editing registry carelessly can severely affect the system and may lead to crashing of the Windows. Thus it is strongly recommended that you should backup the registry before editing it.
Create Windows Log on Error Message:
Here we will edit the registry to display a critical error message on the Windows logon screen.
  1. Click on Start > Run.
  2. Type regedit. Click OK. [Note: you should have the administrative privilege to open Registry Editor and edit it.
  3.  Now Navigate to the following key in the Registry Editor:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Policies\System
Now do the following changes:
  1. Right-click on legalnoticecaption key. Click Modify... In the Value data box write something like Critical Error. [Note: this text will be the heading of the error message. ]
  2. Right-click on legalnoticetext key. Click Modify... In the Value data box write something like Windows cannot load. System files are corrupted due to malicious software present in the system. Insert Installation Disc and Click OK. [Note: this text will be the body of the error message.]

Thats it!  next time whenever anybody logins the windows, an error message will be displayed on the logon screen. [The message is just a fake one and the system will start normally after the message]
To remove the message from the Windows logon screen, just revert the registry keys value to the original, i.e, empty the Value data of both the keys.



0 comments:

Post a Comment