Lecture 12. Windows registry Structure of the registry Loading and storing data in registry.

Slides:



Advertisements
Similar presentations
Prof. Yitzchak Rosenthal
Advertisements

XS - Platform What is XS – Manager ?
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 3 Configuring the Windows Server 2008 Environment.
Configuration Files CGS2564. DOS Config.sys Device drivers Memory configuration Autoexec.bat Run programs, DOS commands, etc. Environment settings File.
The Windows Registry Adapted from
Chapter 3: Configuring the Windows Vista Environment.
Registry Analysis What is it? What does it contain?
Operating Systems: Software in the Background
Registry Structure What is it? What does it contain?
Chapter 9 Chapter 9: Managing Server Folders, Permissions, and Software Installation.
1 JMH Associates © 2004, All rights reserved Chapter 2-3 Supplement Registry Programming.
Hands-On Microsoft Windows Server 2008
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Application Repackaging - Naushad Ali T Doddamani.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Windows 9x Graphical Interface on DOS. Goals for Today Install Windows 98SE Install/Load Device Drivers Explore options, tools, configuration Network.
Operating System & Application Files BACS 371 Computer Forensics.
OS and Application Files BACS 371 Computer Forensics.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
Module 5: Application Settings and Deployment. Overview Working with Application Settings Deploying Applications.
Chapter 7 Working with Files.
Windows 95 requirements l 80386DX or higher machine l at least 4 MB of RAM (8 MB recommended) l mouse l VGA or better monitor l hard drive with at least.
Tripwire Enterprise Server Rule Sets Vincent Fox, Doreen Meyer, and Paul Singh UC Davis, Information and Educational Technology July 25, 2006.
1 Microsoft Windows Internals, 4 ed Chapter 4. Management Mechanisms The Registry 謝承璋 2008 年 05 月 07 日.
SIR SONS IN RETIREMENT Computer User Group.
CST-092 © Delta College CST FacultyIntroduction to Windows Operating System Lecture 2.
Practical PC, 7th Edition Chapter 5: Organizing Files and Folders
Ch 11. Services A service is a specialized program that performs a function to support other programs Many services operate at a very low level – Interacting.
Information and Process Management Kevin Jacobson.
© 2011 Autodesk CP5239 Demand-Loading AutoCAD®.NET Plug-ins James E. Johnson Synergis Software Sr. CAD Developer.
1 2 Lab 2: Organizing Your Work. 2 Competencies 3 After completing this lab, you will know how to: 1. Use Explorer to manage files. 2. Copy files. 3.
计算机系 信息处理实验室 Lecture 6 Management Mechanisms
Windows NT Chapter 13 Key Terms By Bill Ward NT Versions NT Workstation n A desktop PC that both accesses a network and works as a stand alone PC NT.
5. Windows System Artifacts Part 1. Topics Deleted data Hibernation Files Registry.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Windows Server 2008 Chapter 3 Last Update
Windows Listening Guide.  The software that manages the sharing of the resources of a computer. The overall function of the computer.  MASTER CONTROLLER.
Windows Vista Inside Out Chapter 24 – Recovering From an Computer Crash Last modified am.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
1 Windows 98 Ancillary Systems x The Process Scheduler provides system resources. The Windows Driver Model (WDM) allows Windows 98 and Microsoft Windows.
Concepts  messages are passed through the internet by using a protocol called simple mail transfer protocol.  The incoming messages are.
Lesson 12: Using the Recycle Bin deleting files or folders what the Recycle Bin is restoring files from the Recycle Bin emptying the Recycle Bin identifying.
Supporting Windows 9x Chapter 12 Key Terms By Bill Ward.
Cody, Brian, and Jerry. Contains configuration options for a boot menu. The file is hidden and read-only to protect it from user configuration. Microsoft’s.
Virtual Memory Lei Li CS147.
Microsoft Office XP Illustrated Introductory, Enhanced with Programs, Files, and Folders Working.
Windows Top 10 Time Savers! Pickens Technical College Business Department.
IT Essentials 1 Chapter 5 Windows 9x Operating Systems.
Managing Services and Registry Chapter 16 powered by dj.
RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode Solution RT-LAB for PC-104.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
1 Introduction to Microsoft Windows Lecture Outline.
Windows XP Lab 2 Organizing Your Work Competencies.
Windows 95/NT/XP. What is Windows 95/NT/XP n A program that sets up an environment for you to work in on your computer, based on colorful pictures (icons)
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
Windows XP, Vista, and 7 IT190 Foundations in Information Technology.
Introduction to Operating Systems Prepared by: Dhason Operating Systems.
How to use the Hand-In Folder. Click on the Folder icon at the bottom of the screen.
Windows CE Object Store Windows CE name for persistent storage Provides storage for the –Registry –Databases –File System In a non-volatile portion of.
File and File Systems Compiled by IITG Team Need to be reorganized and reworded.
Chapter 8 Server Management: Directories & Software Directory Structure Creating A Directory Directory Properties Setup Wizard Registry Installing/Uninstalling.
FORENSICS ANALYSIS OF THE REGISTRY OF WINDOWS 7 “SYSTEM ANALYSIS” 시스템 포렌식 실습 NURHALIMATUSADIAH SYARA 시스템 포렌식 실습.
Visual Basic Fundamental Concepts
Mario Tayah and Jim Fawcett CSE 775 – Distributed Objects Spring 2007
Naming, Saving, & Retrieving Files
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
Visual Basic..
Windows Registry: Introduction
Interprocess Communication
DATA EXCHANGE.
Presentation transcript:

