Please check out my new blog @

Going Beyond Windows.....

Thursday, October 9, 2008

What are hives?

Hives are the major subdivisions of all of these subtrees, keys, subkeys, and values that make up the Registry. They contain "related" data.


All hives are stored in %systemroot%\SYSTEM32\CONFIG. The major hives and their files are as follows:

Hive

File

Backup File

HKEY_LOCAL_MACHINE\SOFTWARE

SOFTWARE

SOFTWARE.LOG

HKEY_LOCAL_MACHINE\SECURITY

SECURITY

SECURITY.LOG

HKEY_LOCAL_MACHINE\SYSTEM

SYSTEM

SYSTEM.LOG

HKEY_LOCAL_MACHINE\SAM

SAM

SAM.LOG

HKEY_CURRENT_USER

USERxxx
ADMINxxx

USERxxx.LOG
ADMINxxx.LOG

HKEY_USERS\.DEFAULT

DEFAULT

DEFAULT.LOG

Hackers should look for the SAM file, with the SAM.LOG file as a secondary target. This contains the password info.

Hive

File

Backup File

HKEY_LOCAL_MACHINE\SOFTWARE

SOFTWARE

SOFTWARE.LOG

HKEY_LOCAL_MACHINE\SECURITY

SECURITY

SECURITY.LOG

HKEY_LOCAL_MACHINE\SYSTEM

SYSTEM

SYSTEM.LOG

HKEY_LOCAL_MACHINE\SAM

SAM

SAM.LOG

HKEY_CURRENT_USER

USERxxx
ADMINxxx

USERxxx.LOG
ADMINxxx.LOG

HKEY_USERS\.DEFAULT

DEFAULT

DEFAULT.LOG

Hackers should look for the SAM file, with the SAM.LOG file as a secondary target. This contains the password info.

For ease of use, the Registry is divided into five separate structures that represent the Registry database in its entirety. These five groups are known as Keys, and are discussed below:

HKEY_CURRENT_USER

This registry key contains the configuration information for the user that is currently logged in. The users folders, screen colors, and control panel settings are stored here. This information is known as a User Profile.

HKEY_USERS

In windowsNT 3.5x, user profiles were stored locally (by default) in the systemroot\system32\config directory. In NT4.0, they are stored in the systemroot\profiles directory. User-Specific information is kept there, as well as common, system wide user information.

This change in storage location has been brought about to parallel the way in which Windows95 handles its user profiles. In earlier releases of NT, the user profile was stored as a single file - either locally in the \config directory or centrally on a server. In windowsNT 4, the single user profile has been broken up into a number of subdirectories located below the \profiles directory. The reason for this is mainly due to the way in which the Win95 and WinNT4 operating systems use the underlying directory structure to form part of their new user interface.

HKEY_LOCAL_MACHINE

This key contains configuration information particular to the computer. This information is stored in the systemroot\system32\config directory as persistent operating system files, with the exception of the volatile hardware key.

The information gleaned from this configuration data is used by applications, device drivers, and the WindowsNT 4 operating system. The latter usage determines what system configuration data to use, without respect to the user currently logged on. For this reason the HKEY_LOCAL_MACHINE regsitry key is of specific importance to administrators who want to support and troubleshoot NT 4.

HKEY_LOCAL_MACHINE is probably the most important key in the registry and it contains five subkeys:

  • Hardware: Database that describes the physical hardware in the computer, the way device drivers use that hardware, and mappings and related data that link kernel-mode drivers with various user-mode code. All data in this sub-tree is re-created everytime the system is started.
  • SAM: The security accounts manager. Security information for user and group accounts and for the domains in NT 4 server.
  • Security: Database that contains the local security policy, such as specific user rights. This key is used only by the NT 4 security subsystem.
  • Software: Pre-computer software database. This key contains data about software installed on the local computer, as well as configuration information.
  • System: Database that controls system start-up, device driver loading, NT 4 services and OS behavior.

Information about the HKEY_LOCAL_MACHINE\SAM Key

This subtree contains the user and group accounts in the SAM database for the local computer. For a computer that is running NT 4, this subtree also contains security information for the domain. The information contained within the SAM registry key is what appears in the user interface of the User Manager utility, as well as in the lists of users and groups that appear when you make use of the Security menu commands in NT4 explorer.

