<<

Paul McFedries Professional Reference Edition

Paul McFedries

SAMS 201 West 103rd Street Indianapolis, IN 46290 Introduction xxxvi

Part I Unleashing Windows 98 Installation and Startup

1 Preparing for the Windows 98 Installation 3 Look Before You Leap: How the Setup Process Works 4 Startup and System Check 4 Information Collection 7 Emergency Startup Disk Creation and File Installation 7 Hardware Detection 8 Windows 98 Configuration 10 Root Directory Files Created by Setup 11 What Happens to Existing DOS Files? 12 Windows 98 System Requirements 13 Preparing Your System: A Checklist 16 Check Your System Requirements 16 Back Up Your Files 16 Clean Up Your Hard Disk 17 Turn Off 4's Web Integration 18 Reset "Numeric Tails" 18 If You're Upgrading, Prepare Windows 18 Check and Defragment Your Hard Disk 19 Create a Bootable 20 Shut Down Any Unnecessary TSRs 21 Use MSD to Print a System Report 21 Some Notes About Dual- (and Multi-) Booting 22 Dual-Booting and FAT32 23 Dual-Booting with Windows 3.x 23 Dual-Booting with Windows NT 27 Dual-Booting with OS/2 Warp 28 Multi-Booting with Three or Operating Systems 29 Summary 30 2 From Disc to Disk: Installing Windows 98 31 Getting Setup Started 32 Performing a Clean Installation 32 Options for Starting Setup 34 Running Setup from Your Hard Disk 34 Setup's -Line Options 34 After Setup Is Under Way 36 Supplying the Setup Wizard with Information 38 Select Directory 38 Change Directory 38 Save System Files 38 Setup Options 39 User Information 43 Windows Components 43 Select Components 44 Identification 45 Computer 45 Establishing Your Location 45 Startup Disk 46 Copying Files 46 Finishing the Installation 46 Hardware Detection 46 Setting the Time Zone 47 Entering a Windows Password 47 The Home Stretch 48 Do You NeedAUTOEXEC.BAT and CONFIG.SYS? 48 Adding and Removing Windows 98 Components 49 Adding Windows 98 Components 50 Adding Components from the Windows 98 -ROM 50 Extracting Files from the Windows 98 Archives 51 Using the Web to Update Your Windows 98 Configuration 51 Removing Windows 98 Components 53 Removing Your Old Windows Files 54 Uninstalling Windows 98 55 Using the Windows 98 Uninstall Feature 55 Uninstalling Windows 98 by Hand 57 Summary 58 3 Start Me Up: Controlling Windows 98 Startup 59 The Boot Process, from Powerup to Startup 60 Custom Startups with the Windows 98 Startup Menu 63 Logged (\B00TL0G.TXT) 64 Safe Mode 64 Step-by-Step Confirmation 65 Command Prompt Only 66 Safe Mode Command Prompt Only 66 Previous Version of MS-DOS 66 Shortcut Keys for Startup Menu Options 66 Paul McFedries' Windows 98 viii — UNLEASHED

Custom Startups with MSDOS.SYS 67 Opening MSDOS. SYS 67 The [Paths] Section 69 The [Options] Section 70 Creating Your Own Startup Logo 72 Command-Line Switches for Starting Windows 98 73 Troubleshooting Windows 98 Startup 75 When to Use the Various Startup Menu Options 75 A Step-by-Step Strategy 78 Windows 98 Won't Start in Safe Mode 80 Miscellaneous Startup Snags 81 Understanding the Windows 98 Process 86 The Shut Down Command 86 The Log Off Command 88 Customizing the Windows 98 Shutdown Screens 89 Summary 90 4 What's New and Noteworthy in Windows 98 91 The Web Comes to the Desktop 92 Windows 98 Knows the Internet 93 Support for New Hardware Gadgets 95 New Windows 98 System Tools 97 New Multimedia Bells and Whistles 99 Communications and Networking 100 Other New Shell and Customization Features 102 Making the from Windows 3.x 104 The Desktop: Your New Windows Home 104 Some New Windows 98 Concepts You Should Know 105 Understanding Windows 98 Objects 106 Folders: Directories and Then Some 109 Long Filenames (Finally!) 109 Shortcuts (Or, Can I Get There from Here?) 112 A Tour of the 113 : The Windows 98 Customization Center 121 Summary 124 Part II Unleashing Windows 98 Customization and Optimization