Lecture 12

Windows registry Structure of the registry Loading and storing data in registry

Structure of the registry Tree with the following roots: –HKEY_CLASSES_ROOT –HKEY_CURRENT_CONFIG –HKEY_CURRENT_USER –HKEY_LOCAL_MACHINE –HKEY_USERS

Structure of the registry Registry structure Data is stored in tree-like structure Nodes of the tree are called "Keys" Key can have any number of sub-keys and any number of values For example:...\YourApplicationKey "WindowPosition" = "10x20x300x350" "DefaultDirectory" = "C:\My Documents"

Structure of the registry Some registry keys are used by the system, for example: HKLM\Software\Microsoft\Windows\ \CurrentVersion\Run - contains applications that will be executed at windows startup Other keys are used by applications to store their settings

HKEY_CLASSES_ROOT Stores: –file extension - program association –information about COM objects class identifiers ({ AA006D2EA4}) program identifiers (Word.Document.8)

HKEY_LOCAL_MACHINE Global computer settings (common to all users) Applications usually store their settings in "Software" subkey, typically: HKLM\Software\Company Name\ \Application Name\Version

Registry functions (keys) Keys –RegCreateKeyEx() - create key and open –RegOpenKeyEx() - open existing key –RegCloseKey() - close key –RegDeleteKey() - delete registry key –RegEnumKeyEx - enumerate sub keys –RegQueryInfoEx() - get information about the key

Registry functions (values) RegSetValueEx() - set key value RegQueryValueEx(), RegQueryMultipleValues() - get key value RegDeleteValue() - delete key value RegEnumValue() - enumerate key values

Shell functions FindExecutable – find executable for document file ShellExecute – run application and open document file, run Windows Explorer WinHelp – display help for the application

File drag and drop DragAcceptFiles – inform Windows that application window accepts dropped files WM_DROPFILES – message sent after file(s) has been dropped on application window DragQueryFile – retrieve the name of the file that was dropped DragQueryPoint – retrieve the point where the file(s) have been dropped

Windows Tray Application that wants to minimize the window to tray should: –Create Windows Tray icon (using Shell_NotifyIcon function) –Hide main application window Application that only wants to display icon in the tray should: –Create hidden window (that window will process messages from the icon) –Create Windows Tray icon (using Shell_NotifyIcon function) In order to display windows tray icon, an application must be running

Clipboard Copying data to clipboard: –call OpenClipboard() –call EmptyClipboard() –call SetClipboardData() and pass handle to memory allocated with GlobalAlloc() –call CloseClipboard()

Clipboard Pasting data from clipboard –call OpenClipboard() –check data format: IsClipboardFormatAvailable(), EnumClipboardFormats(), GetPriorityClipboardFormat(), CountClipboardFormats() –call GetClipboardData() –call CloseClipboard()