Bitzenbytes.com

CompuClues Forum

  User  Password
Thursday, May 15, 2008 - 05:02 AM
Search
Main Menu
Who's Online
MEMBERS ONLINE

You are an anonymous user. You can register for free by clicking here
User name
Password
 Remember me
Firefox
Get Firefox 110
Languages
Preferred language:

Windows 2000 Introduction - CompuClues Arcanum
Windows 2000 Introduction
Date: September, 2002
From: Bob
Note:  The information here comes from several sources.  It is published in several books, Microsoft publications, Web pages all over the internet, and various conversations I have had with other people.  The illustrations are similar to many other such illustrations published by many people in many places, but all of these were created by me from scratch.  The information here is by no means complete.  If you have more than a casual interest in this information, get ye some reference materials other than this.  -- bob
 

Windows 2000 Topics

Basic Features and Benefits

 


Windows Architecture

Windows 2000 Kernel

User Mode - Kernel Mode

 

Overview of Windows Components

User Mode Drivers - Kernel Mode Drivers


 
Windows 2000 Sales Talk
    R - Reliability and Availability
    I - Integrated Platform (across all product offerings & admin tools)
    B - Backward Compatibility (Win32, POSIX, Interix, WOW)
    S - Security (Kerberos & PKI & L2TP with IPSEC) & EFS
    R - Reduced (TCO) Total Cost of Operations (MMC, AD, Centralization)
    A - Automated Deployment (RIS, Unattended, Answer File, Intellimirror)
    C - Consistent User Interface (GUI, Policy Management, SSO)
    E - Extended Scalability (SMP - Clustering)

Alt.

    S - Scalability (SMP, Clustering)
    C - Compatibility (W32, POSIX)
    R - Reliablity
    A - Availabiltiy
    M - Manageability (MMC, AD, Centralization)
    D - Deployment (RIS, unattended, Intellimirror)
    U - User Interface (GUI, Policy Management)
    S - Security (Kerberos, PKI, and L2TP with IPSEC, and EFS)
    T - TCO (MMC, AD, Centralization)

 

Enhanced Hardware Support
    Plug and Play (PnP) -- not available in NT4
    Signed Device Drivers
    Multiple Monitors (up to 10)
    USB
    Firewire (IEEE 1394)

Networking Enhancements

    TCP/IP (default protocol)
    Dynamic DNS
    VPN - PPTP, L2TP with IPSEC
    Remote Access Support - increased number of simultaneous sessions
    AppleTalk Interoperability
    UNIX Interoperability
    Novel Netware Interoperability
    Included Internet Browser
    Web Server Support

Windows 2000 Family
    Windows 2000 Professional
    1 or 2 processors
    4 GB memory
    Business Desktop Operating System

 

    Windows 2000 Server
    1,2, or 4 processors
    4 GB memory
    Active Directory Domain Controller
    Member Server
    File, Application, Web, Print server

 

    Windows 2000 Advanced Server
    1,2, 4, or 8 processors
    4 GB memory
    8 GB memory with iPAE
    two-way clustering
    Database Server
    Enterprise Solutions

 

    Windows 2000 Datacenter Server
    1, 2, 4, 8, or 16, OR Up to 32 processors with OEM support
    4 GB memory
    16 GB memory with iPAE
    four-way clustering
    OLTP - OnLine Transaction Processing
    OLAP - OnLine Analytic Processing
    ISP - Large-scale Internet Service Providers
    Large-scale Website hosting
    Data warehousing applications
    Large Enterprise Solutions

 

Default processes running under Windows 2000


 
Hardware

Minimum Configuration - Minimum Hardware Requirements

    Windows 2000 Professional
    Windows 2000 Server
    Windows 2000 Advanced Server

Windows 2000 Professional

    133 MHz or higher Pentium-compatible CPU
    64 megabytes (MB) of RAM recommended minimum; more memory generally improves responsiveness up to 4 gigabytes (GB) RAM maximum.
    2 GB hard disk with a minimum of 650 MB of free space. (Additional free hard disk space is required if you are installing over a network.)
    Windows 2000 Professional supports single and dual CPU systems