5 Web Integration and the 127 Why Integrate the Web? 128 Working with Web Integration 129 How Web Integration Affects the Windows 98 Interface 130 Turning Web Integration On and Off 131 Toggling Web Page View On and Off 132 Creating Custom Web Views for Your Folders 133 Customizing the Active Desktop 140 Toggling the Active Desktop On and Off 141 Changing the HTML Desktop Wallpaper 141 Adding Desktop Items 143 Working with Desktop Items 146 Summary 147 6 Customizing the Taskbar, , and Display 149 Tweaking the Taskbar 150 Sizing the Taskbar 150 Moving the Taskbar 151 Displaying and Creating Taskbar Toolbars 152 Taskbar Properties 154 Customizing the Start Menu 156 Adding and Removing Start Menu Shortcuts 157 Working with the Start Menu Folder Directly 161 Start Menu Tricks 164 Display Settings: A Desktop to Call Your Own 168 Wallpapering the Desktop 168 Working with Desktop Patterns 169 Setting the Screen Saver 170 Renovating the Desktop: Colors, Fonts, and Sizes 172 Changing the Effects Properties 177 Changing the Display Settings 178 TweakUI: The Interface Power Toy 181 Summary 182 7 Setting Accessibility Options, User Profiles, and More 185 Accessible Windows: Working with the Accessibility Settings 186 Easier Access to the Keyboard 186 For the Hearing Impaired: SoundSentry and ShowSounds 189 For the Visually Impaired: High Contrast 190 Moving the Mouse Pointer via the Keyboard: MouseKeys 191 General Options for All Accessibility Settings 193 Easier Accessibility Access: The Accessibility Wizard 194 A Zoom with a View: 195 Personalized Windows: Working with User Profiles 196 Creating a User Profile 197 Working with User Settings 198 Worldwide Windows: Customizing the Regional Settings 199 Summary 200 Paul McFedries' Windows 98 UNLEASHED

8 Customizing the Mouse, Keyboard, and Other Input Devices 201 Manipulating Mouse Properties 202 Setting Up the Mouse for Southpaws 202 Setting the Double-Click Speed 203 Trying Different Pointers on for Size 203 Controlling the Tracking Speed 205 Activating Pointer Trails 205 Extra IntelliPoint Goodies 206 Customizing the Mouse with TweakUI 210 Customizing the Keyboard 211 Setting the Delay and Repeat Rate..... 211 Typing with the United States-International Keyboard Layout 212 Working with Keyboard Languages 214 Using the Microsoft Natural Keyboard 216 IntelliType Options 217 Calibrating a Game Controller 218 Summary 219 9 Performance Tuning: Optimizing Memory and Disk Access 221 Windows 98 and Memory: A Primer 223 Memory in the Pre-Windows 98 World 223 The Move to 32 Bits 226 How Windows 98 Handles Memory 227 Performance Tuning: General Considerations 231 Using System Monitor 232 Examining Performance Properties 234 General Performance Tuning Suggestions 235 Optimizing Memory 236 Using System Monitor to Track Memory Settings 237 Managing the Swap File 239 Optimizing System Resources 241 Miscellaneous Ideas for Optimizing Memory 244 Optimizing Disk Access 245 Optimizing Cluster Size 245 A Spring Cleaning for Your Hard Drive 253 Using Protected-Mode Drivers 254 Enabling Hard Drive DMA Support in Windows 98 255 Making Cache Adjustments 256 Overcoming File Fragmentation with Disk Defragmenter 259 Getting Started with Disk Defragmenter 260 Running Disk Defragmenter 261 Disk Defragmenter Settings 262 Using Disk Defragmenter from the Command Line 263 Summary 263 10 Getting the Most Out of and Hardware Profiles 265 Windows 98's Hardware Innovations 266 The Situation Before Windows 98 266 Device Support in Windows 98 269 Understanding Device Drivers 271 Device Driver Architecture 271 Virtual Device Drivers Versus Real-Mode Drivers 272 Device Driver Loading Startup 273 Understanding Plug and Play 275 The Plug and Play BIOS 275 Plug and Play Devices 276 Plug and Play in Windows 98: The Configuration Manager.... 276 Working with the Device Manager 277 Viewing Devices by IRQ, I/O Port, and DMA Channel 278 Printing a System Report 279 Removing a Device 280 Viewing Device Properties 280 Viewing and Adjusting a Device's Resources 281 Changing Drivers via the Device Manager 283 Adjusting Device Settings 284 Enabling IRQ Steering in Windows 98 285 Setting Up Hardware Profiles 286 Creating a New Hardware Profile 287 Adding and Removing Devices in a Hardware Profile 288 Dealing with Ambiguous Profiles 288 Notes About Hot-Docking and Hardware Profiles 289 Summary 290 11 Device Advice: Dealing with Devices in Windows 98 291 Adding New Hardware 292 The Plug and Play Phase 292 Automatically Detecting New Devices 293 Specifying New Devices Manually '. 293 Working with CD-ROM Drives 295 CD-ROM Drive Specifications 295 Windows 98 and CD-ROMs 297 The Feature 297 DVD: Welcome to the Next Level 298 Paul McFedries' Windows 98 I UNLEASHED

Getting Great Graphics 299 Understanding Graphics Adapters 300 Installing a Graphics Adapter Driver 304 Windows 98 and Your Monitor 305 Changing the Monitor Type 305 Activating Your Monitor's Energy-Saving Features 306 Enabling Windows 98's Multiple-Monitor Support 307 Working with PC Card (PCMCIA) Devices 310 Windows 98 and PC Cards 310 Inserting a PC Card Device 311 Removing a PC Card Device 311 Setting PC Card Properties 312 Setting Up an Infrared Device 313 Adjusting the IrDA Driver's Properties 315 Transferring Files Via an Infrared Connection 317 Power Management in Windows 98: OnNow and ACPI 318 Understanding Advanced Power Management 319 Monitoring Battery Life 320 Working with Power Management Properties : 323 Drivers for Other Devices 323 Communications Device Drivers 324 Keyboard Device Drivers 324 Mouse Device Drivers 325 Printer Device Drivers 325 SCSI Controller Device Drivers 326 Scanner and Digital Camera Device Drivers 326 Troubleshooting Hardware Headaches 327 Troubleshooting with the Performance Tab 327 Device Manager as a Troubleshooting Tool 328 Troubleshooting Protected-Mode Driver Problems 330 Summary 331 12 Getting to Know the Windows 98 Registry 333 A Synopsis of the Registry 334 A Brief History of Configuration Files 334 The Registry Puts an End to INI Chaos 335 Your Old Configuration Files Still Work 336 Understanding the Registry Files 336 The Registry, Parti: USER.DAT 336 The Registry, Part II: SYSTEM.DAT 337 Starting the Registry Editor 337 Contents xiii

