Friday, November 25, 2011

HAL.DLL Missing or Corrupt


If you get an error regarding a missing or corrupt hal.dll file, it might simply be the BOOT.INI file on the root of the C: drive that is misconfigured
  1. Insert and boot from your WindowsXP CD.
  2. At the first R=Repair option, press the R key
  3. Press the number that corresponds to the correct location for the installation of Windows you want to repair.
    Typically this will be #1
  4. Type bootcfg /list to show the current entries in the BOOT.INI file
  5. Type bootcfg /rebuild to repair it
  6. Take out the CD ROM and type exit

Services You Can Disable


There are quite a few services you can disable from starting automatically.
This would be to speed up your boot time and free resources.
They are only suggestions so I suggestion you read the description of each one when you run Services
and that you turn them off one at a time.

Some possibilities are:

Setting Capslock, Numlock, Scroll Lock


If you want to set the startup state for any or all of these keys,
you just need to edit the registry.
  1. Start Regedit
  2. Go to HKEY_CURRENT_USER \ Control Panel \ Keyboard
  3. Open InitialKeyboardIndicators
  4. Change the value to one of the following numbers
    0 - All Keys off
    1 - Caps Lock on
    2 - Num Lock on
    4 - Scroll Lock on
    For multiple keys, add their values:
    3 - Caps Lock and Num Lock on
    5 - Caps Lock and Scroll Lock on
    6 - Num Lock and Scroll Lock on
    7 - Caps Lock, Num Lock, and Scroll Lock on
  5. Log off and back on again

Common Control Panel Applets


The follow are some common Control Panel Applets that are located in the \windows\system32 directory.
If you find yourself using any of these frequently, then you can simply make shortcuts to them on your desktop.
appwiz.cpl
 Add/Remove Programs
desk.cpl
 Display Properties
firewall.cpl
 Firewall Settings
inetcpl.cpl
 Internet Options
mmsys.cpl
 Sound and Audio
ncpa.cpl
 Network Connections
nusrmgr.cpl
 User Accounts
powercfg.cpl
 Power Options
sysdm.cpl
 System Properties
wscui.cpl
 Security Center
wuaucpl.cpl
 Automatic Updates Configuration

Viewing Installed Drivers


If you want to see a list of installed drivers, you can run the driverquery program
There are a lot of available switches to view different types of information.
On use can be to export to a CSV file for viewing in Excel
An example would then be:
Driverquery  /v  /fo  csv  > drivers.csv

Hiding Manage My Computer


If you want to remove Manage My Computer from My Computer
  1. Start Regedit
  2. Go to HKEY_CURRENT_USER / Software / Microsoft / Windows / CurrentVersion / Policies / Explorer
  3. Create a DWORD value called NoManageMyComputerVerb
  4. Set the value to 1
  5. Reboot

Taking Ownership Of a Folder


Sometimes when you reinstall WindowsXP, you can receive an Access Denied error when trying to open a previous user's directory.
To take ownership of that folder again:
  1. Log on with an account that has administrator rights
  2. Right click on the folder

Adding Meta Tags to Your Documents


You can add metadata to your web pages by placing <meta> tags between the <head> and </head> tags. The can include the following attributes:
Attribute
Description
Name
Name for the property. Can be anything. Examples include, keywords, description, author, revised, generator etc.
content
Specifies the property's value.
scheme
Specifies a scheme to use to interpret the property's value (as declared in the content attribute).
http-equiv
Used for http response message headers. For example http-equiv can be used to refresh the page or to set a cookie. Values include content-type, expires, refresh and set-cookie.