Presentation is loading. Please wait.

Presentation is loading. Please wait.

Understanding and Using the Registry Chapter Twenty Two.

Similar presentations


Presentation on theme: "Understanding and Using the Registry Chapter Twenty Two."— Presentation transcript:

1 Understanding and Using the Registry Chapter Twenty Two

2 What is it? Heart of Windows XP Heart of Windows XP Contains the setting to run windows Contains the setting to run windows Anywhere from 50,000 to 100,000 entries are common. Anywhere from 50,000 to 100,000 entries are common.

3 Registry Editors Regedit and Regedt32 are the same. Regedit and Regedt32 are the same. Backup your registry: Backup your registry: –Choose a key to back up

4 Backup a key Name it and Save it Name it and Save it You can now view, edit it, or import it back. You can now view, edit it, or import it back.

5 Registry Keys Five Sub trees: Five Sub trees: 1.HKEY_CLASSESS_ROOT 2.HKEY_CURRENT_USER 3.HKEY_LOCAL_MACHINE 4.HKEY_USERS 5.HKEY_CURRENT_CONFIG

6 Registry Data Types StringREG_SZ Multi-StringREG_MULTI_SZ Expandable StringREG_EXPAND_SZ BinaryREG_BINARY DWORDREG_DWORD

7 Where the Registry is stored In Windows\system32\config In Windows\system32\config Five main Hives Five main Hives 1.System 2.SAM 3.Security 4.Software 5.Default Ntuser.dat: information in the HKEY_CURRENT_USER sub-tree. Ntuser.dat: information in the HKEY_CURRENT_USER sub-tree.

8 Adding a Key or Value Steps on p. 733 – 734 Steps on p. 733 – 734 Example: p. 734 – 735 Example: p. 734 – 735

9 Using Scripts to Automate Windows XP Chapter Twenty Three

10 What is Scripting? A form of programming A form of programming –Scripts are interpreted –Scripts provide limited functionality –Scripts are “clear text” Batch files are a type of Scripting Batch files are a type of Scripting –May use the.bat or.cmd extension

11 Creating a Script Use Notepad, but do not use.txt extensions Use Notepad, but do not use.txt extensions Practice page 739 – 744. Practice page 739 – 744.

12 WSH Windows Script Host Windows Script Host –VBScript –XML based Scripts Practice p 746 – 749. Practice p 746 – 749.

13 Advance Concepts Objects: Objects: –Intrinsic Objects (internal) The WScript Object (print info to the screen) The WScript Object (print info to the screen) The Err Object (traps errors) The Err Object (traps errors) –Callable Objects (external) Scripts can be Automated, or scheduled. Scripts can be Automated, or scheduled.

14 Practice: AddUser.wsf (p. 752 – 753) AddUser.wsf (p. 752 – 753) ChangeRole.wsf (p. 753 – 754) ChangeRole.wsf (p. 753 – 754) LogEvent.vbs (p. 755) LogEvent.vbs (p. 755)

15 Disaster Prevention and Recovery Chapter Twenty Four

16 Avoiding Crashes Buy reliable Hardware Buy reliable Hardware Protect against environmental problems Protect against environmental problems –Incorrect voltage –Loss of power –Spikes and Surges Install properly Install properly Use signed drivers Use signed drivers Shutdown properly Shutdown properly Backup regularly Backup regularly

17 Practice Prevention Defrag files Defrag files

18 Cleaning up Disks Options include Options include –Disk Cleanup –More Options

19 Check for disk Errors Scandisk Scandisk –Automatically Fix files –Recovery of bad sectors

20 Restoring a Configuration Last Known Good Last Known Good System Restore System Restore –Automatic restore points –Manual restore points –Disable system restore Automated System Recovery (ASR) Automated System Recovery (ASR) Recovery Console Recovery Console –Add with \i386\winnt32 /cmdcons –Note list of commands on page 772

21 Driver Verifier Command prompt >”verifier” Command prompt >”verifier” System File Checker System File Checker –Note table 24.3 page 780 Make your system “Blue Screen” Make your system “Blue Screen” –Backup your registry –Regedit –HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i80 42prt\Parameters –Create a key “CrashOnCtrlScroll” as a DWORD –Enter the value 1 and reboot –Press “Ctrl+ScrollLock+ScrollLock” (CTRL on the right)

22 Backing up and Restoring Making a Backup Making a Backup –Use Backup Restore Wizard (p. 782 – 783) Types of backups Types of backups –Normal all select filesClears AB –Copy all select filesDoes not clear AB –Differential all select files changed Last N/ILeaves AB on –Incremental all select files changed Last I/Nturns off AB –Daily all files modified today

23 Advanced Troubleshooting Methodology Chapter Twenty Five

24 Step to Troubleshooting Define the Problem Define the Problem Explore Explore Brainstorm Brainstorm Test your Ideas Test your Ideas Repair Repair Clean up after yourself Clean up after yourself Provide Closure Provide Closure Document Document