Examining the Structure of the Registry 338 Navigating the Keys Pane 338 Adjusting the Size of the Registry Editor Panes 339 Registry Settings 339 The Registry's Root Keys 340 Summarizing the Structure of the Registry 346 Working with Registry Entries 347 Changing the Value of a Registry Entry 347 Other Registry Entry Techniques 349 Finding Registry Entries 349 Importing and Exporting Registry Files 350 Using REG Files to Modify the Registry 351 Printing the Registry 352 Troubleshooting the Registry 352 Summary 355 13 A Few Good Hacks: Some Useful Registry Tweaks 357 Working with File Types and Applications 358 Customizing the New Menu 358 Creating Application-Specific Paths 362 Associating Multiple Extensions with One Application 364 Modifying Windows 98's Desktop Icons 366 Changing the Desktop Icons 366 Deleting the Recycle Bin 368 Editing the Icon InfoTips 369 Hiding the Network Neighborhood 369 Saving Your Desktop Configuration 369 Renaming the Recycle Bin 370 Using the Registry to Fiddle with Files 370 Adjusting Explorer's Refresh Rate 370 Removing the Arrows from Shortcut Icons 371 Customizing the System Icons 371 Using a Bitmap File's Own Image as Its Icon 373 Clearing the MRU List in the Run Dialog Box 373 Changing the Default Web View Templates 374 Customizing the Windows 98 Interface 375 Creating a Desktop Pattern Without a Mouse 375 Disabling Window Animation 377 Playing with Button Shadows 377 Getting Better Double-Clicking 379 Setting the Number of Lines Scrolled with the IntelliMouse Wheel 380 PaulMcFedries' Windows 98 UNLEASHED

Customizing Some Setup Settings 380 Changing Your Registered Name and Company Name 380 Changing the Windows 98 Source Path 381 Summary 381

Part III Unleashing Files, Folders, and Disks

14 File and Folder Tricks and Techniques 385 First, a Few File and Folder Fundamentals 386 Exploring the Explorer Window 387 Selecting Multiple Files and Folders 391 Copying Files and Folders 392 Moving Files and Folders 393 Copying and Moving with Drag-and-Drop 393 Renaming Files and Folders 394 Deleting Files and Folders 395 Exploiting Explorer: Shortcut Keys, Customizations, and More ... 395 The Expedited Explorer 395 Customizing Explorer's Folder Options 397 Sorting Files and Folders 400 Working with the Details View Columns 401 Drag-and-Drop Revisited 402 Easier File Finagling with the Send To Command 404 Using Explorer from the Command Line 406 Can I Get There from Here? Working with Shortcuts 407 What Is a Shortcut? 407 Methods of Creating Shortcuts 408 Telling Windows 98 Not to Add "Shortcut To" 409 Working with Shortcut Properties 409 If You Move, Rename, or Delete the Target 411 A Cornucopia of Shortcut Ideas and Techniques 412 Working with File Types 415 Using a Different File Type to Open a Document 417 Modifying Actions for an Existing File Type 417 Creating New Actions for an Existing File Type 419 Creating a New File Type 420 Finding File Needles in Hard Disk Haystacks 423 Starting 424 Searching by Name, Text, and Location 424 Searching by Date 426 Advanced Searching 426 Running the Search 426 Talk: Understanding the Recycle Bin 427 Sending a File or Folder to the Recycle Bin 428 Restoring a File from the Recycle Bin 429 Setting Recycle Bin Properties 429 Summary 430 15 Disk Driving: The Windows 98 Disk Utilities 433 Formatting a Floppy Disk 434 Copying a Floppy Disk 436 Viewing Disk Properties 437 Compressing Disks with DriveSpace 439 How DriveSpace Works 439 Compressing Files and Free Space 441 Compressing Free Space Only 444 Modifying the Size of a Compressed Drive 445 Working with Compression Settings 446 Using the Compression Agent 447 Upgrading to DriveSpace 3 448 Uncompressing a Drive 449 Partitioning a Disk 450 Creating a Primary Partition 452 Creating an Extended Partition and Logical DOS Drives 453 Deleting an Extended Partition 454 Deleting a Primary Partition 455 Summary 455 16 Working with a : The Windows 98 Backup Utility 457 Starting Backup 458 Some Thoughts on Real-World Backups 459 Defininga Backup Job 460 Using the Backup Wizard to Define a New Backup Job 460 Creating a Backup Job by Hand 462 Working with the Backup Job Options 464 Working with Backup Media 467 Setting Backup Preferences 467 Restoring Backed-Up Data 468 Using the Restore Wizard 468 Restoring Backed-Up Data by Hand 470 Working with the Restore Options 470 Summary 471 17 Wielding the Windows 98 System Tools 473 Creating an Emergency Boot Disk 474 Understanding CD-ROM Support in the Windows 98 Startup Disk 476 Paul McFedries' Windows 98 UNLEASHED

