You are on page 1of 29

V Quang Hiu

Tm hiu v Windows Registry - Phn I [5/19/2004 5:09:00 PM]


1. Gii thiu v Registry:
Registry l mt c s d liu dng lu tr thng s k thut ca Windows. N ghi nhn tt
c cc thng tin khi bn thay i, chnh sa trong Menu Settings, Control Panel....
2. Registry u:
Trong Win95 & 98, Registry c ghi trong 2 file: user.dat v system.dat trong th mc
Windows. Trong Windows Me, Registry c lu trong file Classes.dat trong th mc
Windows. Trong Win2K Registry c lu trong th mc ``Windows\System32\Config``.
3 Registry c th chnh sa c khng?
Registry c th chnh sa trc tip, lm thay i cc thng s thng qua trnh chnh sa
Registry Editor. Chy Registry Editor bng cch g regedit vo ca s Run.
4 Cu trc ca Registry:
Registry c cu trc cy, ging cu trc th mc. Thng thng c su nhnh chnh. Mi
nhnh c giao him v lu gi nhng thng tin ring bit. Trong cc nhnh chnh c rt
nhiu nhnh con. Nhng nhnh con ny cng c lu gi nhng thng tin ring bit.
HKEY_CLASSES_ROOT: Lu nhng thng tin dng chung cho ton b h thng.
HKEY_CURRENT_USER: Lu nhng thng tin cho ngi dng ang Logon
HKEY_LOCAL_MACHINE: Lu nhng thng tin v h thng, phn cng, phn mm.
HKEY_USERS: Lu nhng thng tin ca tt c cc User, mi user l mt nhnh vi tn l s
ID ca user
HKEY_CURRENT_CONFIG: Lu thng tin v phn cng hin ti ang dng.
HKEY_DYN_DATA: y cng l mt phn ca nhnh HKEY_LOCAL_MACHINE
5. Cc kiu d liu dng trong Registry:
-REG_BINARY: Kiu nh phn
-REG_DWORD: Kiu Double Word
-REG_EXPAND_SZ: Kiu chui m rng c bit. VD: ``%SystemRoot%``
-REG_MULTI_SZ: Kiu chui c bit
-REG_SZ: Kiu chui chun
6. Ti sao cn phi bit v Registry?
- Registry lu tt c cc thng tin v phn cng, phn mm, nhng la chn ca ngi
dng....kim sot c ni dung ca Registry l yu cu tt yu bn s dng PC mt cch
khoa hc, hiu su hn v mi trng lm vc ca Windows.
- Mun tin xa hn trong k thut lp trnh trn nn Windows, cch bo mt, cracking,
hacking bn cn phi c hiu bit nht nh v Registry.
- Hu ht cc th thut trong Windows m cc tp ch tin hc tn tui ca Vit Nam v s
ng c lin quan mt thit n Windows Registry.

V Quang Hiu
7. Cnh bo!
Khi s dng Registry Editor bn phi tin hnh sao lu Registry. Mi thay i c th lm
my ca bn khng khi ng, treo my, ..... . Sao lu bng cch chy Registry Editor : File Export ...... v lu vo ch an ton.
Nu cha c kin thc v Windows Registry xin bn c mt cht cc dng hng dn bn
di.
- Dng sau cc t: User Key, Sytem Key, hoc Key cho bit ng dn n nhnh cn sa
cha hoc to mi nu n khng tn ti.
Lu : User Key: l thay i c tc dng vi ngi ang Logon. System Key: l
thay i c tc dng vi tt c ngi dng.
-Dng Name l tn ca kho cn to, n l nhnh con bn ca s bn phi ca Registry
-Dng Type l kiu d liu ca kho mi to
-Dng : Value l gi tr ca kho
ACTIVE DESKTOP
Cho php ch Desktop hot ng hay khng:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
Name: ForceActiveDesktopOn
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enabled)
Mt s ngn cn khi cho php ch Desktop hot ng.
NoChangingWallpaper - Khng cho php thay i hnh Wallpaper.
NoComponents - Khng cho php hin th cc thnh phn.
NoAddingComponents - Khng cho php thm cc thnh phn mi.
NoDeletingComponents - Khng cho php xo cc thnh phn.
NoEditingComponents - Khng cho php sa cc thnh phn.
NoCloseDragDropBands - Khng cho php chc nng dng chut ko th trn Desktop.
NoMovingBands - Khng cho php chc nng ko th cc Taskbar i ni khc trn Desktop.
NoHTMLWallPaper - Ch cho php hnh dng bitmaps (BMP).
User Key:HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ ActiveDesktop.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ ActiveDesktop.
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
n chc nng Active Desktop t Menu Settings trn Start Menu.

V Quang Hiu
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
Name: NoSetActiveDesktop
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
Khng cho thay i ch Active Destop.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
Name: NoActiveDesktopChanges
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
CONTROL PANEL
Khng cho php thay i kiu dng ca cc Controls.
Phn ny s hn ch mt phn hoc tt c cc chc nng trong mc (Tab) Appearance trong
Display. Gn gi tr 0: hin, 1 n vi cc tn kho a ra pha bn di.
NoVisualStyleChoice - khng cho php thay i kiu dng ca cc ca s v t nhn.
NoColorChoice - Khng cho php thay i s mu.
NoSizeChoice - Khng cho php thay i c ch.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
Name: NoColorChoice, NoSizeChoice, NoVisualStyleChoice, SetVisualStyle.
Tt ch Themes Settings trong Display trong Control Panel:
Themes Settings thay i kiu dng ca cc ca s cc nt nhn. Nu khng thch si th
ct chng i bng cch to mt kho mi vi tn `NoThemesTab` v gn gi tr cho n l 1.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
Name: NoThemesTab
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
Tt ch thay i Keyboard Navigation Settings trong Control Panel:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.

