tổng hợp về registry

34 214 1
tổng hợp về registry

Đ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

Tổng Hợp Về RegisTry Nội dung 1. WINDOWS REGISTRY 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, cracking, 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. 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á 2. Tổng Hợp Về RegisTry - Active Desktop ACTIVE DESKTOP Cho phép chế độ Desktop hoạt động hay không: 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) Một số ngăn cản khi cho phép chế độ Desktop hoạt động. NoChangingWallpaper - Không cho phép thay đổi hình Wallpaper. NoComponents - Không cho phép hiển thị các thành phần. NoAddingComponents - Không cho phép thêm các thành phần mới. NoDeletingComponents - Không cho phép xoá các thành phần. NoEditingComponents - Không cho phép sữa các thành phần. NoCloseDragDropBands - Không cho phép chức năng dùng chuột kéo thả trên Desktop. NoMovingBands - Không cho phép chức năng kéo thả các Taskbar đi nơi khác trên Desktop. NoHTMLWallPaper - Chỉ cho phép hình dạng 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 chức năng Active Desktop từ Menu Settings trên Start Menu. 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) Không 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) 3. Tổng Hợp Về RegisTry - Control Panel CONTROL PANEL Không cho phép thay đổi kiểu dáng của các Controls. Phần này sẽ hạn chế một phần hoặc tất cả các chức năng trong mục (Tab) Appearance trong Display. Gán giá trị 0: để hiện, 1 để ẩn với các tên khoá đưa ra phía bên dưới. NoVisualStyleChoice - không cho phép thay đổi kiểu dáng của các cửa sổ và út nhấn. NoColorChoice - Không cho phép thay đổi sơ đồ màu. NoSizeChoice - Không cho phép thay đổi cỡ chữ. User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System. Name: NoColorChoice, NoSizeChoice, NoVisualStyleChoice, SetVisualStyle. Tắt chế độ Themes Settings trong Display trong Control Panel: Themes Settings để thay đổi kiểu dáng của các cửa sổ các nút nhấn. Nếu không thích sài thì cất chúng đi bằng cách tạo một khoá mới với tên 'NoThemesTab' và gán 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) Tắt 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. Name: NoChangeKeyboardNavigationIndicators Type: REG_DWORD (DWORD Value) Value: (0 = default, 1 = enable restriction) Ngăn cản tính năng trình diễn hoạt hình 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) Điều khiển chế độ hoạt hình : User Key: HKEY_CURRENT_USER\ Control Panel\ Desktop\ WindowMetrics Name: MinAnimate Type: REG_SZ (String Value) Value: (0=disable, 1=enable) Tắt Settings của Display trong Control Panel: Điều này cũng có nghĩa là bạn không thể thay đổi được độ phân giản của màn hình mục Settings không được phép hoạt độ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) Tắt mục ScreenSaver của Display trong Control Panel: Khi tắt mục ScreenSaver không có nghĩa là tắt chế độ ScreenSaver tự chạy, mà là ẩn không cho thay đổi, chỉnh sữa ScreenSaver. Vì vậy trước khi tắt nó đi bạn phải cân nhắc. 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) Tắt mục thay đổi hình nền của Display trong Control Panel: Không cho thay đổi hình nền, màu nền của Desktop. User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System. System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System. Name: NoDispBackgroundPage Type: REG_DWORD (DWORD Value) Value: (0 = disabled, 1 = enabled) Tắt mục Appearance của 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) 4. Tổng Hợp Về RegisTry – Explorer EXPLORER Ẩ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} 5. Tổng Hợp Về RegisTry - Internet Explorer INTERNET EXPLORER Ẩ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) [...]... CurrentVersion\ Policies\ Network Name: MinPwdLen Type: REG_BINARY (Binary Value) 7 Tổng Hợp Về RegisTry - Mainboard & CPU MAIN BOARD - CPU Hiển thị thông tin về BIOS: Key: HKEY_LOCAL_MACHINE\ HARDWARE\ DESCRIPTION\ System Name: SystemBiosDate, SystemBiosVersion, VideoBiosDate Type: REG_SZ (String Value) Hiển thị thông tin về CPU: Key: HKEY_LOCAL_MACHINE\ HARDWARE\ DESCRIPTION\ System\ CentralProcessor\... HKEY_CURRENT_USER\ Control Panel\ Desktop Name: FontSmoothingType Type: REG_DWORD (DWORD Value) Value: (0 = disabled, 1 = standard, 2 = ClearType) 11 .Tổng Hợp Về RegisTry - những điểm khác Những thủ thuật tuyệt kỹ Hiển thị thông tin hỗ trợ, những thông tin về tên công ty: Trong Tab General của System Properties trong Control Panel có phần bên dưới cho phép hiển thị thông tin để hỗ trợ kỹ thuật Trong các... HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer Name: DisallowRun 8 Tổng Hợp Về RegisTry - Start menu START MENU Ẩn và hiện Administrative Tools Menu User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced Name: StartMenuAdminTools Type:... InBox.{00020D75-0000-0000-C000-000000000046} For the Recycle Bin Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E} For more check out the HKEY_CLASSES_ROOT\ CLSID key System Key: HKEY_CLASSES_ROOT\ CLSID 9 Tổng Hợp Về RegisTry – System SYSTEM Ngăn quyền truy cập đĩa mềm (Windows NT/2000/XP): System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon Name: AllocateFloppies Type: REG_SZ... sự kiện): System Key: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ EventLog Name: RestrictGuestAccess Type: REG_DWORD (DWORD Value) Value: (0 = guest access, 1 = restricted access) 10 .Tổng Hợp Về RegisTry - Video & Graphic VIDEO & GRAPHIC Display High Color Icons: Key: HKEY_CURRENT_USER\ Control Panel\ Desktop\ WindowMetrics Name: Shell Icon BPP Type: REG_SZ (String Value) Value: 16 Control... = restricted) Điều khiển chế độ thông báo lỗi System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Internet Explorer\ Main Name: IEWatsonDisabled, IEWatsonEnabled Type: REG_DWORD (DWORD Value) 6 Tổng Hợp Về RegisTry - Logon & Authentication Logon & Authentication Không cho Screensaver chạy trong khi Logon: Khi chưa Logon vào hệ thống, nếu để máy ở trạng thái 'không chịu đưa chìa vào mở khoá cửa' quá... 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: 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... con của Control Panel, Network Connections, My Documents, Printers, My Pictures, chỉ bằng click chuột từ Start Menu Tương ứng với từng thành phần bạn sẽ thay đổi các tên khoá liệt kê phía dưới cho phù hợp User Key: HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced CascadeControlPanel CascadeNetworkConnections CascadeMyDocuments StartMenuScrollPrograms CascadePrinters... System Key: HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon Name: IgnoreShiftOverride Type: REG_SZ (String Value) Value: (1 = Ignore Shift) Yêu cầu người dùng phải nhấn tổ hợp phím Ctrl + Alt + Del trước khi đăng nhập vào hệ thống: System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon Name: DisableCAD Type: REG_DWORD (DWORD Value) Value:... NT/2000/XP): System Key: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon Name: System Type: REG_SZ (String Value) Value: (default = lsass.exe) Ngăn quyền truy từ Network vào Registry. (Windows NT/2000/XP):System Key: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ SecurePipeServers\ winreg Ngăn quyền truy cập vào các đối tượng cơ bản của hệ thống từ Netwrok:System Key: . Tổng Hợp Về RegisTry Nội dung 1. WINDOWS REGISTRY 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ỹ. 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 để. 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á 2. Tổng Hợp Về RegisTry - Active Desktop ACTIVE DESKTOP Cho

Ngày đăng: 23/10/2014, 08:50

Từ khóa liên quan

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

  • Đang cập nhật ...

Tài liệu liên quan