Preventing and Repairing Hard Disk Errors with ScanDisk 480 Understanding Lost Clusters 482 Understanding Invalid Clusters 482 Understanding Cross-Linked Clusters 482 Getting ScanDisk Ready 483 Starting the Test 486 Running ScanDisk at Startup 487 Protecting System Files with Registry Scan 488 Using 490 System File Checker Options 490 Scanning System Files for Errors 493 Extracting Files with System File Checker 494 Avoiding Device Driver Failures with Automatic Skip Driver 495 Using the Microsoft System Information Utility 495 Protecting Long Filenames 496 Scheduling Maintenance Tasks with Task Scheduler 498 Starting Task Scheduler 498 Adding a New Scheduled Task 499 Working with Scheduled Tasks 500 Modifying a Scheduled Task's Properties 500 Guarding Against Viruses 503 Boza: A Virus that Windows Can Call Its Own 504 Windows 98 Anti-Virus Programs 505 More Virus Tips 505 Putting It All Together with the Maintenance Wizard 506 Getting Your System Back on Its Feet with System Recovery 508 Running System Recovery 509 Making System Recovery More Flexible 510 Summary 511

Part IV Unleashing Day-to-Day Windows 98

18 The Ins and Outs of Installing and Uninstalling Programs 515 Practicing Safe Setups 516 Check the New Program for Viruses 516 Make Sure You Have a Bootable Disk 517 Understand the Effect on Your Data Files 517 Back Up the Registry 518 In Fact, Back Up All Your Configuration Files 518 Save Directory Listings for Important Folders 518 Read README Files and Other Documentation 519 Take Control of the Installation 520 Comparing Files Before and After 520 Contents xvii

Working with the Add/Remove Programs Wizard 522 Installing Applications 523 Installing 32-Bit Applications 524 Installing 16-Bit Applications 530 Installing DOS Programs 532 Installing Applications from a Network 532 Uninstalling Applications 534 Uninstalling 32-Bit Applications 534 Uninstalling 16-Bit Applications 536 Uninstalling DOS Programs 538 Summary 538 19 Sharing Data in Windows 98: The and OLE 541 Understanding OLE 542 First, Some Fundamentals 543 Compound Documents 544 The 550 OLE Drag-and-Drop 551 OLE Automation 552 OLE and the Registry 552 OLE and the Windows 98 Shell 555 Working with OLE 556 Linking an Object 557 Linking via the Clipboard 557 Inserting a File as a Linked Object 558 Managing Links 559 Embedding an Object 559 Embedding via the Clipboard 560 Embedding via Drag-and-Drop 560 Inserting a New Embedded Object 560 Inserting an Embedded File 561 Editing a Linked or Embedded Object 562 Summary 562 20 Using Fonts in Windows 98 563 Fontamentals, Part I: The Architecture of Characters 564 Typeface 564 Type Size 565 Type Style 565 Character Spacing 565 Fontamentals, Part II: Screen Fonts Versus Printer Fonts 566 Fontamentals, Part III: The Font-Rendering Mechanism 566 Raster Fonts 567 Vector Fonts 567 PaulMcFedries' Windows 98 xviii — UNLEASHED

TrueType Fonts 568 Other Windows 98 Fonts 569 Working with Fonts 570 Opening a Font 571 Changing the Fonts Folder View 571 Adding New Fonts to Windows 98 573 Deleting Old Fonts 574 Font Tips 574 Using for Extra Symbols and Characters 575 Font Limitations 576 Troubleshooting Fonts 576 Summary 578 21 Prescriptions for Perfect Printing 581 Understanding the Windows 98 Printing Subsystem 582 Spooling Enhanced Metafiles 582 Printer Drivers 583 Deferred Printing 583 Support for the Extended Capabilities Port 584 Improved DOS Printing 585 Point and Print 585 Installing a Printer with the Add Printer Wizard 585 Removing a Printer 588 Printing Documents in Windows 98 589 Using Drag-and-Drop to Print Files 589 Other Printing Methods 590 Deferring Print Jobs 591 Getting a "Soft" : Printing to a File 591 Managing Print Jobs 592 Pausing a Print Job 593 Canceling a Print Job 593 Changing the Order of Print Jobs 593 Working with Printer Properties 594 General Properties 595 Details Properties 596 Paper Properties 598 Fonts Properties 600 PostScript Properties 600 Tips for Saving Paper 602 Troubleshooting Windows 98 Printing 602 Using the Print Troubleshooter 603 Miscellaneous Printing Perplexities 603 Summary 607 Portable Windows: The Briefcase and Direct Cable Connection 609 Synchronizing Laptop and Desktop with Briefcase 610 Step 1: Copy the Files to the My Briefcase Folder 611 Step 2: Copy the Files to the Notebook 614 Step 3: Work on the Files and Then Update the Floppy Briefcase 615 Step 4: Update the Files on the Desktop Computer 616 From Laptop to Desktop and Back: Direct Cable Connection 618 Port and Cable Considerations 618 Serial Ports and Null-Modem Cables 618 Configuring the Host Computer 621 Configuring the Guest Computer 624 Establishing the Connection 625 Direct Cable Connection and Infrared Ports 627 Direct Cable Connection and the Briefcase 628 Summary 628 DOS Isn't Dead: Unleashing the DOS Shell 631 Getting to DOS 632 Starting a DOS Session 632 What Happens when You Start a DOS Session? 635 What Happens when You Switch to MS-DOS Mode? 636 Running DOS Commands 637 Adding Parameters and Switches to a DOS Command 639 Working at the DOS Prompt 640 Working with Long Filenames 640 Changing Folders Faster 642 Starting Applications from the DOS Prompt 642 Sharing Data Between DOS and Windows Applications 644 Customizing the DOS Window 647 DOS Properties 647 Setting Program Properties 648 Changing the DOS Window's Font Size 649 Setting Screen Properties 651 Some Miscellaneous Properties 652 Understanding PIFs 655 Running a Program in MS-DOS Mode 656 Modifying a Program to Run in MS-DOS Mode 656 Modifying D0SSTART.BAT 657 Troubleshooting MS-DOS Mode 658 Paul McFedries' Windows 98 UNLEASHED