V Quang Hiu
Name: NoChangeKeyboardNavigationIndicators
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
Ngn cn tnh nng trnh din hot hnh Animation Settings.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
Name: NoChangeAnimation
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
iu khin ch hot hnh :
User Key: HKEY_CURRENT_USER\ Control Panel\ Desktop\ WindowMetrics
Name: MinAnimate
Type: REG_SZ (String Value)
Value: (0=disable, 1=enable)
Tt Settings ca Display trong Control Panel:
iu ny cng c ngha l bn khng th thay i c phn gin ca mn hnh mc
Settings khng c php hot ng.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
Name: NoDispSettingsPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt mc ScreenSaver ca Display trong Control Panel:
Khi tt mc ScreenSaver khng c ngha l tt ch ScreenSaver t chy, m l n khng
cho thay i, chnh sa ScreenSaver. V vy trc khi tt n i bn phi cn nhc.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
Name: NoDispScrSavPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt mc thay i hnh nn ca Display trong Control Panel:
Khng cho thay i hnh nn, mu nn ca Desktop.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\

V Quang Hiu
Policies\ System.
Name: NoDispBackgroundPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt mc Appearance ca Display trong Control Panel.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
Name: NoDispAppearancePage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

Tm hiu v Windows Registry - Phn II [5/29/2004 11:08:00 AM]


Disk Drivers
Thay i thng s cnh bo s % khng gian a cng cn trng (Windows XP).
Gi tr mc nh l 10%.Key: HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\
Services\ LanmanServer\ Parameters
Name: DiskSpaceThreshold.
Type: REG_DWORD (DWORD Value)
Value: 0 - 99 percent (Default is 10)
iu khin thng s hn ch khng gian cho Master File Table.
Gi tr mc nh l 1.Key: HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\
Control\ FileSystem
Name: NtfsMftZoneReservation
Type: REG_DWORD (DWORD Value)
Value: 1 (default) - 4 (maximum)
Tt ch ghi a CD trc tip t Window Explorer (Windows Xp)
Trong Windows XP cho php bn ghi mt a CD d dng bng cch ko nhng tp tin hoc
th mc ri th vo biu tng a CDR. Bn c th tt ch ny i.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer
Name: NoCDBurning
Type: REG_DWORD (DWORD Value)
Value: (0 = Allow CDR, 1 = Disable CDR)
Thay i tn v biu tng ca a.
Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Explorer\ DriveIcons

V Quang Hiu
Name: Default
Type: REG_SZ (String Value)
Ch nh chng trnh chi a CD Audio.
Mc nh khi bn a a Cd Audio vo a th CD Player ca Microsoft s m a ln.
Nhng nu c chng trnh khc hay hi bn c th ch nh cho chng trnh thay th.
Key: HKEY_CLASSES_ROOT\ AudioCD\ Shell\ Play\ Command
Name: (Default)
Type: REG_SZ (String Value)
Value: Command-line to Execute - nhp vo ng dn ca chng trnh chi a bn mun.
in khin ch t ng m a CD khi a a vo .
Key: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ CDRom.
Name: Autorun
Type: REG_DWORD (DWORD Value)
Value: (0=disable, 1=enable)
EXPLORER
n mc Distributed File System trong Windows Explorer
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
Name: NoDFSTab
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
n mc Security
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Explorer.
Name: NoSecurityTab
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
n mc Hardware User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\
CurrentVersion\ Policies\ Explorer.
Name: NoHardwareTab
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)
Tt Menu New.
Tm n kho sau v thm cho n du `-` sau du `{` :
System Key: HKEY_CLASSES_ROOT\ CLSID\ {D969A300-E7FF-11d0-A93B00A0C90F2719}
INTERNET EXPLORER
n mt s nt trn thanh ToolBar ca Internet Explorer.

V Quang Hiu
Cn to mt kho vi tn l `SpecifyDefaultButtons` v gn gi tr cho n l 1 thc hin
c n mt s nt trong danh sch lit k bn di, bc k tip mun n mt nt bt k
trong danh sch bn di th bn cn to mt kho mi vi tn nt v gn cho n gi tr l
2.
- Btn_Back
- Btn_Forward
- Btn_Stop
- Btn_Refresh
- Btn_Home
- Btn_Search
- Btn_Favorites
- Btn_Folders
- Btn_Media
- Btn_History
- Btn_Fullscreen
- Btn_Tools
- Btn_MailNews
- Btn_Size
- Btn_Print
- Btn_Edit
- Btn_Discussions
- Btn_Cut
- Btn_Copy
- Btn_Paste
- Btn_Encoding
- Btn_PrintPreview
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\

V Quang Hiu
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: SpecifyDefaultButtons
Type: REG_DWORD (DWORD Value).
Khng cho php thay i (Customize) trn Toolbar ca Internet Explorer.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoToolbarCustomize
Type: REG_DWORD (DWORD Value)
Value: (1 = enable restriction)
Khng cho hin nt Option trong Menu Tool ca Internet Explorer:User Key:
HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoBandCustomize
Type: REG_DWORD (DWORD Value)
Value: (1 = enable restriction)
Khng cho hin mt s nt trn Menu Help:
NoHelpMenu - Disable the entire help menu
NoHelpItemNetscapeHelp - Remove the ``For Netscape Users`` menu item
NoHelpItemSendFeedback - Remove the ``Send Feedback`` menu item
NoHelpItemTipOfTheDay - Remove the ``Tip of the Day`` menu item
NoHelpItemTutorial - Remove the ``Tour`` (Tutorial) menu item
User Key: HKEY_CURRENT_USER\ Software\ Policies\ Microsoft\ Internet Explorer\
Restrictions
System Key: HKEY_LOCAL_MACHINE\ Software\ Policies\ Microsoft\ Internet Explorer\
Restrictions
Type: REG_DWORD (DWORD Value)
Value: (0 = restriction disabled, 1 = restriction enabled)
Khng cho php ti file t Internet v:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Internet Settings\ Zones\ 3
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Internet Settings\ Zones\ 3