Information about the HKEY_LOCAL_MACHINE\Security key

This subtree contains security information for the local computer. This includes aspects such as assigning user rights, establishing password policies, and the membership of local groups, which are configurable in User Manager.

HKEY_CLASSES_ROOT

The information stored here is used to open the correct application when a file is opened by using Explorer and for Object Linking and Embedding. It is actually a window that reflects information from the HKEY_LOCAL_MACHINE\Software subkey.

HKEY_CURRENT_CONFIG

The information contained in this key is to configure settings such as the software and device drivers to load or the display resolution to use. This key has a software and system subkeys, which keep track of configuration information.

Understanding Hives

The registry is divided into parts called hives. These hives are mapped to a single file and a .LOG file. These files are in the systemroot\system32\config directory.

Registry Hive

File Name

HKEY_LOCAL_MACHINE\SAM

SAM and SAM.LOG

HKEY_LOCAL_MACHINE\SECURITY

Security and Security.LOG

HKEY_LOCAL_MACHINE\SOFTWARE

Software and Software.LOG

HKEY_LOCAL_MACHINE\SYSTEM

System and System.ALT

Monday, September 29, 2008

Change Logon Wallpaper In Windows XP

Logon wallpaper is the wallpaper or image that windows xp shows on screen when windows logs on (before it asks for username & password) . It’s usually set to the image-logo of the brand(manufacturer) of our computer (e.g. in compaq laptops). Now we can set it to our own image or any other image(any bmp file) by following trick.

Open Startmenu->Run type regedit and press ok to open registry editor.(shows a tree like structure of directories at left)

In that hierarchical structure in left, navigate to registry entry
HKEY_USERS\.DEFAULT\Control Panel\Desktop

In right side pane see a number of values placed in a table format. choose the value named Wallpaper from there and double click it. Now you see a box with value name as Wallpaper and value data as Path to the image file .There give the full path of the image(bmp file) which you want to set as logon wallpaper by deleting previous path and writing path to your bmp file e.g. C:\WINDOWS\lon.BMP (to set image lon.BMP file as log on wall paper).

Also double click on WallpaperStyle and change it’s value to 2 to get a stretched wallpaper at logon.

Put that bmp file in windows directory for better results.
If that is a jpeg file, convert to bmp file by opening in Windows Image Viewer and save as bmp.

Wednesday, September 3, 2008

Google Chrome Keyboard Shortcuts

Get all the keyboard shortcuts for new Google Chrome Beta. You may download it from http://www.google.com/chrome/

Window and tab shortcuts

Ctrl+N Open a new window
Ctrl+Shift+N Open a new window in incognito mode
Press Ctrl, and click a link Open link in a new tab
Press Shift, and click a link Open link in a new window
Alt+F4 Close current window
Ctrl+T Open a new tab
Ctrl+Shift+T Reopen the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed.
Drag link to tab Open link in specified tab
Drag link to space between tabs Open link in a new tab in the specified position on the tab strip
Ctrl+1 through Ctrl+8 Switch to the tab at the specified position number. The number you press represents a position on the tab strip.
Ctrl+9 Switch to the last tab
Ctrl+Tab or Ctrl+PgDown Switch to the next tab
Ctrl+Shift+Tab or Ctrl+PgUp Switch to the previous tab
Ctrl+W or Ctrl+F4 Close current tab or pop-up
Alt+Home Open your homepage
Ctrl+O, then select file Open a file from your computer in Google Chrome

Address bar shortcuts

Do one of the following actions in the address bar:
Type a search term Perform a search using your default search engine
Type the part of the web address that's between 'www.' and '.com', then press Ctrl+Enter Add www.and .com to your input in the address bar and open the web address
Type a search engine keyword or URL, press Tab, then type a search term Perform a search using the search engine associated with the keyword or the URL. Google Chrome prompts you to press Tab if it recognizes the search engine you're trying to use.
F6 or Ctrl+L or Alt+D Highlight content in the web address area
Type a web address, then press Alt+Enter Open your web address in a new tab

Shortcuts to open Google Chrome features

Ctrl+B Toggle bookmarks bar on and off
Ctrl+H View the History page
Ctrl+J View the Downloads page
Shift+Escape View the Task manager