Creating a Program-Specific Startup Configuration 659 Specifying Custom CONFIG.SYS and AUTOEXEC. BAT Files 659 What Happens when You Run the Program 662 Optimizing Memory for DOS Applications 663 Adjusting Memory Properties 663 Optimizing 666 Optimizing MS-DOS Mode Memory 669 Troubleshooting DOS Difficulties 669 Summary 672

Part V Unleashing Multimedia: The Sights and Sounds of Windows 98

24 DirectX and Windows 98 Video 675 Windows 98 and Multimedia 676 DirectX 5.0: The Future of Windows Multimedia 677 The DirectX Foundation Layer 678 The DirectX Media Layer 681 Understanding Digital Video 682 The Various Video Formats 683 Video Compression Schemes 684 Unleashing Video in Windows 98 685 Using the ActiveMovie Control to Play Video Clips 685 Controlling the ActiveMovie Control 686 Working with ActiveMovie Properties 686 Tips for Top Video Performance 690 Windows 98 and the Broadcast Architecture 691 Hardware Requirements 692 Configuring WebTV for Windows 692 Operating the Program Guide 693 Watching a Program 696 Viewing Web-Based Video with NetShow 699 Troubleshooting Video Woes 701 Reinstalling a Video Codec 702 Miscellaneous Video Ills 703 Summary 705 25 Windows 98 Audio Features 707 Understanding Audio 708 Analog-to-Digital Sound Conversion 708 A Review of Audio File Formats 713 Audio Codecs 714 Audio Hardware: What to Look For in a Sound Card 715 Contents xxi

Installing the PC Speaker Driver 717 Getting Your Hands on the PC Speaker Driver 717 Installing the PC Speaker Driver 718 Sounding Off: Playing Sounds in Windows 98 719 Turning It Up (or Down): The Volume Control 720 Adjusting Audio Sources 720 Determining the Sources That Appear in Volume Control 721 Giving Windows 98 a Voice: Assigning Sounds to Events 722 Working with Sound Schemes 722 Adding New Sound Events via the Registry 723 Recording and Editing Sounds with the Sound Recorder 725 Setting Audio Properties 725 Recording a WAV File 726 Editing a WAV File 727 Reinstalling an Audio Codec 728 Summary 729

Part VI Unleashing Windows 98 Communications and Networking

26 Getting Started with Modem Communications 733 A Modem Communications Primer 734 Modems: The Inside Story 734 Serial Ports: Communicating One Bit at a Time 740 Modem-to-Modem Communications 743 Flow Control: The Communications Traffic Cop 743 Data Bits: The Crux of the Matter 744 Start and Stop Bits: Bookends for Your Data 745 Parity: A Crude Error Check 745 Terminal Emulation: Fitting in with the Online World 746 File Transfers: A Matter of Protocol 747 Configuring Serial Ports 748 Installing and Configuring a Modem 748 Installing Your First Modem 749 Installing Another Modem 749 Modifying the Modem's Dialing Properties 750 Modifying the Modem's General Properties 754 Modifying the Modem's Connection Settings 755 Testing the Modem 758 Summary . 758 27 Putting Your Modem to Work 761 Getting Your Modem to Dial Voice Calls for You 762 Phone 's Connection Properties 763 Phone Dialer's Dialing Properties 764 Quick Connections with Speed Dial 764 Paul McFedries' Windows 98 xxii —