V Quang Hiu
Name: 1803
Type: REG_DWORD (DWORD Value)
Value: (0 = downloads enabled, 3 = downloads disabled)
Khng cho php truy file t mt ng dn Internet.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoFileUrl
Type: REG_DWORD (DWORD Value)
Value: (0 = Enable File URLs, 1 = Disable)
n mt s nt trong Internet Explorer:
NoBrowserClose - Disable the option of closing Internet Explorer.
NoBrowserContextMenu - Disable right-click context menu.
NoBrowserOptions - Disable the Tools / Internet Options menu.
NoBrowserSaveAs - Disable the ability to Save As.
NoFavorites - Disable the Favorites.
NoFileNew - Disable the File / New command.
NoFileOpen - Disable the File / Open command.
NoFindFiles - Disable the Find Files command.
NoSelectDownloadDir - Disable the option of selecting a download directory.
NoTheaterMode - Disable the Full Screen view option.
NoAddressBar - Disable the address bar.
NoToolBar - Disable the tool bar.
NoToolbarOptions - Disable the ability to change toolbar selection.
NoLinksBar - Disable the links bar.
NoViewSource - Disable the ability to view the page source HTML.
NoNavButtons - Disables the Forward and Back navigation buttons
NoPrinting - Remove Print and Print Preview from the File menu.
NoBrowserBars - Disable changes to browsers bars.
AlwaysPromptWhenDownload - Always prompt user when downloading files.
User Key: HKEY_CURRENT_USER\ Software\ Policies\ Microsoft\ Internet Explorer\
Restrictions
System Key: HKEY_LOCAL_MACHINE\ Software\ Policies\ Microsoft\ Internet Explorer\
Restrictions
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
Du mt s tnh nng trong Internet Options trong Control Panel
Advanced - Prevent changes to advanced settings
Autoconfig - Prevent changes to Automatic Configuration
Cache - Prevent changes to temporary file settings
CalendarContact - Prevent changes to calender and contacts

V Quang Hiu
Certificates - Prevent changes to security certificates
Check_If_Default - Prevent changes to default browser check
Colors - Prevent Color changes
Connection Settings - Prevent changes to connection settings
Connection Wizard - Disable the Connection Wizard
Fonts - Disable font changes
History - Disable changes to History settings
HomePage - Disable changes to Home Page settings
Languages - Disable Language changes
Links - Disable Links changes
Messaging - Disable Messaging changes
Profiles - Disable changes to Profiles
Proxy - Disable changes to Proxy settings
Ratings - Disable Ratings changes
Wallet - Disable changes to Wallet settings
User Key: HKEY_CURRENT_USER\ Software\ Policies\ Microsoft\ Internet Explorer\
Control Panel
System Key: HKEY_LOCAL_MACHINE\ Software\ Policies\ Microsoft\ Internet Explorer\
Control Panel
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
Du mt s tnh nng trong Internet Options trong Control Panel
Accessibility - disables all options under Accessibility
GeneralTab - removes General tab
SecurityTab - removes Security tab
ContentTab - removes Content tab
ConnectionsTab - removes Connections tab
ProgramsTab - removes Programs tab
PrivacyTab - removes Privacy tab
AdvancedTab - removes Advanced tab
CertifPers - prevents changing Personal Certificate options
CertifSite - prevents changing Site Certificate options
CertifSPub - prevents changing Publisher Certificate options
SecChangeSettings - prevents changing Security Levels for the Internet Zone
SecAddSites - prevents adding Sites to any zone
Privacy Settings - prevents changs to privacy settings
FormSuggest - disables AutoComplete for forms
FormSuggest Passwords - prevents Prompt me to save password from being displayed
Connwiz Admin Lock - disables the Internet Connection Wizard
Settings - prevents any changes to Temporary Internet Files
ResetWebSettings - disables the Reset web Setting button
User Key: HKEY_CURRENT_USER\ Software\ Policies\ Microsoft\ Internet Explorer\
Control Panel
System Key: HKEY_LOCAL_MACHINE\ Software\ Policies\ Microsoft\ Internet Explorer\
Control Panel
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)

V Quang Hiu
Xo nhng a ch web bn vo. Vo Registry tm n kho bn di, xo cc nhnh
con bn ca s bn phi, tr Default
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ TypedURLs
Khng cho ci chng trnh t mt website no . Bn to mt kho mi vi ng dn
bn di. HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Internet Settings\ ZoneMap\ Domains\ restricted.com
Under the sub-key create a new DWORD value called ``*`` and set it to equal ``4``
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\
Internet Settings\ ZoneMap\ Domains
Name: *
Type: REG_DWORD (DWORD Value)
Value: (4 = restricted)
iu khin ch thng bo li.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Internet Explorer\ Main
Name: IEWatsonDisabled, IEWatsonEnabled
Type: REG_DWORD (DWORD Value)
Logon & Authentication
Khng cho Screensaver chy trong khi Logon:
Khi cha Logon vo h thng, nu my trng thi `khng chu a cha vo m
kho ca` qu lu th Screensaver s chy. Ta c th tt chng.
User Key: HKEY_USERS\ .DEFAULT\ Control Panel\ Desktop
Name: ScreenSaveActive
Type: REG_SZ (String Value)
Value: (0 = disabled, 1 = enabled)
Hin th nt Shutdown trn hp thoi Dialog:
Rt cn nhng k t m m my bn ln m khng vo c s nhn nt Shutdown ngay
trc mt thay v rt ngun nguy hi n my.
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: ShutdownWithoutLogon
Type: REG_SZ (String Value)
Value: (0 = disabled, 1 = enabled)
Cho php t ng Logon:
Cho php ngi dng s dng ch t ng ng nhp vo h thng sau khi khi ng.

V Quang Hiu
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: ForceAutoLogon
Type: REG_SZ (String Value)
Value: (0 = disabled, 1 = enabled)
Tt ch lu mt khu:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Network
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Network
Name: DisablePwdCaching
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1= enabled)
Bt buc mt khu l cc ch a-z v s. Khng cho php cc k t khc:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Network
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ Network.
Name: AlphanumPwds
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1= enabled)
n nt Change Password.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System.
Name: DisableChangePassword
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt ch kho nt WorkStation:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ System
System Key:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
System
Name: DisableLockWorkstation
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt ch nhn v gi phm Shift khng cho chy mt s chng trnh t ng khi
logon:
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows NT\