Windows 2000 Server

    133 MHz or higher Pentium-compatible CPU
    256 MB of RAM recommended minimum. (128 MB minimum supported; 4 GB maximum.)
    2 GB hard disk with a minimum of 1 GB of free space. (Additional free hard disk space is required if you are installing over a network.)
    Windows 2000 Server supports up to four CPUs on one machine.

Windows 2000 Advanced Server

    133 MHz or higher Pentium-compatible CPU
    256 MB of RAM recommended minimum (128 MB minimum supported; 8 GB maximum.)
    2 GB hard disk with a minimum of 1 GB of free space. (Additional free hard disk space is required if you are installing over a network.)
    Windows 2000 Advanced Server supports up to eight CPUs on one machine

Windows 2000 Datacenter Server

    8-way capable or higher server (supports up to 32-way) *Note: Fault-tolerant system configurations are required to have at least 8 processors within the hardware solution
    Pentium III Xeon processors or higher
    256 megabytes (MB) of RAM recommended
    2 gigabyte (GB) hard disk with a minimum of 1 GB free space. (Additional free hard disk space is required if you are installing over a network.)

Other Considerations


On the side:

Windows XP:

    233 MHz minimum required (single or dual processor system); N.B., Intel Pentium/Celeron family, or AMD K6/Athlon/Duron family, or compatible processor recommended
    128 megabytes (MB) of RAM or higher recommended (64 MB minimum supported; may limit performance and some features)
    1.5 gigabytes (GB) of available hard disk space



User Mode

User mode layer of Windows 2000 is made up of a set of components known as subsystems. There are two: Integral and Environmental.

A subsystem processes I/O requests by passing them to the appropriate kernel mode driver through the I/O systems services. A subsystem is the layer that translates the requests of end user applications for the kernel. End user applications have no need to know about kernel mode operation because all communication between an end user application and services offered by the kernel are relayed by a user mode subsystem.

Environmental Subsystems implement the interface required by an end user application written to run under a specific operating system. An environmental subsystem is an operating system emulator in that it presents an API (application programming interface) required to run the program. Environmental subsystems accept the API calls made by the program, convert them to an API call understood by Windows 2000, and then pass the converted API to the Windows 2000 Executive running in kernel mode.

At present, Microsoft supports two Environmental Subsystems: Win32 and POSIX. Win32 supports WOW which means that it supports 32 bit windows applications, 16 bit windows applications, and MS-DOS applications. POSIX (Portable Operating System Interface for Unix standard) supports programs written to that interface.

Environmental subsystems and the programs that they support have no direct access to hardware or device drivers and are limited to the amount of memory assigned to them. When the system needs memory or CPU cycles, environmental subsystems, and the programs that run using the provided API, lose -- they are forced to yield CPU and memory if necessary, and are swapped to hard drive space.

Integral subsystems run in user mode but perform essential operating system functions. The most important integral subsystems are the Server Service, the Workstation Service, and the Security Subsystem (a collection of services and data structures.)

Server Service provides network resources to the network. Workstation Service uses network resources found on the network. The Security subsystem accepts logon requests and initiates logon authentication, as well as creating security tokens, and tracking rights and permissions associated with user accounts. The Security Subsystem also tracks audited system resources.

Kernel Mode

Kernel Mode encompasses 4 sub-systems:

    Windows 2000 Executive
    Hardware Abstraction Layer (HAL)
    Device Drivers
    Microkernel

Kernel mode subsystems run in a protected area of memory to provide services to user mode subsystems which functionally protects and isolates the hardware from the software.

Windows 2000 Executive

The Executive provides most of the I/O and object management for the system including security functions. This does not include keyboard and screen I/O. There are nine components within the Executive:

    S - Security Reference Manager
    O - Object Manager
    P - Process Manager
    V - VMM - Virtual Memory Manager
    I - I/O Manager
    File Systems
    Device Drivers
    Cache manager
    P - Power Manager
    W - WM and GDI
    Windows Manager
    Graphical Device Interface
    I - IPC - Interprocess Communications Manager
    LPC - Local Procedure Call facility
    RPC - Remote Procedure Call facility
    P - Plug and Play Manager

HAL - Hardware Abstraction Layer