Using HyperTerminal for Modem-to-Modem Connections 765 Creating a New HyperTerminal Connectoid 766 Phase I: Defining the Basic Connectoid Options 766 Phase II: Defining the Connectoid's Modem Properties 767 Phase III: Defining the Connectoid's Settings 769 Connecting to a Remote System 770 Performing File Transfers 771 Disconnecting from the Remote System 772 Connecting to Another Computer 772 Entering AT Commands in HyperTerminal 773 Summary 774 28 Setting Up Windows 98 for Networking 775 An Introduction to Windows 98 Networking 776 Windows 98 and Microsoft Networks 776 Windows 98 and NetWare Networks 779 What's New in Windows 98 Networking 783 Network Installation and Configuration 784 Installing and Configuring a Network Adapter 785 Installing a Client 786 Installing and Configuring Protocols 793 Installing and Configuring Network Services 797 Establishing Your Primary Network Logon 797 Microsoft Networking Logon Options 797 Setting Up Server Accounts 798 Identifying Your Computer 798 Summary 799 29 Working with Network Resources 801 Accessing Network Resources 802 Logging on to the Network 802 The Network Neighborhood 804 The Universal Naming Convention 806 Mapping a Network Drive 807 Accessing Resources on NetWare Networks 808 Changing Your Password 812 Automatic Domain Logons 812 Network Printing 813 Windows 98 as a Server: Sharing Your Resources 817 Access Control: Share-Level Versus User-Level 818 File and Print Sharing for Microsoft Networks 818 File and Print Sharing for NetWare Networks 823 Summary 826 Contents xxiii

30 Network Administration and Security 829 Hiding Shared Resources 830 Tips for Choosing a Password 831 NetWare Security Issues 833 Setting Up Remote Administration 833 Remote Administration Via the 836 Installing the System Policy Editor 836 Setting Up Clients for Group Policies 837 Working with the System Policy Editor 837 Working with a Local Registry 838 Working with a Remote Registry 839 Creating a Networkwide Policy File 839 Working with User Settings 842 Working with Computer Settings 844 Connecting to a Remote Registry from the Registry Editor 846 Watching the Network with Net Watcher 846 Connecting to a Remote Server 847 Viewing the Current Connections 847 Working with Shared Folders 848 Working with Open Files 849 Using System Monitor on a Remote Computer 850 Remote Administration from the Network Neighborhood 850 Summary 851 31 Network Troubleshooting 853 A Starting Point: Microsoft Network Diagnostics 854 Naming Your Diagnostics Server 855 Examining Adapter Status 856 Some System Policy "Problems" 857 When All Else Fails, Reinstall Your Drivers 858 Troubleshooting General Network Nuisances 859 Cable Conundrums 866 Some Things to Bear in Mind When Running Cable 866 Cable Limitations 867 Troubleshooting Cables 868 Troubleshooting Adapter Afflictions 869 More Sophisticated Tools 870 Summary 871 32 Remote Computing with Dial-Up Networking 873 Dial-Up Networking Fundamentals 874 Dial-Up Networking Client Architecture 875 Paul McFedries' Windows 98 xxiv — I UNLEASHED

Setting Up Windows 98 for Dial-Up Networking 879 Step 1: Install the Dial-Up Adapter 879 Step 2: Configure the Dial-Up Adapter 879 Step 3: Create a New Connectoid 882 Step 4: Configure the Connectoid Properties 884 Connecting to the Remote Network 886 Working with Dial-Up Networking Settings 888 Using PPTP to Establish a Virtual Private Network Connection.. 890 Configuring Microsoft for Remote Sessions 891 Creating a Remote Profile 891 Setting Up Microsoft Mail's Remote Properties 891 Using Microsoft Mail Remotely 894 Using the Dial-Up Scripting Tool 895 Understanding Scripts 895 Assigning a Script to a Connection 899 Running the Connection with the Script 900 Using the Dial-Up Server 900 Configuring the Dial-Up Server 901 Activating and Deactivating the Server 903 Summary 904 Part VII Unleashing Windows 98 for the Internet and Intranet

33 Implementing TCP/IP for Internet and Intranet Connections 909 Understanding TCP/IP 910 What Is TCP/IP? 910 Understanding IP 911 Understanding TCP 923 Installing and Configuring TCP/IP 927 Installing the TCP/IP Protocol 927 Configuring the TCP/IP Protocol 929 Finishing the Configuration 932 Connection-Specific TCP/IP Settings 933 Wielding the TCP/IP Utilities 934 The PING Command 935 The TRACERT Command 937 Summary 938 34 Windows 98 and the Internet 941 Setting Up Windows 98 to Connect to the Internet 942 What You've Learned So Far 943 ANoteAboutWINS0CK.DLL 944 Starting the Internet Connection Wizard 945 Contents xxv

Setting Up a New Internet Account 946 Setting Up an Existing Internet Account 948 Changing the Connection Properties 952 Connecting to Your Service Provider 955 TCP/IP and Internet Security 957 The Net Is Your Oyster 959 Using FTP for Internet File Transfers 960 Using Telnet for Remote Internet Sessions 964 Starting the Telnet Client 964 Setting Telnet Preferences 964 Connecting to a Remote Host 966 Logging a Telnet Session 967 Disconnecting from the Remote Host 967 Summary 967 35 Exploring the Web with Internet Explorer 969 Starting Internet Explorer 970 A Tour of the Internet Explorer Screen 970 Navigating with Internet Explorer 973 Following the Links 973 Entering a URL 974 Retracing Your Steps 975 Creating a Shortcut to a URL 976 The Handy History Bar 977 Using the Search Bar 977 The Favorites Folder: Sites to Remember 980 Adding a Shortcut to the Favorites Folder 980 Viewing the Favorites Folder 981 Opening an Internet Shortcut from the Favorites Folder 981 Dealing with Files 982 Setting Up Subscriptions 983 Channel Surfing: Internet Explorer's Active Channels 986 Customizing Internet Explorer 989 Customizing the Links Bar 989 Setting Some Options 991 General Options 991 Security Options 993 Content Options 1000 Connection Options 1003 Programs Options 1003 Advanced Options 1004 Summary 1009 Paul McFedries' Windows 98 xxvi —