V Quang Hiu
CurrentVersion\ Winlogon
Name: IgnoreShiftOverride
Type: REG_SZ (String Value)
Value: (1 = Ignore Shift)
Yu cu ngi dng phi nhn t hp phm Ctrl + Alt + Del trc khi ng nhp vo
h thng:
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon.
Name: DisableCAD
Type: REG_DWORD (DWORD Value)
Value: (0 = Require Ctrl+Alt+Delete, 1 = Disable)
Thay i dng thng bo trn hp thoi Logon v hp thoi Security:
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: Welcome
Type: REG_SZ (String Value)
Value: Text to display - ni dung mun hin th
Khng cho php hin tn ngi dng cui cng:
User Key: HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Policies\ System
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\ Policies\ System
Name: DontDisplayLastUserName
Type: REG_DWORD (DWORD Value)
Value: (1 = remove username)
Hn ch s ngi dng t ng p nhp vo h thng:
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: AutoLogonCount
Type: REG_DWORD (DWORD Value)
Value: Number of Automatic Logins
Ch nh s ngi ng nhp vo h thng c lu vt:
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon Name: CachedLogonsCount
Type: REG_SZ (String Value)
Value: 0 - 50 (0 = disabled, 10 = default)
Cho php bung hp thoi i nhp Password khi UnLock my v thot khi Screen
Saver:

V Quang Hiu
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: ForceUnlockLogon
Type: REG_DWORD (DWORD Value)
Value: 0 = default authentication, 1 = online authentication
Hin th hp thng bo trc khi Logon:
Windows 95, 98 and Me:HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\ Winlogon
Windows NT, 2000 and XP:HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\
Windows NT\ CurrentVersion\ Winlogon
Name: LegalNoticeCaption, LegalNoticeText
Type: REG_SZ (String Value)
- LegalNoticeCation: Thanh tiu .
- LegalNoticeText: Ni dung ca thng bo.
Hin th dng thng bo trong ca s ng nhp:
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon
Name: LogonPrompt - ni dung thng bo, li cho,.....
Type: REG_SZ (String Value)
Cho php khng xy dng Protables trc khi ng nhp vo h thng:
User Key: HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Policies\
System
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\ Policies\ System
Name: UndockWithoutLogon
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
T ng Logon vo h thng:
To mt dng mi `DefaultUserName` v set username m bn mun t ng Logon
To mt dng mi `DefaultPassword` v set password ca username nhp vo trn
To mt dng mi `DefaultDomainName` v set domain cho user. Ignore this value if the NT
box is not participating in NT Domain security.
To mt dng mi `DefaultDomainName` v set domain cho user. Ignore this value if the NT
box is not participating in NT Domain security.
To mt dng mi c gi tr l `AutoAdminLogon` and set `1` to enable auto logon or `0` to
disable it.

V Quang Hiu
For Windows 2000 the additional ForceAutoLogon setting must be enabled to stop the tweak
from resetting on reboot.
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\
CurrentVersion\ Winlogon Name: AutoAdminLogon
Type: REG_SZ (String Value)
Value: (0=disable, 1=enable)
Ch nh chiu di ti thiu ca mt khu:
User Key: HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Policies\
Network
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\ Policies\
Network
Name: MinPwdLen
Type: REG_BINARY (Binary Value)
MAIN BOARD - CPU
Hin th thng tin v BIOS:
Key: HKEY_LOCAL_MACHINE\ HARDWARE\ DESCRIPTION\ System
Name: SystemBiosDate, SystemBiosVersion, VideoBiosDate
Type: REG_SZ (String Value)
Hin th thng tin v CPU:
Key: HKEY_LOCAL_MACHINE\ HARDWARE\ DESCRIPTION\ System\
CentralProcessor\ 0
Name: ~MHz, Identifier, VendorIdentifier

Security
n biu tng My Computer trn Start Menu v Desktop:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
NonEnum
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\ NonEnum
Name: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Type: REG_DWORD (DWORD Value)
Value: (0 = show, 1 = hide)
n cc a trong My Computers:
Chng ta c th n cc a t A n Z, k c cc mng. 0 l hin tt c. 1 l n.Bn mun

V Quang Hiu
n no th cng cc s thp phn ny li. V d mun n A v C th cho gi tr ca kho
NoDrives l 5 = 4( C) + 1( A).
A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096,
N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V:
2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoDrives
Type: REG_DWORD (DWORD Value)
Tt ca s Task Manager:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
System
Name: DisableTaskMgr
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = disable Task Manager)
Hn ch mt s thay i cc th mc ring ca ngi dng:
DisablePersonalDirChange - Hn ch thay i th mc My Documents.
DisableMyPicturesDirChange - Hn ch thay i th mc My Pictures.
DisableMyMusicDirChange - Hn ch thay i th mc My Music
DisableFavoritesDirChange - Hn ch thay i th mc Favorites
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer.
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer.
Name: DisablePersonalDirChange, DisableMyPicturesDirChange,
DisableMyMusicDirChange, DisableFavoritesDirChange.
Type: REG_DWORD (DWORD Value)
Value: (0 = allow changes, 1 = restrict changes)
Tt ch theo di ngi dng:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\

V Quang Hiu
Policies\
Explorer
Name: NoInstrumentation
Type: REG_DWORD (DWORD Value)
Value: (1 = enable restriction)
Khng cho php dng cng c Registry Editor chnh sa Registry:
User Key: HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\
Policies\
System
System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\
CurrentVersion\ Policies\
System
Name: DisableRegistryTools
Type: REG_DWORD (DWORD Value)
Value: (0 = allow regedit, 1 = disable regedit)
Tt lnh Shut Down:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoClose
Type: REG_DWORD (DWORD Value)
Value: (0 = shutdown enabled, 1 = shutdown disabled)
Ngn cn truy cp thnh phn cp nht Windows.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoWindowsUpdate
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = disabled)
Khng cho php dng phm Windows:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: NoWinKeys

V Quang Hiu
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)
Xo Page File khi tt my:
System Key: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Session
Manager\
Memory Management
Name: ClearPageFileAtShutdown
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)
Tt cc lnh Run ch nh trong Registry:
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: DisableLocalMachineRun, DisableLocalMachineRunOnce, DisableCurrentUserRun,
DisableCurrentUserRunOnce
Type: REG_DWORD (DWORD Value)
Value: (0 = enable run, 1 = disable run)
Hn ch mt s ng dng m cc ngi dng c th chy:
To cc kho mi tn l 1, 2, 3, ...... vi kiu REG_SZ v nhp ng dn vo cho gi tr cc
kho ch nh cc chng trnh khng cho php ngi dng chy.
User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\
Policies\
Explorer
Name: DisallowRun

Kin thc Windows Registry - Phn III [4/18/2005 8:23:00 AM]


Bn ngh bn am tng tt c v Windows? Hy cng tham kho mt th gii th
hai ca Windows qua nhng th thut nh m bn s c lc cn dng n.
Phc hi biu tng Show Desktop trn thanh Quick Launch
Khi m nhiu ca s m bn li mun thot ra nhanh bng cch nhn vo biu tng Show
Desktop thanh Quick Launch, nhng bn li v tnh xo n i trc kia. y l cch thc
khi phc li biu tng Show Desktop nhanh chng nht.

V Quang Hiu
Bn vo Start Run , g: regsvr32 /n /i:U shell32 vo hp thoi Open v nhn OK.
Windows s t ng khi phc cho bn biu tng Show Desktop trn thanh Quick Launch.
Xa thng tin v Windows XP Service Pack 1 trn Desktop
i vi nhng bn s dng Windows XP SP1 cc phin bn u chc hn s rt kh chu vi
dng ch Windows XP Service pack 1 Build ., ta c th g b dng ch trn bng cch
tinh chnh vo Registry.
Cng vic trc tin l bn cn sao lu li ton b registry, sau vo Registry Editor bng
cch nhn Start Run g regedit Enter. Hp thoi Registry Editor xut hin. Tm n 2
key sau y v xo i:
- HKLM\SOFTWARE\Microsoft\SystemCertificates\CA\Certificates\
FEE449EE0E3965A5246F000E87FDE2A065FD89D4
- HKLM\SOFTWARE\Microsoft\SystemCertificates\ROOT\Certificates\
2BD63D28D7BCD0E251195AEB519243C13142EBC3
Microsoft Search khng tm tt c cc files
Khi dng chc nng tm kim files trong Windows, Windows khng tm kim cc files khng
c ng k. khc phc tnh trng ny, ta c th tinh chnh trong h thng Registry nh
sau:
M Registry Editor, tm n key
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\] v thay
i nh sau:
Value Name: FilterFilesWithUnknownExtensions
Data Type: REG_DWORD
Value: Thay i thnh 1 c th tm kim tt c cc files.
Kho chc nng thng bo ca Security Center trong Windows XP SP2
Sau khi ci t Windows XP Service Pack 2 Final, bn s thy Microsoft c b sung thm
Security Center thng bo cho ngi dng v ch bo mt ca h thng nh AntiVirus,
Firewall nhng i khi li gy rt kh chu khi s dng. tt chc nng thng bo ca
Security Center, ta lm nh sau:
- Sao lu Registry trc khi thc hin.
- M Registry Editor bng cch vo Start Run g regedit Enter.
- Tm n key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
Thay i thnh 00000001 cho 3 gi tr:
AntiVirusDisableNotify; FirewallDisableNotify; UpdatesDisableNotify. ng Registry
Editor li v th nghim.

V Quang Hiu
To tin nhn ca chnh bn khi khi ng
Bn c th to cho chnh mnh mt tin nhn hay li cho mi khi khi ng, n s hin th
trc mn hnh cho mng ca Windows, nu my tnh ca bn l mt PC hay mt client
trong mt mng peer-to-peer.
Key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\]
Value Name: LegalNoticeCaption
Data Type: REG_SZ
Value: G dng tin nhn ca bn ti y. V d: Happy to use TP143s babe !

Kin thc Windows Registry - Phn IV [4/18/2005 8:28:00 AM]


Nhng th thut nh s dng Windows thun tin hn. Bn nh sao lu h thng
trc khi thc hin nhng thay i trong Registry.
Cch Reinstall Internet Explorer nhanh
Ch qua vi thao tc n gin: Cho CD WinXP vo CD Rom. Click vo nt Start , chn
Run (hay nhn phm tt Windows + R). Hp thoi Run xut hin, ta g:
- Rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 c:\windows\inf\ie.inf. Click
Enter l xong.
Cch g b Windows Messenger nhanh chng
i vi ngi dng h iu hnh Windows XP, c th gp s phin phc kh chu vi
Windows Messenger c km sn trong phin bn XP m rt kh g b. Mi khi Windows
XP khi ng l ta li bt gp Windows Messenger trong Tray Bar (pha di bn tri) yu
cu nhp Username v Password. C rt nhiu cch g b Windows Messenger ra khi
Windows. Sau y l cch thc g b nhanh nht ch vi vi bc.
V Windows XP c phin bn mi nh km Service Pack 1, nn ta chia lm 2 trng hp:
+ Cch g b nhanh: Click vo nt Start , chn Run (hay nhn phm tt Windows + R). Hp
thoi Run xut hin, ta g:
runDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove.
Nhn Enter. Khi ng li my v bn s thy s phin toi bin mt.
+ G b trong Add/remove Programs: Vo Control Panel. Chn Add/Remove
Programs. Click ln "Add/Remove Windows Components" bn tri. B chn "Windows
Messenger". Chn Next. Chn Finish. Khi ng li my.
Thay i text trn Internet Explorer 6