25 Troubleshooting Printing Pages 790 – 793 Pages 790 – 793

26 Troubleshooting XP Setup Does your computer meet the requirements? Does your computer meet the requirements? Do you have the right Device Drivers? Do you have the right Device Drivers? Know your SCSI Know your SCSI From Text to GUI From Text to GUI –Do you need a customized HAL? MBR issues MBR issues –Don’t use FDISK/MBR if you have a boot-sector virus

27 Stop Errors Common Stop Error listed on pages 800 – 801. Common Stop Error listed on pages 800 – 801. Possible fixes: Possible fixes: –Write down the message and reboot –Suspect recent changes –Check the system BIOS –Check Microsoft Knowledge Base

28 Advanced Topics Part Five

29 The Microsoft Management Console Chapter Twenty Six

30 Basic Features of MMC One interface for lots of tools One interface for lots of tools Used by software venders Used by software venders Build your own consoles Build your own consoles Customize for Administrative tasks Customize for Administrative tasks Help feature if really good Help feature if really good

31 Terms to Know Console: Console: Snap-ins: Snap-ins: Extensions: Extensions:

32 Console Four different modes Four different modes 1.Author mode 2.User mode – full access 3.User mode – Limited access, multiple window 4.User mode – Limited access, single window

33 Snap-ins List of available snap-in pages 810 – 811 List of available snap-in pages 810 – 811 Working with Snap-ins pages 812 – 817 Working with Snap-ins pages 812 – 817

34 Computer Management Console (built in) Access through Administrative Tools Access through Administrative Tools

35 Three sets of tools System Tools System Tools Storage Storage Services and Applications Services and Applications

36 Customization Options File File Action Action –New Windows from here –New Taskpad View –Rename –Export list –Help

37 Taskpad A graphical HTML window customized for a specific MMC plug-in. A graphical HTML window customized for a specific MMC plug-in.

38 Creating a new Taskpad Taskpad View wizard Taskpad View wizard

39 Taskpad Target What this Taskpad view will apply to What this Taskpad view will apply to

40 Name that Taskpad Use the same or name it Use the same or name it

41 Taskpad View Wizard Now add one Now add one

42 Taskpad View Wizard Three types: Three types: –Menu Command –Shell Command –Navigation

43 Taskpad View Wizard Selected Task Selected Task Gives you flexibility with your Snap-in tools Gives you flexibility with your Snap-in tools

44 Manage Windows XP Professional Services Chapter Twenty Seven

45 Why Services Exist They provide the interfaces that allow you to connect to services such as… They provide the interfaces that allow you to connect to services such as… –Internet –UPS –Other interfaces They run in the background They run in the background

46 The Service Management Console Snap-in from Administrative Tools Snap-in from Administrative Tools

47 Windows XP Pro Services Automatic Services (pages 827 – 829) Automatic Services (pages 827 – 829) Manual Services (pages 830 – 832) Manual Services (pages 830 – 832) Disabled Services (page 832) Disabled Services (page 832) Additional Services (page 833) Additional Services (page 833)

48 Configuring Services You can modify how they work You can modify how they work Set properties for each Set properties for each Start and Stop services Start and Stop services –Through the command line –Through the console

49 Configuring Services General Startup General Startup –Right click the service –Select Properties –Example of DNS Client Service General Tab

50 DNS Client Services Log On tab Log On tab –Local System Account –Allow service to interact with desktop –This Account –Hardware Profile

51 DNS Client Services Recovery Tab Recovery Tab –Take no action –Restart the Service –Run a Program –Restart the Computer

52 DNS Client Services Dependencies Tab Dependencies Tab

53 Service Commands (optional practice using telnet p. 837 – 839) (optional practice using telnet p. 837 – 839)

54 Hosting Web/FTP Servers Chapter Twenty Eight

55 Installing IIS Through Add or Remove Programs Through Add or Remove Programs Add/Remove Windows Components Add/Remove Windows Components Choose IIS and click Detail button Choose IIS and click Detail button

56 To install or not to install? Pages 842 – 843 Pages 842 – 843

57 Limits on IIS Limited to 10 concurrent connections over TCP/IP Limited to 10 concurrent connections over TCP/IP

58 What is there? IIS includes a Service Console IIS includes a Service Console You can administer remotely You can administer remotely You can configure a Web server You can configure a Web server –Not practical on XP Professional

59 Generic Web Site Configuration ISAPI Filters ISAPI Filters Home Directory Home Directory Documents Documents Directory Security Directory Security HTTP Headers HTTP Headers Custom Errors Custom Errors

60 Specific Web Site Configuration Web site Web site Configuring the FTP server Configuring the FTP server –FTP Site –Security Accounts –Messages –Home Directory –Virtual Directories

61 Configuring the SMTP Server


Download ppt "Understanding and Using the Registry Chapter Twenty Two."

Similar presentations


Ads by Google