36 and Internet 1011 A Brief Email Primer 1012 Getting Started with Outlook Express 1012 Understanding the Message Folders 1014 Importing Messages and Addresses 1015 A Look Around a Message Folder 1017 Creating New Folders 1018 Other Folder Operations 1019 Working with the 1020 Adding a New Address 1021 Creating an Address Group 1022 The Address Book and Electronic Business Cards (vCards) ... 1024 Composing and Sending a New Message 1024 Outlook Express's Send Options 1025 Composing a Message 1028 Using the Address Book to Specify Recipients 1029 Inserting a File into a Message 1030 Working with Stationery and Signatures 1031 Reading Incoming Mail 1034 Retrieving Messages 1034 Outlook Express's Read Options 1035 Working with Your Messages 1037 Replying to a Message 1038 Forwarding a Message 1039 Sorting the Messages 1039 Exporting Messages to a Personal Folders File 1040 Using the Inbox Assistant to Filter Messages 1040 Finding Text, Messages, and 1043 Finding Text in a Message 1043 Finding Messages 1043 Finding People Using a Directory Service 1044 Customizing Outlook Express 1045 Customizing the Message Columns 1045 Modifying the Outlook Express Layout 1046 Setting Some Mail Account Options 1048 Setting Some Outlook Express Options 1049 Summary 1052 37 Outlook Express and Usenet News 1053 Some Usenet Basics 1055 Figuring Out Newsgroup Names 1056 Understanding Articles and Threads 1056 Contents xxvii

Working with Newsgroups in Outlook Express 1057 Subscribing to a Newsgroup 1059 Unsubscribing from a Newsgroup 1059 Downloading Messages 1060 Connecting to the News Server 1060 Downloading Message Headers 1060 Disconnecting from the News Server 1060 Downloading Messages 1061 Notes on Working with Newsgroup Messages 1062 Writing a Rejoinder: Following Up a Message 1063 Posting a New Message 1063 Filtering Newsgroup Messages 1064 Setting News Options 1065 Options for Newsgroups and Messages 1065 Options for Individual Newsgroups 1067 Summary 1068 38 Remote Collaboration with Microsoft NetMeeting 1071 Configuring NetMeeting 1072 A Tour of the NetMeeting Window 1076 Placing NetMeeting Calls 1077 Placing Simple Calls 1077 Hanging Up from a Call 1081 Using the Directory to Make a Call 1082 Accessing the Web Directory 1083 Using the SpeedDial Feature 1084 Hanging Out a "Do Not Disturb" Sign 1085 Exchanging Files in NetMeeting 1086 Using the Chat Feature 1087 Using the Whiteboard 1088 Sharing Programs 1091 Sharing an Application in Work Alone Mode 1091 Sharing an Application in Collaborate Mode 1092 Some Notes About Sharing Applications 1092 Setting NetMeeting Properties 1094 The General Tab 1094 The My Information Tab 1095 The Calling Tab 1095 The Audio Tab 1095 The Video Tab 1097 The Protocols Tab 1098 Summary 1099 f

PaulMcFedries' Windows 98

39 Web Page Publishing with Windows 98 1101 Understanding HTML Tags 1102 The Basic Structure of Web Pages 1103 Getting Started with FrontPage Express 1103 Adding a 1105 Entering Text and Paragraphs 1106 Adding Formatting and Headings 1106 Setting Up Lists 1108 Working with Hyperlinks 1109 Inserting Images, Sounds, and Video , 1111 Adding an Image 1111 Adding a Background Sound 1113 Adding a Video 1115 Setting Up Tables 1115 A Few More FrontPage Express Techniques 1120 A Few More Things to Insert 1120 A Few More Things to 1121 Publishing Pages Using the Web Publishing Wizard 1122 Summary 1124 40 Setting Up a Windows 98 World Wide Web Server 1125 Getting Started with Personal Web Server 4.0 1126 Setting Up Personal Web Server 1128 Understanding Your Root Address 1129 Starting and Stopping Personal Web Server 1130 Testing the Web Server 1131 Testing an Intranet Connection 1131 Testing an Internet Connection 1133 Configuring Your Web Site Folders 1134 Another Way to Set Up Web Folders 1136 Logging Site Activity 1137 Publishing Pages to Your Web Site 1138 Summary 1140 Part VIII Appendixes

A Glossary 1143 В Creating Automated Windows 98 Setups 1163 About Batch 98 1164 Installing Batch 98 1164 Creating Scripts for Automated Setups 1165 Automated Setups Using a Common Registry 1165 Creating a Custom Setup Script 1166 Setting Up Windows 98 on the Client 1170 Contents xxix