V Quang Hiu
Bn mun thay i dng ch nhm chn trn Internet Explorer 6 (Microsoft Internet
Explorer) bng TP143 Internet Explorer - VSC 2005 chng hn , th ch cn vi bc sau vi
Group Policy trong Windows:
Click vo nt Start , chn Run (hay nhn phm tt Windows + R). Hp thoi Run xut hin, ta
g: gpedit.msc. Chn User Configuration > Windows Setting > Internet Explorer
Maintenance > Browser User Interface. Double Click ln Browser Title. Chn vo Customize
Title Bars v sau in vo dng ch m bn mun Internet Explorer hin th trn thanh
Title Bar. Nhn OK v thot ra. Bn th m li Internet Explorer xem kt qu.
Xa sch Page File khi Shutdown
Khi lm vic trn PC, nh s dng Microsoft Word, cc vn bn hay cc trang web c m
ra ng ngha vi vic nhng trang , vn bn c np vo RAM, nhng tit kim
RAM, Windows cho nhiu loi files khc nhau vo trong Pagefile (c chc nng ging b
nh o dng lu tr). Microsoft cng cho mc nh ch xo Pagefile khi shutdown l OFF,
nn ta c th thay i li ch ny theo cch sau:
Vo Registry Editor, bng cch nhn Start - Run, g regedit ri Enter.
Chn n:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management.
Chn ClearPageFileAtShutdown trn danh sch bn phi. Phi chut , ta chn Modify
chnh sa . Thay i gi tr l 1 kch hot chc nng xa PageFile khi shutdown. Thot ra
v khi ng li my tnh.
Ch : Chc nng ny s lm tng thi gian shutdown my ca bn, nhng s em li li ch
cho vic dn dp Windows System ca bn.
Cch chuyn t FAT32 sang NTFS
i vi phin bn Windows NT tr ln, Microsoft cung cp thm nh dng NTFS vi nhiu
c ch bo mt v li ch hn. Nn khi mun thay i t bng FAT32 sang NTFS, ta ch cn
thao tc nh sau:
Vo Start - Run, g cmd. Hp thoi Windows Command s xut hin vi du nhc C:\. Ty
theo ta mun thay i (convert) cho a no trn HDD m y, v d l C th ta s g:
CONVERT C: /FS:NTFS.
Tuy nhin, cch tt nht l dng 1 chng trnh t nh sn xut th 3 lm vic ny, n c
mt chng trnh kh tt v c s dng rng ri l Partition Magic. Partition Magic s gip
bn lm nhiu vic hn vi giao din thn thin, d s dng.

Kin thc Windows Registry - Phn V [4/18/2005 8:30:00 AM]


Nhng th thut nh s dng Windows thun tin hn. Bn nh sao lu h thng
trc khi thc hin nhng thay i trong Registry.
Khi ng nhanh chc nng System Restore

V Quang Hiu
Bn c th thc hin nhanh vic khi ng chc nng System Restore ca Windows trong
ca s Commander theo cc bc sau. Ch : Bn phi ng nhp vi ti khon ngi qun
tr (Administrator).
- M Start Run g cmd Enter. Ca s Windows Commander xut hin. Bn g
%systemroot%\system32\restore\rstrui.exe. Nhn Enter. Hp thoi ca System Restore s
khi ng.
Shutdown nhanh trong Windows vi Shortcut
Trong Windows 95/98/ME v Windows XP, bn phi chut trn Desktop, chn New
Shorcut. Ca s mi xut hin yu cu bn g vo ng dn. Nu bn ang s dng
Windows 95/98/ME, ta g: c:\windows\rundll.exe user.exe,exitwindows ( y, C: l a
ci t Windows).
Nu s dng Windows XP, g: SHUTDOWN -s - t 01. Nhn Next v Finish. By gi, mi
khi mun shutdown my, bn ch cn nhn p ln shortcut va to trn Desktop.
Kha chc nng lu tr hot ng trn Windows XP
y l mt th thut nh cho php bn vt qua vic ghi li nhng hot ng trn Windows,
hay do cc phn mm bo mt nh AntiVirus, tng la ) i vi cc ti khon gii hn
hay guest.
ng nhp vi ti khon b gii hn hay Guest trong Windows XP, vo th mc:
C:\WINDOWS\system32\config. Bn ch cn c li thuc tnh cho cc tp tin sau thnh
Readonly (hoc nu c cho php th bn thm thuc tnh attrib):
- AppEvent.Evt
- SecEvent.Evt
- SysEvent.Evt
Hoc nu bn mun cc trnh bo mt cng khng lu tr li cc hot ng trn my ca bn
nh Norton AntiVirus th vo %programfilesdir%\norton antivirus\activity.log v c thuc
tnh Readonly v Attrib.

Kin thc Windows Registry - Phn VI [4/28/2005 1:15:00 PM]


Trong phn ny, bn s c lm quen vi cch sao lu v phc hi n gin cho
registry, cc th thut nh trong Internet Explorer v sa cha nhng tp tin b h mt
cch d dng.
Sao lu v phc hi h thng Registry

V Quang Hiu
Vic sao lu h thng Registry rt quan trng v registry c xem l tri tim ca h iu
hnh, mi khi bn thc hin mt thay i trong registry cng c ngha l bn thay i cu
hnh cho h thng. Khi xy ra trc trc, bn c th lm theo cc bc sau khi phc:
- Sao lu cc gi tr Registry: Nhn Start - chn Run, g regedit v nhn OK. Trong
menu File, bn chn Export. Trong hp thoi Save, chn nhng hp thoi bn di ty
sao lu tng nhnh gi tr hay ton b h thng Registry. Tip theo, bn chn la ch sao
lu tp tin *.reg vi tn tu . V d: tp143system.reg.
- Khi phc gi tr Registry: Khi cn khi phc li nhng gi tr registry c xut ra
(tp143system.reg), bn ch cn double click vo tp tin *.reg (vd: tp143system.reg) m bn
sao lu trc.
Th thut vi Internet Explorer 6
- Gi phm CTRL v s dng con ln (scroll) ca mouse tng hay gim nhanh font ch.
- Gi phm SHIFT v s dng con ln (scroll) ca mouse tr v (Back) hay tin ln
(Forward) gia cc trang web.
- thay i th mc mc nh khi Download vi Internet Explorer, bn lm theo cc bc
sau: Nhn Start - Run , g "regedit" ri Enter vo Registry Editor. Chn theo ng dn:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer. Bn ca s bn phi, ta
thay i ng dn ca Download Directory theo ng dn m ta mun. Hon tt vic thay
i ng dn mc nh cho IE.
Thay i kch thc Icon trong Windows
Ta c th d dng thay i kch thc ca cc icon trong Windows vi cc bc n gin
sau: Chn Start Settings Control Panel. Nhn p ln Display. Chn th
Appearance. Chn Icon t Item: trong hp thoi x xung. Bn c th tinh chnh kch thc
ca icon phn Size. Nhn Apply thc thi thay i v OK thot ra.
Ch : Thng thng kch thc ca cc icon l 32x32, 16x16 hoc c th ln hn, nhng
cc bn ng cho kch thc qu khc bit c th gy trc trc cho kch thc Icon.
Th thut vi th mc trong Windows
Thng thng th Windows c th nh khong 400 cu hnh khc nhau cho th mc. Khi s
lng cu hnh khc nhau tng ln hn mc ny, th Windows s t ng b i nhiu cu
hnh. Bn c th thay i s 400 ny thnh 8000 Windows c th lu tr nhiu hn ch vi
vi thao tc n gin sau:
M Notepad v to mt tp tin c ni dung nh sau: Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]