The HAL hides (virtualizes) hardware interface details from Windows. Different hardware can run windows because the HAL presents a consistent interface for Windows across all platforms. The HAL is platform specific. Support for the Alpha has been discontinued (...after W2K SR1). The HAL handles caches, I/O buses, interrupt controllers, and other platform specific devices.

Kernel Mode Drivers

Kernel Mode Device Drivers translate I/O requests into hardware functions. A Kernel Mode Device Driver is a modular component with a well defined and specific set of functionality requirements. Kernel mode device drivers meet the same design goals of Windows 2000 itself, including;

    Portability among different platforms
    Hardware and software compatibility
    Continuously preemptible and interuptible without exception
    Compatible with Symettric multiprocessing (SMP)
    Object-driven
    Packet-driven I/O with reusable IRPs
    Support for asynchronous I/O

Kernel mode device drivers are divided into three levels:

    highest level
    intermediate level
    lowest level

The Highest Level drivers require support from drivers in the other two layers. This level includes File SyStem Drivers (FSD) for FAT, NTFS, and CDFS.

Intermediate Level drivers include virtual disk, mirror, or device-type specific class drivers. These drivers get support from lower layer drivers and give support to upper layer drivers. Intermediate Level drivers include PnP Function and filter drivers, Windows Driver Model (WDM) software bus drivers, PNP software bus drivers, and system-supplied class drivers that export system-defined WDM class/miniport drivers.

The Lowest-Level drivers include PnP hardware bus drivers, Legacy drivers, SCSI host adaptors, and more. Lowest-level drivers don't require support from other lowest-level drivers, and maintain function to control physical peripheral devices directly such as a SCSI bus.

Windows Driver Model (WDM)

The Windows Driver Model (WDM) is a subset of Intermediate Level Kernel Mode drivers. The WDM specification details an architecture for hardware drivers. WDM device drivers have a common set of WDM I/O services and a planned binary compatibility between Windows 2000 and Windows 98 operating systems. This allows full compatibility for WDM-compatible devices with a single driver written in either Windows 98 or Windows 2000.

There are 4 classes of WDM drivers:

    Miniport Drivers
    Class Drivers
    OS Services
    Virtualizaton drivers

The code for each WDM class abstracts many of the common details involved in controlling similar hardware devices. Employing WDM, programmers write miniports (smaller code segments) that talk to hardware directly and call the appropriate class driver to perform the bulk of common tasks.

Miniport Drivers

Miniport Drivers include drivers for SCSI host adaptors, Network adaptors, and USB adaptors and have the following attributes:

    indirect control of hardware through a specific bus class driver
    source and binary compatibility across Microsoft Windows platforms
    dynamically loadable and unloadable
    provide hardware-specific functionality
    capacity to expose multiple class interfaces

Class Drivers

class Drivers are drivers for drivers. A class driver provides an interface between different layers of the WDM architecture. The lower layer of a class driver communicates with the class-specific interface exposed by a miniport driver. The upper layer of a class driver is OS specific. Class drivers have the following attributes:

    provide dynamic loading and unloading
    provide class-specific functionality (e.g., enumeration)
    Capacity to expose a single class-specific interface to multiple client layers

OS Services

The OS Services layer of abstraction is always specific to the operating system. This layer abstracts (hides and/or translates) all the operating specific functions from the miniport layers beneath it. The functionality of this layer includes:

    thread managemenr
    heap management
    event services



Virtualization Drivers

The image for a Virtualization Driver is contained in a .VXD file. The function of a virtualization driver is to virtualize the interfaces of legacy hardware and send class-specific commands to the appropriate device. These drivers act as go-betweens to allow legacy hardware or software to function with non-legacy components. Microsoft cites, as an example, an MS-DOS program being controlled by a USB joystick using a Virtualization Driver as the go-between.

The Microkernel translates information for the processor, Including I/O requests.
 

 
Active Directory
Active Directory provides a means to organize access to resources of a networked computer system.  Active Directory can be searched for resources.  Active Directory provides a method of applying security to protect objects in the AD database.   Active Directory provides a method of publishing the directory across the network.   Active Directory provides a method of replication for fault tolerance.