С Troubleshooting Setup Woes 1173 Understanding Safe Recovery 1174 Safe Recovery if Setup Failed Before Hardware Detection 1175 Safe Recovery if Setup Failed During Hardware Detection .... 1176 Safe Recovery if Setup Failed After Hardware Detection 1178 Setup Won't Start 1178 Setup Hangs During Installation 1178 The Clean Boot 1179 Setup Hangs During the ScanDisk Check 1180 Setup Hangs After the First Reboot 1180 Hardware Problems 1183 Setup Error Messages 1184 Uninstall Problems 1188 Miscellaneous Problems 1190 D Under the Hood: Understanding the Windows 98 Architectures 1195 The Windows 98 Architecture: A Modular Approach 1196 Device Drivers 1197 Configuration Manager 1197 The Installable Manager 1197 Virtual Machine Manager 1197 Process Scheduling and Multitasking 1198 Memory Paging 1199 Support for MS-DOS Mode 1200 Core Components 1200 The User Component 1200 The GDI Component 1200 The Kernel Component 1200 The Windows 98 Shell 1200 Application Support 1201 The Windows 98 Registry 1201 Intel's Protection Ring Architecture 1201 Improvements in the Windows 98 File System 1202 The Windows 98 File System Architecture 1203 More About the Manager 1204 File System Device Drivers 1204 The Virtual (VFAT) 1204 The CD-ROM File System (CDFS) 1205 Network Redirectors 1205 The Block I/O Subsystem 1205 The I/O Supervisor 1205 The Port Drivers 1205 SCSI Support 1206 Paul McFedries' Windows 98 xxx — UNLEASHED

E A Networking Primer 1207 Some Networking Basics 1208 LANs, WANs, MANs, and More 1210 Client/Server Versus Peer-to-Peer 1211 Hardware: NICs and Other Network Knickknacks 1215 The Network Interface Card 1215 The Cable Connection 1216 More Hardware Goodies 1220 Walking the Walk: Topology and the Lay of the LAN 1221 The Star Topology 1221 The Bus Topology 1221 The Ring Topology 1223 Talking the Talk: Networking Protocols 1224 F Internet Security: Digital IDs and Encryption 1227 Email Security: The Issues 1228 The Privacy Problem 1228 The Authenticity Problem 1229 Is This Mere Paranoia? 1229 Understanding Public-Key Encryption 1230 A Further Measure: The Digital ID 1231 Email Security Features in Outlook Express 1232 Getting a Digital ID 1232 Assigning the Digital ID to an Email Account 1232 Backing Up Your Digital ID 1234 Digitally Signing an Outgoing Message 1235 Encrypting an Outgoing Message 1235 Handling Secure Incoming Messages 1236 Outlook Express Security Options 1237 G A Batch File Primer 1241 Batch Files: Some Background 1242 Creating Batch Files 1242 A Home for Your Batch Files 1243 Using Batch Files to Start Programs 1243 REM: The Simplest Batch File Command 1244 : A Voice for Your Batch Files 1245 The PAUSE Command 1246 Using Parameters for Batch File Flexibility 1247 How Parameters 1247 Improving on DOS 1249 Making Safer 1249 Changing Folders and Drives in One Step 1250 Excluding Files from a Copy Command 1250 Contents xxxi

SHIFT: A Different Approach to Parameters 1251 Looping with the FOR Command 1252 Looping: The Basics 1252 Finally, the FOR Command 1253 A Simple Batch File Example 1254 Different Sets for Different Folks 1254 Making Smart Batch Files 1255 GOTO: Telling Your Batch Files Where to Go 1255 IF: Handling Forks in a Batch File's Road 1257 Testing Parameters with IF 1258 Checking for Missing Parameters 1259 The SHIFT Command Redux 1259 Using IF to Check Whether a File Exists 1260 Checking for Command Errors 1261 : Do You Need to Get Input from the User [Y,N]? 1263 Redirecting DOS 1265 Redirecting Command Output 1265 Redirecting Input 1266 Piping Commands 1268 Summary 1269 H Programming the Windows Scripting Host 1271 WSH: Your Host for Today's Script 1272 Scripts and Script Execution 1273 Running Script Files Directly 1274 WScript: Windows-Based Scripts 1274 CScript: Command-Line Scripts 1275 Script Properties and WSH Files 1275 Programming Objects 1277 Working with Object Properties 1277 Working with Object Methods 1279 Assigning an Object to a Variable 1280 Working with Object Collections 1281 The Windows Scripting Host Object Model 1282 The WScript Object 1282 WScript Object Properties 1282 WScript Object Methods 1283 Scripting and Automation 1284 The WshArguments Collection 1289 The ScriptEngine Object 1289 The WshShell Object 1290 Referencing the WshShell Object 1290 Displaying Information to the User 1290 Paul McFedries' Windows 98 xxxii — UNLEASHED

Running Applications 1294 Working with Shortcuts 1295 Working with Registry Entries 1297 Working with Environment Variables 1299 The WshNetwork Object 1300 Referencing the WshNetwork Object 1301 WshNetwork Object Properties 1301 WshNetwork Object Methods 1301 I DOS Commands in Windows 98 1305 J The Windows ANSI Character Set 1311

Index 1319