V Quang Hiu
"BagMRU Size"=dword:00001f40
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
"BagMRU Size"=dword:00001f40
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000
Sao lu li tp tin vi tn l folder8000.reg , bn nh ch All Files cho Notepad khi
save trnh sao lu thnh mt tp tin vn bn bnh thng. Double Click ln folder8000.reg
nhp thng s trn vo Registry.
Sa cha cc tp tin b hng trong Windows XP
Th thut ny s hng dn bn sa cha cc tp tin b hng trong Windows XP mt cch d
dng. Bn cn c CD Windows XP v h iu hnh Windows XP ang s dng ri thc hin
cc bc sau: Cho CD Windows XP vo CD. B qua giao din ci t t ng ca
Windows CD. Nhn Start , chn Run. G sfc /scannow (Khng c du ngoc kp).
Windows s thc hin vic d tm v ti li cc tp tin b h hng.
Kha chc nng Shutdown trong Dialog Box
Trc ht bn cn sao lu li registry, sau , vo Registry Editor bng cch: Vo Start
Run, g regedit ri Enter. Tm n key:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
Trong ca s phi, ch n key NoClose. Nu cha c key NoClose ta c th to bng
cch phi chut ca s phi, chn New String, t tn l NoCloseKey. Sau , ta phi
chut ln NoCloseKey v chn Modify chnh sa. G 1 vo gi tr (Value Data Box).
Khi mun phc hi li nh c, bn ch cn thay i gi tr ca NoCloseKey thnh 0 hay
xo lun c gi tr NoCloseKey.
Ch : Cch thc ny ch thc hin c t Windows 98 tr ln.
Khng hin th a trong My Computer
Th thut ny c th s hu ch cho cc dch v Net nhm bo mt thng tin vi khch hng,
bn s che giu cc partition khng cho hin th trong My Computer.
Vo Registry Editor, Start Run, g regedit. Tm n key:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
Trong ca s bn phi, ta phi chut to New DWORD v t tn l NoDrives. Sau , ta
chn NoDrives , phi chut ri chn Modify chnh sa gi tr thnh 3FFFFFF

V Quang Hiu
(Hexadecimal). Nhn F5 thc thi thay i. (i khi phi restart li my thc hin thay
i).
Bn vo My Computer v s thy khng c no c hin th. Mun tr li nh c, bn ch
cn vo li registry v xa i DWORD NoDrives.
Thay i v tr ci t mc nh
Khi ci t cc phn mm hay cc chng trnh no , Windows thng mc nh sn a
(thng l C) nhng bn li mun Windows t ng chn mt a hay ng dn khc, ta
ch cn tm n gi tr v thay i ty bn:
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionSetupSourcePat
h

Kin thc Windows Registry - Phn VII - 18/5/2005 9h:9


Tt m Screensaver trn desktop
Cc trnh screensaver (trnh bo v mn hnh) thng hot ng theo thi gian nh trc,
bn c th thay i mc nh ny theo mun kch hot hay tt screensaver bt c lc no
bng cch:
- M Registry Editor, vo Start Run, g regedit, Enter.
- Tm n key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ScreenSavers
- To mt chui mi (string) v t tn l Mouse Corners.
- Sa gi tr ca string mi ny thnh Y-N ri nhn F5 thc hin thay i trn registry.
- Thot khi registry. By gi, bn c th kch hot screensaver bng cch t tr chut ti
gc trn cng bn phi ca mn hnh v ngc li, nu mun tt screensaver, bn cng t tr
chut ti gc bn tri ca mn hnh.
- Nu bn mun tr li trng thi ban u, ch cn vo li key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ScreenSavers
v xo Mouse Corners.
Xa b chc nng Find v Run trn Menu Start
ngn nga vic tm kim cc tp tin h thng chnh sa hay cc chng trnh c hi
c kch hot m ngi khc c th thc hin thng qua Find v Run trn Menu Start, bn
c th g b hai chc nng ny vi vi thao tc trong Registry:

