Tài liệu Thủ thuật Registry 1 ppt

22 413 1
Tài liệu Thủ thuật Registry 1 ppt

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Hận Đời Không Đối Thủ 14-01-2006, 01:40 PM 1. Giới thiệu về Registry: Registry là một cơ sở dữ liệu dùng để lưu trữ thông số kỹ thuật của Windows. Nó ghi nhận tất cả các thông tin khi bạn thay đổi, chỉnh sửa trong Menu Settings, Control Panel 2. Registry để ở đâu: ? Trong Win95 & 98, Registry được ghi trong 2 file: user.dat và system.dat trong thư mục Windows. Trong Windows Me, Registry được lưu trong file Classes.dat trong thư mục Windows. Trong Win2K Registry được lưu trong thư mục ``Windows\System32\Config``. 3. Registry có thể chỉnh sửa được không? Registry có thể chỉnh sửa trực tiếp, làm thay đổi các thông số thông qua trình chỉnh sữa Registry Editor. Chạy Registry Editor bằng cách gõ regedit vào cửa sổ Run. 4. Cấu trúc của Registry: Registry có cấu trúc cây, giống cấu trúc thư mục. Thông thường có sáu nhánh chính. Mỗi nhánh được giao hiệm vụ lưu giữ những thông tin riêng biệt. Trong các nhánh chính có rất nhiều nhánh con. Những nhánh con này cũng được lưu giữ nhưng thông tin riêng biệt. HKEY_CLASSES_ROOT: Lưu những thông tin dùng chung cho toàn bộ hệ thống. HKEY_CURRENT_USER: Lưu những thông tin cho người dùng đang Logon HKEY_LOCAL_MACHINE: Lưu những thông tin về hệ thống, phần cứng, phần mềm. HKEY_USERS: Lưu những thông tin của tất cả các User, mỗi user là một nhánh với tên là số ID của user đó HKEY_CURRENT_CONFIG: Lưu thông tin về phần cứng hiện tại đang dùng. HKEY_DYN_DATA: Đây cũng là một phần của nhánh HKEY_LOCAL_MACHINE 5. Các kiểu dữ liệu dùng trong Registry: -REG_BINARY: Kiểu nhị phân -REG_DWORD: Kiểu Double Word -REG_EXPAND_SZ: Kiểu chuỗi mở rộng đặc biệt. VD: ``%SystemRoot%`` -REG_MULTI_SZ: Kiểu chuỗi đặc biệt -REG_SZ: Kiểu chuỗi chuẩn 6. Tại sao cần phải biết về Registry? - Registry lưu tất cả các thông tin về phần cứng, phần mềm, những lựa chọn của người dùng kiểm soát được nội dung của Registry là yêu cầu tất yếu để bạn sử dụng PC một cách khoa học, hiểu sâu hơn về môi trường làm vịệc của Windows. - Muốn tiến xa hơn trong kỹ thuật lập trình trên nền Windows, cách bảo mật, *****ing, hacking bạn cần phải có hiểu biết nhất định về Registry. - Hầu hết các thủ thuật trong Windows mà các tạp chí tin học tên tuổi của Việt Nam đã và sẽ đăng có liên quan mật thiết đến Windows Registry Registry có thể chỉnh sửa trực tiếp, làm thay đổi các thông số thông qua trình chỉnh sữa Registry Editor. Chạy Registry Editor bằng cách gõ regedit vào cửa sổ Run. 7. Cảnh báo! Khi sử dụng Registry Editor bạn phải tiến hành sao lưu Registry. Mọi thay đổi có thể làm máy của bạn không khởi động, treo máy, . . Sao lưu bằng cách chạy Registry Editor : File - Export và lưu vào chổ an toàn. Nếu chưa có kiến thức về Windows Registry xin bạn đọc một chút các dòng hướng dẫn bên dưới. - Dòng sau các từ: User Key, Sytem Key, hoặc Key cho biết đường dẫn đến nhánh cần sữa chữa hoặc tạo mới nếu nó không tồn tại. Lưu ý: User Key: là để thay đổi đó có tác dụng với người đang Logon. System Key: là để thay đổi đó có tác dụng với tất cả người dùng. -Dòng Name là tên của khoá cần tạo, nó là nhánh con bên cửa sổ bên phải của Registry -Dòng Type là kiểu dữ liệu của khoá mới tạo -Dòng : Value là giá trị của khoá Disk Drivers Thay đổi thông số cảnh báo số % không gian đĩa cứng còn trống (Windows XP). Giá trị mặc đị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) Điều khiển thông số hạn chế không gian cho Master File Table Giá trị mặc định là 1.Key: HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\ Control\ FileSystem Name: NtfsMftZoneReservation Type: REG_DWORD (DWORD Value) Value: 1 (default) - 4 (maximum) Tắt chế độ ghi đĩa CD trực tiếp từ Window Explorer (Windows Xp) Trong Windows XP cho phép bạn ghi một đĩa CD dễ dàng bằng cách kéo những tập tin hoặc thư mục rồi thả vào biểu tượng đĩa CDR. Bạn có thể tắt chế độ này đ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 tên và biểu tượng của ổ đĩa Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Explorer\ DriveIcons Name: Default Type: REG_SZ (String Value) Chỉ định chương trình chơi đĩa CD Audio Mặc định khi bạn đưa đĩa Cd Audio vào đĩa thì CD Player của Microsoft sẽ mở đĩa lên. Nhưng nếu có chương trình khác hay hơi bạn có thể chỉ định cho chương trình đó thay thế. Key: HKEY_CLASSES_ROOT\ AudioCD\ Shell\ Play\ Command Name: (Default) Type: REG_SZ (String Value) Value: Command-line to Execute - nhập vào đường dẫn của chương trình chơi đĩa bạn muốn Điền khiển chế độ tự động mở đĩa CD khi đưa đĩa vào ổ. Key: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ CDRom. Name: Autorun Type: REG_DWORD (DWORD Value) Value: (0=disable, 1=enable) Ẩn mục 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 mục 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 mục 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) Tắt Menu New. Tìm đến khoá sau và thêm cho nó dấu `-` sau dấu `{` : System Key: HKEY_CLASSES_ROOT\ CLSID\ {D969A300-E7FF- 11d0-A93B-00A0C90F2719} Ẩn một số nút trên thanh ToolBar của Internet Explorer. Cần tạo một khoá với tên là `SpecifyDefaultButtons` và gán giá trị cho nó là 1 để thực hiện cêế độ ẩn một số nút trong danh sách liệt kê bên dơới, bước kế tiếp muốn ẩn một nút bất kỳ trong danh sách bên dưới thì bạn cần tạo một khoá mới với tên nút đó và gán 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\ Policies\ Explorer System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer Name: SpecifyDefaultButtons Type: REG_DWORD (DWORD Value). Không cho phép thay đổi (Customize) trên Toolbar của 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) Không cho hiện nút Option trong Menu Tool của 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) Không cho hiện một số nút trên 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) Không cho phép tải 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 Name: 1803 Type: REG_DWORD (DWORD Value) Value: (0 = downloads enabled, 3 = downloads disabled Không cho phép truy file từ một đường dẫn 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 một số nút 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) Dấu một số tính năng 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 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) **** 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 [...]... của khoá NoDrives là 5 = 4(ổ C) + 1( ổ A) A: 1, B: 2, C: 4, D: 8, E: 16 , F: 32, G: 64, H: 12 8, I: 256, J: 512 , K: 10 24, L: 2048, M: 4096, N: 819 2, O: 16 384, P: 32768, Q: 65536, R: 13 1072, S: 26 214 4, T: 524288, U: 10 48576, V: 209 715 2, W: 419 4304, X: 8388608, Y: 16 777 216 , Z: 33554432, ALL: 6 710 8863 User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer System Key:... Firefox làm sao mà down cái plugin để nghe nhạc media được đấy :D :D candyman 15 - 01- 2006, 01: 50 PM Cứ vào trang www.mozilla.com download được ngay ấy mà :45: Thanh Long 15 - 01- 2006, 01: 58 PM Mấy bố làm cái gì thế này :-B hồi trước có quyển Ebook tiếng việt về cái này rồi còn gì :-/ Như thế này thì ai đọc được God 15 - 01- 2006, 04: 41 PM Cứ vào trang www.mozilla.com download được ngay ấy mà :45: tìm giúp tui... HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer Name: DisallowRun ST God 14 - 01- 2006, 02 :13 PM Ặc mày post thế này ai có thời gian mà đọc hết cũng không có ích lợi gì lắm Tốt nhất post mấy cái thủ thuật dùng để chỉnh sửa registry để tăng tốc máy tính , xin share vài thủ thuật nho nhỏ trong regedit để tăng tốc máy tính : Tăng tốc cho internet :chạy lệnh regedit trong Run... {20D04FE0-3AEA -10 69-A2D8-08002B30309D} Type: REG_DWORD (DWORD Value) Value: (0 = show, 1 = hide) Ẩn các ổ đĩa trong My Computers Chúng ta có thể ẩn các ổ đĩa từ A đến Z, kể cả các ổ mạng 0 là hiện tất cả 1 là ẩn.Bạn muốn ẩn ổ nào thì cộng các số thập phân này lại Ví dụ muốn ẩn ổ A và C thì cho giá trị của khoá NoDrives là 5 = 4(ổ C) + 1( ổ A) A: 1, B: 2, C: 4, D: 8, E: 16 , F: 32, G: 64, H: 12 8, I: 256, J: 512 ,... đó chạy file này là được candyman 15 - 01- 2006, 01: 12 AM tớ thử làm cái tăng tốc lướt web rồi Nhưng hình như nó làm lướt web chậm hơn hay sao ý :)) ( tớ dùng Mozilla Firefox ) Hic, từ khi nghe ông God làm cái file *.reg mà máy tui khi lướt web, thỉnh thoảng bị đơ bất tử Bực mình thật Đã phải dùng system restore rồi Đừng ai nghe lời ông ấy xui nhé :-( God 15 - 01- 2006, 12 :53 PM Hê hê tại nhà ông dùng Firefox... - Thoát khỏi Registry Editor và restart lại máy cho các giá trị mới có hiệu lực Tăng tốc độ lướt web copy đoạn vào notepad Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters] "Tcp1323Opts"=dword:000000 01 "EnablePMTUDiscovery"=dword:000000 01 "EnablePMTUBHDetect"=dword:00000000 "DefaultTTL"=dword:00000040 "SackOpts"=dword:000000 01 đặt tên file... đi tìm mãi mà không thấy :clapping: :clapping: Cảm ơn ông trước :gem22: :gem22: :gem22: candyman 15 - 01- 2006, 09:04 PM đây là plug-in flash player của firefox http://www.download.com/Flash-Player-Netscape-Firefox-/30002378_4 -10 4 414 71. html?tag=lst-0-2 Tui chỉ cần cài mỗi cái này là đủ Nếu không đủ :D thì bản 1. 5 của mozilla firefox sẽ thông báo rồi tự động download rồi cài đặt mà ... changes, 1 = restrict changes) Tắt chế độ theo dõi người dùng User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer Name: NoInstrumentation Type: REG_DWORD (DWORD Value) Value: (1 = enable restriction) Không cho phép dùng công cụ Registry Editor để chỉnh sửa Registry. .. - Trong cửa sổ Registry Editor, bạn mở dần theo đường dẫn: HKEY_CURRENT_USER\Control Panel\Desktop - Thay đổi giá trị của các key như sau (bằng cách nhấp chuột phải lên tên từng key, chọn lệnh Modify trên menu chuột phải, điền giá trị mới vào hộp Value data của hộp thoại Edit String rồi nhấn OK): AutoEndTasks =1 HungAppTimeout=5000 MenuShowDelay=00000000 (mặc định là 400) WaitToKillAppTimeout=4000 (mặc... Name: DisableRegistryTools Type: REG_DWORD (DWORD Value) Value: (0 = allow regedit, 1 = disable regedit) Tắt lệnh 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 . E: 16 , F: 32, G: 64, H: 12 8, I: 256, J: 512 , K: 10 24, L: 2048, M: 4096, N: 819 2, O: 16 384, P: 32768, Q: 65536, R: 13 1072, S: 26 214 4, T: 524288, U: 10 48576,. Hận Đời Không Đối Thủ 14 - 01- 2006, 01: 40 PM 1. Giới thiệu về Registry: Registry là một cơ sở dữ liệu dùng để lưu trữ thông số kỹ thuật của Windows. Nó

Ngày đăng: 11/12/2013, 17:15

Tài liệu cùng người dùng

Tài liệu liên quan