Login
     
 
     
Articles:
List of all articles
List by categories
Search in articles
>> admin_tools
>> c
>> cli
>> database
>> debian
>> games
>> gnu
>> hardware
>> internet
>> linux
>> microsoft
>> network
>> os
>> php
>> programming
>> python
>> security
>> server
>> shell
>> text_editor
>> tools
>> web_dev
Links:
List all links
List by categories
Search in links
Online Tools:
>> gnuvd
Other Things:
Login
Admin
Pages
Blog
News
Guestbook
Contact
Sponsors:
None Yet!
Sponsor this project
[ Source ]

Microsoft Windows registry tricks

Created: 2008-04-06 11:39:00
Modified: 2008-10-11 16:15:00
Categories: microsoft
Keywords: Microsoft Windows registry regedit tricks
Description:

This article talk about the Microsoft Windows registry and give some tips and tricks.

Introduction

In this article, we abbreviate the root classes, here's the full name vs the abbreviation:

HKEY_LOCAL_MACHINE: HKLM
HKEY_USERS: HKU
HKEY_CLASSES_ROOT: HKCR
HKEY_CURRENT_CONFIG: HKCC
HKEY_CURRENT_USER: HKCU

The registry is saved into different files on the filesystem, these files are called hives and are located at %SystemRoot%\system32\config.

default - which corresponds to HKU\.DEFAULT subkey.
SAM - which corresponds to HKLM\SAM subkey.
SECURITY - which corresponds to HKLM\SECURITY subkey.
software - which corresponds to HKLM\SOFTWARE subkey.
system - which corresponds to HKLM\SYSTEM subkey.

The rest of hive files are stored per user in each profile directory with the name of Ntuser.dat. This file is to set the pointer for the HKCU.

In the registry, each value has a name, a data type and a value associated. 1024KB is the theoretical the limit a value can have.

The different data types are:

REG_BINARY
REG_WORD
REG_DWORD
REG_SZ
REG_EXPAND_SZ
REG_FULL_RESOURCE_DESCRIPTOR

Backing up the registry

To backup the whole registry:

regedit /e c:\full_registry_export.reg

To backup a specific root key:

reg save hkcu c:\hkcu_export.reg

Startup

Applies for: 2000, XP, 2003

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Last good know configuration

HKLM\SYSTEM\CurrentControlSet

Enable numlock on boot

In the registry, go to HKEY_USERS\.Default\Control Panel\Keyboard and set InitialKeyboardIndicators value from 0 to 2.

See KB154529 for more info.

Tools

regedit
reg (cli tool)

Comments leaved by users (total: 0)

No comments yet!

Add a comment

obfuscated letters
 
  • Do you know that you may use some special markup syntax to create header, italic, bold, styling and links and much more. See the sandbox for the markup language.
  • Do you need some other help?

[ Toggle on/off history ]

Item History:

No previous version!

Login:
User Name
Password

Last Articles
python stuff concerning python
2009-07-22 12:00:00
vim
2009-06-06 23:53:00
fluxbox
2009-05-23 12:42:00
setting up a toshiba satellite a110-178
2009-05-21 15:35:00
create a secure virtual private network with openvpn
2009-04-25 13:34:00
>>> Read more...

Last News
Released pyguicms 1.0.0-beta1
2008-06-02 21:20:00
guicms replaced by pyguicms
2008-04-27 17:39:00
pyguicms up and running and online
2007-11-29 22:31:00
>>> Read more...

Last Links
mxtoolbox
2009-09-25 17:54:00
minibikeshop
2009-09-05 12:43:00
magicbike
2009-09-05 12:40:00
systranet
2009-07-22 11:42:00
transfer big files
2009-07-22 11:42:00
>>> Read more...

Last Pages
sandbox
2008-09-07 22:30:00
about
2008-09-07 22:29:00
help
2008-09-07 22:25:00
welcome page
2008-09-07 18:27:00
python stuff to check
2007-12-03 00:16:00
>>> Read more...