V Quang Hiu
- M Registry Editor, nhn Start run, g regedit, Enter
- Tm n key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Phi chut trn ca s bn phi, to mt DWORD mi vi tn l NoFind
- Double click vo DWORD NoFind va to, v t gi tr l 1.
Thao tc va ri s gip bn g b chc nng FIND (tm kim) trn Menu Start ca
Windows, v ng thi cng kha phm tt F3 cho vic tm kim. g b chc nng RUN
trn thanh Menu Start, bn cng lm theo cc bc trn nhng t tn ca DWORD l
NoRun.
khi phc li cc chc nng trn, bn ch cn vo li key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
v thay i gi tr ca DWORD NoFind hay NoRun thnh 0 hoc xo chng i.
Ty chn mi tn shorcut
Tt c cc shorcut u c mt mi tn nh mu en pha di phn bit vi tp tin hay
th mc gc. Nu bn cm thy kh chu v mun thay i chng, hy m Registry Editor ra
v thc hin cc bc sau:
- Tm n key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Sh
ell Icons
- Mt danh sch cc icon s hin th bn ca s phi (C th trong Windows 98 s khng c,
nhng bn ng qu lo, ch cn to mi).
- Tm n gi tr th 29. Nu khng c, ch cn to mi. Gi tr ca chui (string) ny s l:
C:\Windows\system\shell32.dll, 29 (icon th 30 trong shell32.dll icon u tin bt u t
0).
- By gi, bn cn mt icon trng thc hin, bn c th to icon cho mnh vi rt nhiu
chng trnh nh ca Axelis Icon Workshop. Sau khi to xong icon cho ring mnh, bn thay
i gi tr 29 thnh: C:\vsc\tp143.ico, 0 (bn thay \vsc\tp143\ bng ng dn n tp tin icon
ca mnh.
- Bn cng c th thc hin theo mnh vi nhng icon kh th v trong shell32.dll.
Thay i mu nn cho Outlook Express
Bn nhm chn vi mu nn ca Outloook Express, c th chn la ring cho mnh mt
mu tht ng vi phong cch ca bn bng cch:
- M Registry Editor, v tm n key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Mail And News key.

V Quang Hiu
- Bn ca s tri, chn ColorCycle v chn Edit and Modify trong menu. Thay i gi tr
thnh 1.
- ng Registry Editor v Restart, sau bn m li Outlook Express.
- By gi, mi khi bn s dng Outlook Express v to mt tin nhn mi, hy gi Ctrl-Shift
v g phm z chn la mu sc lm nn cho tin nhn. Thc hin li thao tc trn thay
i mu sc.
Ngn Windows ti cc tp tin DLL
Windows XP c mt thi quen xu l gi cc lin kt th vin ng (dll), chng tn dng
kh nhiu dung lng b nh nn c th nh hng n s n nh ca h thng. Bn c th
buc Windows thay i thi quen ny bng cch:
- M registry Editor, tm n key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \
Explorer
- Tm n DWORD tn AlwaysUnloadDLL. Bn c th phi to nu khng tm thy bng
cch phi chut ca s bn phi v to DWORD mi vi tn AlwaysUnloadDLL.
- t gi tr thnh 1 buc Windows khng ti cc tp tin th vin ng (DLL).

Kin thc Windows Registry - Phn VIII - 18/5/2005 9h:14


Khng cho hin th Control Panel
i vi cc my tnh dung chung, trnh cho nhng thit lp ca bn b thay i hay tinh
chnh trong h thng thng qua Control Panel, bn c th n Control Panel, khng cho hin
th n bng cch thit lp thng s trong Registry nh sau:
- Tm n kha trong Registry Editor:
HKEY_CURRENT_USER\Software\ Microsoft\Windows\CurrentVersion\Policies\Explorer
- Phi chut ca s bn phi, chn New Binary Value, t tn l: NoSetFolders
- Double click vo NoSetFolders, nhp gi tr: 01 00 00 00 vo khung Value Data ca hp
thoi Edit Binary Value.
- Thot ra v khi ng li my tnh xem thay i.
Khi bn mun Control Panel hin th tr li, thay gi tr cho NoSetFolders l: 00 00 00 00.
Ngoi ra, ta cng c th cho php hin th Control Panel nhng li n i cc thnh phn trong
hoc ngn chn vic thay i cc thit lp.

V Quang Hiu
- Trong Registry Editor, tm n kha:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies.
- Nhn phi chut vo kha Policies ca s bn tri, chn New Key, t tn l System.
- Phi chut ln System ri chn New DWORD Value. Ty thuc vo cch thit lp cho
thnh phn no trong Control Panel m ta t tn cho DWORD Value va tao nh sau: (mt
vi thit lp cho Registry trong Windows 98)
- NoSecCPL: Ngn khng cho truy cp mc Password
- NoPWDPage: n giu Change Password
- NoProfilePage: n phn User profiles
- NoDispBackgroundPage: n phn background
- NoDispScrSavPage: n phn screensaver
- NoActiveDesktopChanges: n phn thay i desktop
- NoDevMgrPage: n phn Device Manager trong System
- NoConfigPage: n phn Hardware Profile.
- Nhp gi tr 1 vo khung Value Data ca hp thoi Edit DWORD Value
- Tt Registry Editor v khi ng li my thc thi thay i. Nu mun khi phc li thit
lp c, bn ch cn xa i hoc thay i gi tr l 0.
Hin th tn bn trn System Tray
y ch l mt mo nh nhm thay i dng ch AM, PM k phn hin th thi gian ca
System Tray. u tin, bn vo Registry Editor:
- Tm n kha: HKEY_CURRENT_USER\Control Panel\International
- Xem bn ca s bn phi, tm gi tr s1159 (thng thng c sn Windows XP, nu khng
c bn c th to New String Value vi tn s1159)
- Nhn double click vo s1159 v in vo tn bn. V d: TP143
- Tm n gi tr th 2 l s2359, v in vo tn trng vi s1159
- Tm n gi tr th 3 l sTimeFormat . double click v in vo gi tr: hh:mm:ss:tt hoc
tt:hh:mm
- Thot ra v khi ng li my thc thi thay i.
T to ni dung InfoTip cho MyDocuments

V Quang Hiu
Th thut ny hng dn bn thay i InfoTip hin ti ca Windows (nm trong shell32.dll)
cho MyDocuments thnh ni dung ty .
- Vo Registry Editor, tm n kha:
HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}
- Bn ca s phi, nhn double click vo InfoTip
- Thay i ng dn hin ti trong khung Value Data ca hp thoi Edit String vi ni dung
m bn mun. V d: MyDocuments bi vit TP143 TTO.
- ng registry Editor v refesh hoc khi ng li my thc thi thay i.
n Documents trn menu Start
Th thut ny nhm loi b mc Documents (recent docs) trn Menu Start. Khi bn m bt
k mt tp tin no , Windows s t ng lu li nh l mt recent docs m bn c th truy
xut nhanh trong Documents trn menu Start. xa cc tp tin ny, bn c th vo Start
Run, g recent ri Enter. Ca s Recent Docs s xut hin, bn ch cn la chn hoc xa ht
cc tp tin shortcut ny. Nu bn mun kha lun chc nng ny ca Windows th c th lm
nh sau:
- Vo Registry Editor, tm n kha
HKEY_CURRENT_USER\Software\ Microsoft\Windows\CurrentVersion\Policies\Explorer
- Bn ca s phi, phi chut chn New DWORD Value, t tn l NoRecentDocsMenu
- Double click vo NoRecentDocsMenu, nhp vo gi tr l 1 cho Value Data ca hp thoi
Edit DWORD Value
- Thot ra v khi ng li my. Vo menu Start kim tra.
hin th Documents trn menu Start tr li, ta t gi tr cho NoRecentDocsMenu l 0

You might also like