Active Directory provides a name space for network objects and uses DNS for its name system.   Active Directory can exchange information with any system that employs LDAP or HTTP.  LDAP (RFC1777) is a version of X.500 directory access protocol, a simplified alternative to DAP (Directory Access Protocol.)

Active Directory supports several common name formats:
       RFC822 Takes the form of person@domain and is familiar to most people as an Internet e-mail address now incorporated in Internet Message Format.
HTTP Uniform Resource Locator (URL) - Takes the from of http://domain/path-to-page
UNC Universal Naming Convention - Takes the form of \\ServerName\Path
LDAP URL Active Directory supports a string representation of distinguished names (as a draft to RFC1779, Obsoleted by: RFC2253, Updated by: RFC3377) and uses the following attributes:
LDAP://ServerName.DomainName.TLD/CN=FirstnameLastname, OU-sys, OU=product, OU=division,DC=develop
- where -
CN is the Common Name
OU is the Organizational Unit Name
DC is the Domain Component Name
The LDAP URL specifies the server on which the Active Directory services reside and the attributed name of that object.

Any user of an Active Directory object must first authenticate to the security subsystem.  The security subsystem and the directory service are tightly integrated and is required for the implementation of Windows 2000 distributed systems.  The Security Reference Monitor enforces the access control to all Active Directory Objects.

Location of Active Directory in the Windows 2000 Operating System...

Active Directory runs in the Security Subsystem in User Mode.  The Security Reference Monitor runs in Kernel Mode and is the primary authority for enforcing the security rules of the Security Subsystem.
 

Active Directory Architecture
 
Active Directory functions through the action of service processes running under Windows 2000.  Some of these services are dependent or interdependent on other services.   The relationship between these services can be illustrated in a layer model (with which you have become familiar) and include various protocol mechanisms and interfaces.   By Microsoft's definition, Active Directory has three service layers and several interfaces and protocols/API's that work to provide directory services to the network.   In the illustration below the direction of the arrows is intended to show how various clients access the Active Directory services.

s106-adarch.gif (7912 bytes)

The key service components include the following:

Key Service Components
    
     Directory System Agent (DSA) - builds a hierarchy from the parent-child relationships stored in the directory.  Provides APIs for directory access calls.
Database Layer provides an abstraction layer between applications and the database.  Calls from applications are never made directly to the database; they go through the database layer.
Extensible Storage Engine communicates directly with individual records in the directory data store on the basis of the objects relative distinguished name attribute.
Data Store (the database file, NTDS.DIT) is manipulated only by the Extensible Storage Engine database engine, sotred in the \WINNT\NTDS folder on the domain controller.  You can administer the file by using the NTDSUTIL tool, located in the \WINNT\system32 folder on the domain controller.
    
The following mechanisms, supported by DSA, are used by clients to obtain access to Active Directory...
    
     LDAP/ADSI Clients that support LDAP use it to connect to the DSA.  Supported are LDAP version 2 (RFC1777) and LDAP version 3 (RFC2251).  Windows clients (W9X with client, W2K) use LDAP version 3 to connect to the DSA.  ADSI is a means of abstracting the LDAP API.  Active Directory uses only LDAP.
MAPI (Messaging Application Programming Interface)  Provides interface for legacy MAPI clients such as Microsoft Outlook.  The client connects to the DSA by using the MAPI RPC address book provider interface.
SAM (Security Accounts Manager) The SAM interface is used by Windows NT 4 clients to connect to the DSA.  Replication for NT4 BDC's goes through the SAM interface as well.
REPL (Replication) Active Directory DSAs connect to each other using a proprietary RPC interface for the purpose of performing directory replication.
    
Windows 2000 Logon
    
The logon process is essential to everything a user can do while working in a Windows 2000 Network environment.  It authenticates the user to the network to verify the identity of the user, and it delivers to the user the required permissions needed to use authorized network objects as well.  The Windows 2000 Network logon requires entry of a username and password.  Users are identified to the system whether that identification is for the local machine or for the domain.

This process is similar to the Windows NT4 logon process except that the validating database for the domain is not managed by the Security Access Manager but by Active Directory on a domain controller.

[Printer friendly page | Send to a friend]