Webpage shortcuts

Ctrl+P Print your current page
F5 Reload current page
Esc Stop page loading
Ctrl+F5 or Shift+F5 Reload current page, ignoring cached content
Press Alt, and click a link Download link
Ctrl+F Open find-in-page box
Ctrl+G or F3 Find next match for your input in the find-in-page box
Ctrl+Shift+G or Shift+F3 Find previous match for your input in the find-in-page box
Ctrl+U View source
Drag link to bookmarks bar Bookmark the link
Ctrl+D Bookmark your current webpage
Ctrl++ Make text larger
Ctrl+- Make text smaller
Ctrl+0 Return to normal text size

Text shortcuts

Highlight content, then press Ctrl+C Copy content to the clipboard
Place your cursor in a text field, then press Ctrl+V or Shift+Insert Paste current content from the clipboard
Place your cursor in a text field, then press Ctrl+Shift+V Paste current content from the clipboard without formatting
Highlight content in a text field, then press Ctrl+X or Shift+Delete Delete the content and copy it to the clipboard

More Shortcuts:

Backspace, or press Alt and the left arrow together Go to the previous page in your browsing history for the tab
Shift+Backspace, or press Alt and the right arrow together Go to the next page in your browsing history for the tab
Ctrl+K or Ctrl+E Places a '?' in the address bar. Type a search term after the '?' to perform a search using your default search engine.
Place your cursor in the address bar, then press Ctrl and the left arrow together Jump to the previous word in the address bar
Place your cursor in the address bar, then press Ctrl and the right arrow together Jump to the next word in the address bar
Place your cursor in the address bar, then press Ctrl+Backspace Delete the previous word in the address bar
Space bar Scroll down the web page
Home Go to the top of the page
End Go to the bottom of the page

Thursday, August 28, 2008

Runtime Error, A Brief Introduction

A runtime error is a computer error that appears in the form of a message box consisting of a particular code and computer becomes noticeably slow before a runtime error appears.

No sooner the runtime error message has been displayed and closed, the software showing this error would normally hang or close automatically. In some cases, the operating system may reboot.

A wide variety of errors cause these problems. which include:

  • conflicts between the TSR (Terminate and Stay Resident Program)and other
  • currently running applications;
  • software issues;
  • memory problems;
  • and harmful applications such as computer viruses.

With this, the procedures necessary to correct this type of error differs from one case to another. If the runtime error you are experiencing were caused by a TSR then you can simply use the "end task" function of the Task Manager.

If you consequently encounter a runtime error that is persistent, the software that displays the error message has certain issues and problems. You can resolve this problem by visiting the website of the software's developer and downloading and installing all the updates and patches needed for the smooth running of the software. However, if you have already installed all updates and patches and the runtime error message still appears, you can opt to uninstall and reinstall the program.

Another type of runtime error is usually caused by memory issues. In this case, it is a good idea to first contact the developer of the application that caused the error message. More often than not, they can provide you with a possible set of solutions. But if their given solutions cannot resolve the issues, you need to contact the manufacturer of your computer or motherboard and ask for a technician or someone from the company who can assess your hardware.

A different type of runtime error is caused by harmful programs such as viruses and other malicious processes. These harmful programs are capable of altering the computer's settings. With this, they are very much capable of generating runtime errors. In order to prevent runtime errors that are caused by such malicious programs, you need to frequently update your software security application. If your PC does not have a good software security program, you need to install one and scan your computer for possible threats to the stability of your system and the security of your private data.

Wednesday, August 27, 2008

Open Compatiblity Mode In Vista

As Windows Vista features some fundamental changes to the way the operating system works, some older applications may not function properly under Vista. To help get around this snag, the Microsoft developers have included the ability to set compatibility settings on a per application basis. This may allow you to run programs that otherwise would not load properly.

To do this, right click on the main application file and click Properties.
Then, click on the Compatibility tab at the top of the window. You can then tick the "Run this program in compatibility mode for..." box and choose the operating system the application is designed to run under (i.e. Windows XP). You can also choose any other options, such as running at a reduced resolution, then click OK.
Hopefully this will then let you run the application, but you may need to try several compatibility settings to find which works best for a troublesome application.

Popular Posts