
Microsoft Windows 2000 Server
Study Guide
INSTALLATION
REQUIREMENTS
Windows
2000 Server requires the following:
Windows 2000
Server:
Windows 2000 Advanced Server:
Once you meet these criteria, you need to check your
hardware and software compatibility at
http://www.microsoft.com/windows2000/upgrade/compat/default.asp
UPGRADE
PATHS
Listed below are
important upgrade paths that you will need to know:
| CURRENT OS: | UPGRADE TO: |
| Windows 95 | Windows 2000 Professional |
| Windows 98 | Windows 2000 Professional |
| Windows NT Workstation | Windows 2000 Professional |
| Windows NT Server | Windows 2000 Server |
| Windows NT Terminal Service Addition | Windows 2000 Server, Advanced Server |
| Windows NT Enterprise Edition | Windows 2000 Advanced Server, Datacenter |
| Windows 2000 Advanced Server | Windows 2000 Datacenter |
There is no upgrade
path from Windows 3.x
INSTALLING
As in NT 4.0, there are 2 installation
options. You can use WINNT.EXE or WINNT32.EXE depending on
your situation. Winnt.exe is used for a clean installation on
a computer running DOS or Windows 3.x and can use the
following installation switches:
| WINNT.EXE: | |
| /e: command | Executes a command before the last phase of setup. |
| /r: foldername | Creates an additional folder in the folder where the Windows 2000 files are installed. The folder IS NOT DELETED after Setup finishes. You can use additional /r switches to install additional folders. |
| /rx: foldername | Creates a folder to be copied as a part of setup - into the Windows 2000 directory, but the folder IS DELETED as setup finishes. |
Use Winnt32.exe
for a clean installation or upgrade on an NT 4.0 server. This
is the option that most of you will be using. There are a
number of switches that can be used with winn32.exe. Below are
a couple of the important ones:
| WINNT32.EXE: | |
| /copydir: foldername | Creates an additional folder in the folder where the Windows 2000 files are installed. The folder IS NOT DELETED after Setup finishes. You can use additional /r switches to install additional folders. Same as /r for winnt.exe. |
| /copysource: foldername | Creates a folder to be copied as a part of setup - into the Windows 2000 directory, but the folder IS DELETED as setup finishes. Same as /rx for winnt.exe. |
| /cmd: | Executes a command before the last phase of setup. Same as /e: for winnt.exe. |
| /cmdcons | Installs the appropriate files to restart the system in command-line non-graphical mode for repair purposes. |
| /syspart | Prepares a hard disk to be transferred to another computer system. This switch installs setup files and marks the partition active. Requires the use of /tempdrive switch. |
| /tempdrive | Specifies which drive to install Windows 2000 temporary files during setup. |
| /makelocalsource | Copies all of the Windows 2000 source files to the target drive during installation. |
| /noreboot | Avoids reboot after installation so that another command can be run. |
| /checkupgradeonly | Checks your system for incompatibilities that will prevent a successful upgrade. |
| /unattend | Upgrades your previous version of Windows by using unattended Setup mode. All user settings are taken from the previous installation so that no user intervention is required during Setup. You can also use this command in an unattended installation by specifying the [seconds][:answer_file] variables. |
Windows 2000
supports unattended installations, of course. Setup Manager is
used to create unattended setup files which will work with
Windows 2000 Professional and server, but not for a domain
controller.
Windows 2000 includes a new utility called
SysPrep.exe, which an installation "image" that can be
duplicated using imaging software while avoiding problems with
duplicated SIDS, computer names etc.
For the most part
you will find Windows 2000 installation is very similar to NT
4.0. which is why the following instructions are going to be
fairly brief. The installation is so easy that you probably
won't even need this guide.
If you have a computer that
will boot from the CD, then this is probably the way to go,
otherwise you will be creating 4 setup disks using the
makeboot.exe utility on the installation CDROM. Just like the
NT 4.0 installation, we will start with the text based portion
of the setup. You will be presented with an option to press
enter to install Windows 2000. You can also press r to repair
a damaged installation or F3 to abort the installation. After
you press enter you will read the license agreement and press
F8 to accept. You will now be presented with a list of all of
the disks and partitions that are on the system. Like NT 4
installation, you will have the option to create a new
partition or select an existing one to install onto. Press C
and you will arrive at the option to select NTFS, FAT or leave
it the way it is. Files will be copied to your disk. After a
reboot, the GUI based portion of setup will begin. As you can
see the installation follows the same format as NT
4.0.
Windows 2000 is Plug and Play. The first portion
of the GUI setup will detect your hardware and install drivers
for it. Next you will have the option to select the locale for
the computer. Then you will enter your name and orginization
followed by the license key. After you click next you will be
prompted for the licensing mode and will have the option of
per seat or per server. Make sure you choose the option that
will accomodate the environment that you will be using the
server in. Next, you will enter the computer's name and an
Administrative password(don't lose this). Now you will see a
list of services that you can choose to install. This will
obviously vary depending on which services you will need to
use on your network. Now you will be prompted to enter the
date and time zone. The services that you selected in the
previous step will now be installed. Now you will have the
option to select whether you want typical network settings or
want to specify custom settings. The typical option would be
using DHCP. Select the "custom" option if you wish to specify
IP parameters and/or add other protocols. After this, you will
be prompted to add the server or create a new workgroup or
domain. If you are adding the server to an existing domain,
you will need to have an account established. Now the install
will finish and the machine will be rebooted. The installation
is finished.
By default, all Win2K servers are
installed as Standalone Member Servers. DCPROMO.EXE is
the Active Directory Installation Wizard and is used to
promote a non-domain controller to a DC and vice versa.
BACKUP AND RECOVERY
Recovery Console:
Now that you have installed Windows 2000, you should
immediately take steps to protect your installation by
installing the Recovery Console. Recovery Console is similar
to the emergency repair disk in NT 4.0, but with many
functionality enhancements. Recovery Console will allow you to
You can start and stop services, read and write data on a
local drive (including drives formatted with the NTFS file
system), copy data from a floppy disk or CD, format drives,
fix the boot sector or master boot record, and perform other
administrative tasks. With Windows NT 4.0, many administrators
would create a FAT partition that would allow them to boot to
a DOS prompt. The recovery console eliminates the need to
create a FAT partition for this purpose.
Recovery
Console is set up as follows:
Insert the installation CD
and switch to the I386 directory. Type C:\>winnt32
/cmdcons. When asked for confirmation, answer "yes". The
file will be copied to the hard disk. After rebooting the
computer you will be able to select "Microsoft Windows 2000
Command Console" and start Windows 2000 in command mode. You
will be prompted for a Windows 2000 installation that you wish
to repair and will be prompted for the Adminstrator password.
Once you are in, there is a wide variety of commands that you
will be able to perform. Type HELP for a list of all of the
commands. Some of the more important commands are:
Backup:
The Backup program has been greatly
enhanced in order to support Active Directory and a much wider
variety of backup media including removable disks, network
drives, logical drives and tape devices are now supported.
Another nice feature is that an integrated scheduling option
has been added which relieves the need to use AT or other
scheduling utility.
Other:
Windows 2000
has several other utilities to aid in the event of a failure,
many of which are included in "Advanced Options" which are
accessed by pressing F8 at the boot menu. In order to
troubleshoot failures, it is a good idea to understand the
boot process which occurs in the following steps:
The boot process requires the following
files:
| File |
Location |
|---|---|
| NTLDR |
Active Partition |
| Boot.ini |
Active Partition |
| Ntdetect.com |
Active Partition |
| Ntoskrnl.exe |
%SystemRoot%\System32 |
| Hal.dll |
%SystemRoot%\System32 |
| SYSTEM key |
%SystemRoot%\System32\Config |
| Device drivers |
%SystemRoot%\System32\Drivers |
Ntbootdd.sys
is required only if you are using a SCSI-controlled boot
partition, and the SCSI adapter does not have a SCSI BIOS
enabled. Bootsect.dos is required only for multiple booting.
When working with the boot.ini file, you need to
understand ARC naming conventions. ARC is an
architecture-independant way of naming drives for x86, risc,
alpha, etc. NT uses this convention in its boot.ini file to
determine which disk holds the OS. The table below will
explain the different options.
| Multi(x) | Specifies an EIDE disk or a SCSI disk if the bios is enabled to detect it. Can only be used on x86 systems. "x" is the number of the controller. |
| SCSI(x) | Defines a SCSI controller if the BIOS is not enabled to do so. Again, "x" is the number of the controller. |
| Disk(x) | Defines which SCSI disk the OS is on. If SCSI(x) was used then x=the SCSI ID of the drive. If Multi(x) was used then x=0. |
| Rdisk(x) | Defines disk which the OS is on when it is on an EIDE disk. x=0-1 if on primary controller. x=2-3 if on multi-channel EIDE controller. |
| Partition(x) | Specifies the partition that the operating system is located on. (x)=the partition's number. |
Below are the
various recovery tools included in Windows 2000.
| Full Control | Read, write, modify, execute, change attributes, permissions, and take ownership of the file. |
| Modify | Read, write, modify, execute, and change the file's attributes. |
| Read & Execute | Display the file's data, attributes, owner, and permissions, and run the file (if it's a program or has a program associated with it for which you have the necessary permissions). |
| Read | Display the file's data, attributes, owner, and permissions. |
| Write | Write to the file, append to the file, and read or change its attributes. |
The following table displays the different permissions for
directories.
| Full Control | Read, write, modify, and execute files in the folder, change attributes, permissions, and take ownership of the folder or files within. |
| Modify | Read, write, modify, and execute files in the folder, and change attributes of the folder or files within. |
| Read & Execute | Display the folder's contents and display the data, attributes, owner, and permissions for files within the folder, and run files within the folder (if they're programs or have a program associated with them for which you have the necessary permissions). |
| List Folder Contents | Display the folder's contents and display the data, attributes, owner, and permissions for files within the folder, and run files within the folder (if they're programs or have a program associated with them for which you have the necessary permissions). |
| Read | Display the file's data, attributes, owner, and permissions. |
| Write | Write to the file, append to the file, and read or change its attributes. |
The Read & Execute and List Folder Contents folder
permissions appear to be exaclty the same, however, they are
inherited differently, thus are different permissions. Files
can inherit the Read & Execute permissions but can't
inherit the List Folder Contents permission. Folders can
inherit both.
So you may be wondering what is really
different from NT 4.0. NT 4.0 gave the options of granting
access or not specifying. Windows 2000 has the new option of
denying a user or users a particular permission. For example,
if you wanted to make sure that Bob is unable to read any
file, then simply deny him read permissions. Permissions are
cumulative, except for Deny, which overrides everything.
The next table shows what happens to files when they
are copied or moved within or across NTFS partitions.
| Moving within a partition | Does not create a new file - simply updates location in directory. File keeps its original permissions. |
| Moving across a partition | Creates a new file and deletes the old one. Inherits the target folders permissions. |
| Copying within a partition | Creates a new file which inherits permissions of target folder. |
Files moved
from an NTFS partition to a FAT partition do not retain their
attributes or security descriptors, but will retain their long
filenames.
As with NT 4.0, Windows 2000 also supports
special access permissions which are made by combining other
permissions. The following tables will show special access
permissions and how the recipe to make them.
| File Special Permissions | Full Control | Modify | Read & Execute | Read | Write |
| Traverse Folder/Execute File | X | X | X | ||
| List Folder/Read Data | X | X | X | X | |
| Read Attributes | X | X | X | X | |
| Read Extended Attributes | X | X | X | X | |
| Create Files/Write Data | X | X | X | ||
| Create Folders/Append Data | X | X | X | ||
| Write Attributes | X | X | X | ||
| Write Extended Attributes | X | X | X | ||
| Delete Subfolders and Files | X | ||||
| Delete | X | X | |||
| Read Permissions | X | X | X | X | X |
| Change Permissions | X | ||||
| Take Ownership | X | ||||
| Synchronize | X | X | X | X | X |
| Folder Special Permissions | Full Control | Modify | Read & Execute | List Folder Contents | Read |
| Traverse Folder/Execute File | X | X | X | X | |
| List Folder/Read Data | X | X | X | X | X |
| Read Attributes | X | X | X | X | X |
| Read Extended Attributes | X | X | X | X | X |
| Create Files/Write Data | X | X | |||
| Create Folders/Append Data | x | x | |||
| Write Attributes | X | X | |||
| Write Extended Attributes | X | X | |||
| Delete Subfolders And Files | X | ||||
| Delete | X | X | |||
| Read Permissions | X | X | X | X | X |
| Change Permissions | X | ||||
| Take Ownership | X | ||||
| Synchronize | X | X | X | X | X |
Remember that file permissions override
the permissions of its parent folder. Anytime a new file is
created, the file will inherit permissions from the target
folder.
Share
Permissions:
Shares are
administered through the MMC, My Computer or through Explorer
and permissions can be set on a share in the "Share
Permissions" tab. Share level permissions only apply when a
file or folder is being accessed via the network and do not
apply to a user logged into the machine locally. The following
are the different share-level permissions:
| Read | View files and subdirectories. Execute applications. No changes can be made. |
| Change | Includes read permissions and the ability to add, delete or change files or subdirectories |
| Full Control | Can perform any and all functions on all files and folders within the share. |
These
permissions are identical to NT 4.0, however, there is one new
change. As we discussed above the Deny permission can also be
applied to shares. The Deny permission overrides all others.
When folders on FAT and FAT32 volumes are shared, only the
share level permissions apply as these systems do not support
file and directory permissions. When folders on NTFS volumes
are shared, the effective permission of the user will be the
most restrictive of the two. This means that if Bob is trying
to access a file called mystuff located on
myshare and he has share permissions of read and file
permissions of full control, his effective permissions would
be read. Conversely, if his share permissions are full control
and his file permissions are read, he will still only have
read permissions to mystuff
OPTIMIZATION AND
TUNING
Performance
Monitor is included in Windows 2000 and is an MMC snap-in.
Just as in NT 4.0, there are performance counters that can be
used to determine the source of performance problems. The
following is a list of important counters and suggested
thresholds.
Processor:
| Feature | PPTP | L2TP |
| Header compression | X | |
| Tunnel authentication | X | |
| Built-in encryption | X | |
| Transmits over
IP-based internetwork |
X | X |
| Transmits over UDP,
Frame Relay, X.25 or ATM |
X |
Windows 98
supported Internet Connections Sharing(ICS) which is now also
supported in Windows 2000. ICS allows multiple PCs to share a
single connection with the aid of Network Address
Translation(NAT) and is intended for small office/home
office(SOHO) environments. You should not use this feature on
a computer running DNS server, DHCP server or a Windows 2000
Domain Controller. When you enable ICS, the network adapter
connected to the network is given a new static IP address
configuration. Existing TCP/IP connections on the computer are
lost and need to be re-established.
NAT can be
configured separately from ICS and provides the following
features and benifits that are do not exist when used with ICS
alone: