TS Windows Server Full 121 Pages
TS Windows Server Full 121 Pages
Practicing
Windows Server & UNIX Operating Systems
Mazen Nehme
Table of Contents
Microsoft Windows OS
UNIX / Linux OS
Mazen Nehme
2019-2020
TS- Windows Client and Windows Server OS – M@zen Nehme
Microsoft released the first version of Windows in the mid-1980s. There have been many
versions of Windows since then, but the most recent ones include Windows 8 (released in
2012), Windows 7 (2009), Windows Vista (2007), Windows server 2003, and Windows
XP (2001).
1.2- MS Windows 7:
Windows 7 is an operating system that Microsoft has produced in 2009 for use on
personal computers. It is the follow-up to the Windows Vista Operating System, which
was released in 2006.
Windows 7 is available in 5 editions. Four of these editions have both 32 and 64-bit
versions. That takes the total to 9 versions.
1) Windows 7 Starter Edition: It’s a limited version that is made for Notebooks with too
many missing features to keep the pricing on the lower side. It doesn’t let you change your
desktop background wallpaper; it does not allow automatic network based backups …
2) Windows 7 Home Basic: This version is aimed at regions where the price of a full- OS
would be expensive. The feature set is limited but better than the Starter edition.
3) Windows 7 Home Premium: This is the most popular version of Windows 7 and will
likely suit the needs of most users. It comes preinstalled on your new computer. It includes
all the new features in Windows 7, however there are a couple of features missing. You
don’t get the Remote desktop Connection option with this edition. Another feature missing
is the automatic backups of your computer over the network.
5) Windows 7 Enterprise/Ultimate: These two versions are the same, with different
names. If it’s used in corporate environment, it’s called the Enterprise edition and on
personal computers it called Ultimate.
The Ultimate version is the most powerful version that includes all the features of
Windows 7 editions described above with added security features like Bitlocker and the
flexibility of use in 35 languages. Also, it provides the ability to use a VHD (virtual hard
drive).
Windows 7 Requirements:
32-bit processor: The 32-bit processor was the primary processor used in all
computers until the early 1990s. The Operating System and software on a computer
with a 32-bit processor is also 32-bit based, in that they work with data units that
are 32 bits wide. Windows 95, 98, and standard XP are all 32-bit operating systems
that were common on computers with 32-bit processors.
Notes:
- Many 32-bit programs will work with a 64-bit processor and operating
system, but some older 32-bit programs may not function properly, or at all,
due to limited or no compatibility.
1) A big difference between 32-bit processors and 64-bit processors is the number
of calculations per second they can perform. 64-bit processors can increase the
processing power and help make a computer run faster.
2) Another big difference between 32-bit processors and 64-bit processors is the
maximum amount of memory (RAM) that is supported. 32-bit computers
support a maximum of 3 - 4GB of memory, whereas a 64-bit computer can support
memory amounts over 4 GB.
The terms 32-bit and 64-bit refer to the way a computer's processor (CPU), handles
information. The 64-bit version of Windows handles larger amounts of random access
memory (RAM) than a 32-bit system.
Open System by clicking the Start button, right-clicking Computer, and then
clicking Properties. Under System, you can view the system type:
In the System section, you can see what type of operating system you're
currently running under System type, and whether or not you can run a 64-bit
version of Windows under 64-bit capable. (If your computer is already running
a 64-bit version of Windows, you won't see the 64-bit capable listing.)
You can use the Upgrade option during Windows 7 installation, which
preserves your files, settings, and programs, only if you're currently running a
32-bit version of Windows Vista and you want to upgrade to the 32-bit version
of Windows 7.
Similarly, if you are running a 64-bit version of Windows Vista, you can only
perform an upgrade to a 64-bit version of Windows 7.
Most programs designed for the 32-bit version of Windows will work on the 64-
bit version of Windows. But there are notable exceptions such as many antivirus
programs.
Device drivers designed for the 32-bit version of Windows don't work on
computers running a 64-bit version of Windows.
Device drivers designed for the 64-bit version of Windows don't work on
computers running a 32-bit version of Windows.
4. Data management: The operating system manages files stored on hard disks and
other mass storage devices. The operating system enables applications to create and
open files, transfer data between devices, and perform such file management tasks
as renaming and deleting.
5. Coordinating the activities of the various devices on the network to ensure that
communication takes place as and when required. Providing clients with access to
network resources, including files and such peripheral devices as printers and fax
machines.
2. Memory Support: Nowadays, Windows provides support for large RAM size (4
Gb, 6 GB, 8 GB --- 64 GB and UP), in order to support large and multiple
applications running simultaneously
4. Plug and Play: With Windows, it is easy to install a Plug and Play device. This is
a device that you plug in and use immediately without having to perform a
complicated setup process.
For example: in MS Windows the file systems FAT (File Allocation Table) and NTFS
(New Technology File System) are used.
Comparison
FAT 16 - FAT 32 NTFS
File Allocation Table New Technology File System
You can convert your hard disk partition from FAT32 to NTFS (so you won’t lose
your data like in FORMAT operation):
On the other hand, you cannot convert from FAT to NTFS, unless you format the
partition!
Client computer: Client computers (such as the users’ computers) make requests
for services or data on the network from computers referred to as servers.
Server Computer: Servers are computers that provide services and data to client
computers.
File and print servers: provide file and printer resources from a centralized
location.
Mail servers: Mail servers manage the e-mail services for the network.
Peer to Peer:
In a peer-to-peer network, there are no dedicated servers. All computers are equal and
therefore are known as peers. Each computer functions as both a client and a server.
Security is provided by the local directory database on each computer. The user at each
computer determines what data on that computer is shared on the network.
Peer-to-peer networks are also called workgroups. The term workgroup describes a small
group of individuals, typically 10 or fewer, who work together. Peer-to-peer networks are
good choices for environments where:
Client/Server Network:
8. Comprehension Questions:
Once you go through Control Panel, you can see a shortcut to Administrative Tools
located in the System and Security group that takes you to the list of shortcuts.
You can also, open Administrative Tools by clicking the Start button , and then
clicking Control Panel. In the search box, type administrative tools, and then click
Administrative Tools.
Device Manager:
Shared Folders:
Disk Management. With Disk Management you can manage hard disks and their
volumes and partitions. There are a wide variety of options at your disposal. For
example, you can initialize disks, create volumes, and format volumes with the
FAT, FAT32, or NTFS file systems.
If you find that you don’t have any unallocated disk space, you can create some in
various ways. You can shrink an existing partition, delete a partition, or add an extra
hard drive to the system.
Local Security Policy. View and edit Group Policy security settings. If you want
to create password policies, account lockout policies, and other settings on your
Windows 7 standalone systems. This is the place to do that.
Services. Manage the different services that run in the background on your
computer.
Before you start creating new users on your Windows 7 computer, you should understand
the difference between the two main account types.
Administrator: Administrators have full control over the system. They can
install software programs and hardware drivers, and they can create and
modify new users and groups. Additionally, they can reset passwords and set
policies. Every computer will have at least one Administrator account.
When Windows first installs, it asks you for a user name and password, which it then uses
to create your first account. This account joins the Administrators group, which has the
highest set of privileges. From this account you can create and manage all other user
accounts.
Windows 7 has a built-in Administrator account that has no password and is hidden by
default. Like all other administrator accounts, it has full control of the system; for you to
use it, however, it must be the only remaining administrator account, and you must start
the computer in Safe Mode.
The Guest account: Windows 7 includes an account named Guest, which has a
bare minimum of permissions and is disabled by default. If you want to use this
account, click Local Users and Groups, expand Users, double-click on the Guest
account, and clear the Account is disabled check box.
3. The Manage Accounts pane will appear. You will see all of the user
accounts here, and you can add more accounts or manage existing ones.
By default, Windows assigns no password; you can make one by clicking on that user's
icon and selecting Create a password. Alternatively, you can leave it blank to allow the
user to set a password when they first log on.
Once you've created a new account, you may want to add a password or make other
changes to the account's settings.
To create a password:
1. From the Manage Accounts pane, click the account name or picture.
2. Type a password in the New password field, and retype it in the
Confirm new password field.
3. Type a password hint to help you remember your password.
4. Click Create password.
Account passwords are case sensitive, which means capital and lowercase
letters are treated as different characters. For example, aBc1 is not the same as
abc1.
The simplest way to change your password when you are logged in is to press Ctrl-
Alt-Del and click Change a Password. In this window, you simply type in your old
password and your new one, and then confirm it. Administrators may also overwrite
the user name and change the password for another user.
Windows 7 allows you to choose a picture to associate with your account. This is the image
you click to log on to the computer. To change it, open Control Panel and choose Users
Accounts. Under Users, click Change your Account Picture. You can select from a
number of built-in images, or you can browse to one of your own images.
Some people prefer to use the legacy tool, called 'Local Users and Groups' to deal with
users and groups accounts. To access it, right-click Computer on the Start menu, and
select Manage. This will open Computer Management. From there, expand Local Users
and Groups.
Creating a new user: Right-click on Users, select New User, and then enter the
user name. Optionally you may supply a full name, description, and password. Click
Create to make the account.
Modifying users: In 'Local Users and Groups', expand Users and double-click on
the appropriate user name. On the General tab, you may modify the following
settings by checking the appropriate box:
A local group is a group that is stored on the local computer's accounts database. Every
user account is a member of at least one group. There are built-in special groups
(predefined groups) that the Windows 7 system handles automatically:
Administrators: Members of this group are local administrators and have full
permissions and privileges to the workstation. They can create accounts, modify
group membership, install printers, manage shared resources, and more. Because
this account has complete access, you should be very careful about which users you
add to this group. By default, the Administrator account, which is disabled by
default, and the initial user account are members of the Administrators local group.
Power Users: In earlier versions of Windows, this group is used to grant additional
privileges, such as the capability to modify computer settings and install programs.
In Windows 7, this group is maintained only for compatibility with legacy
applications.
Guests: Guests are users with very limited privileges. Members can access the
system and its resources remotely, but they can’t perform most other tasks.
Backup Operators: Members of this group can back up and restore files and
directories on the workstation. They can back up files regardless of whether the
members have read/write access to the files. However, they can’t change access
permissions on the files or perform other administrative tasks.
Replicator: Members can manage the replication of files for the local machine. File
replication is primarily used with Active Directory domains and Windows servers.
Users: Users are people who do most of their work on a single Windows 7
workstation. Members of the Users group have more restrictions than privileges.
They can log on to a Windows 7 workstation locally, keep a local profile, lock the
workstation, and shut down the workstation.
Event Log Readers: Members can view the event logs on the local computer.
Remote Desktop Users: Members can log on to the workstation remotely using
Terminal Services and Remote Desktop.
Creating a new group: Right-click on Groups in the 'Local Users and Groups'
tool, and select New Group. Specify a name and description, and click Add to add
the members. Finally, click Create.
Each computer is a member of either a workgroup or a domain. Computers that are part
of a domain usually have a network administrator who manages user accounts. These
accounts are not located on individual computers, but in a central database called Active
Directory. A workgroup is more of a peer to peer network where each computer is
managed separately. Only computers running Windows 7 Professional or greater have the
option of joining a domain.
When a PC joins a domain, the user-management options change a bit. Parental controls
are unavailable, and you may create local users only through the 'Local Users and Groups'
management tool.
Adding a domain user to a local group: In the Control Panel, open User
Accounts, and click on Give other users access to this computer. From there, type
in the person's user name and the domain (or click Browse to select it from Active
Directory), click Next to add them to a group, and then click Finish.
Windows 7's parental controls offer parents a way to keep their children's Web surfing or
gaming in check. To arrange parental controls, go to Control Panel and select User
Accounts and Family Safety, Set up parental controls for any user. Click on the user for
which you want to set controls.
Look the following example: At 10 p.m., Windows will log Jeffrey off
automatically if he is still on the computer. Turn on parental controls by selecting
On, enforce current settings, and then modify each setting as appropriate.
- Time limits: If you want Windows to boot your child off the computer after, say,
10 p.m., this is where you can explicitly permit or deny computer usage by time
and by the day of the week.
- Games: Here you can define whether the account is permitted to play games. You
may also allow or block particular games.
- Allow and block specific programs: If you want to limit your child's computer
use to certain applications, this is where you choose them.
1. Logon as administrator.
2. Create a local user accounts named “Taline” using Control Panel.
3. Give Taline the password: 123456
4. Change the picture for Taline.
5. Change the account type for Taline from Standard to Administrator.
6. Use MMC to add a snap in for Local Users and Groups in computer
management.
7. Use the Local Users and Groups Tool to create a new local user account with the
following properties:
- User Name: Hussein
- Full Name: Mrad
- Description: Best Teacher
- Password: 123456 Password Properties: Never Expire.
8. Reset/Change the password for Taline.
9. Rename Taline to Talia.
10. Create a new local group named “INFO”.
11. Add Talia and Hussein to INFO.
12. Grant Hussein the administrator rights.
13. Disable the user Talia.
14. Enable the user Talia.
15. Can Talia change its password?
16. When a user cannot change its password?
17. How can Talia change its password?
18. Logoff. Logon as Talia and change its password to: 123
19. Logon as administrator and set Parental Control for Talia: Time, Games and
Programs.
20. Delete all users and groups created in this LAB.
Partitions divide and segment your disks. You can have a disk with either a single partition
or multiple partitions. Having multiple partitions helps you separate your OS files,
application files and data files. You may also need multiple partitions to run a multi-boot
system. This would especially be the case if different OSes used different file systems.
Here are some common things that you can do in Disk Management:
Partition a Drive
Format a Drive
Change a Drive's Letter
Shrink a Partition
Delete a Partition
Change a Drive's File System (convert)
To Resize a volume: You can either extend (to add a deleted partition) or shrink a
volume (split an existing partition) by taking the following steps:
To Shrink a volume:
To Delete a volume:
NTFS:
3. Better security because you can use permissions and encryption to restrict access
to specific files for certain users.
4. Disk quotas.
You can usually convert a partition to NTFS from a different type of file system:
On the other hand, Converting a hard disk partition or volume from NTFS to
FAT32 requires that you reformat the partition, which deletes any data on it.
FAT32:
FAT32 was used in some earlier versions of Windows, and is currently used for most USB
flash drives. FAT32 doesn't have the same security-related features as NTFS, so if you
have a FAT32 hard disk or partition in Windows 7, anyone who has access to your
computer can read any file on it.
FAT32 also has size limitations. You can't create a FAT32 partition greater than 32
gigabytes (GB), and you can't store a single file that's larger than 4 GB on a FAT32
partition.
The main reason to format a hard disk or partition with FAT32 is if you will sometimes
want to run Windows 95, Windows 98, or Windows Millennium Edition on your
computer. This type of configuration is known as a multiboot configuration.
If you want to set up a multiboot configuration like this, you'll need to install the earlier
operating system on a FAT32 (or FAT) partition and ensure that it's a primary partition
(one that can host an operating system).
Inherited permissions: are those that are propagated to an object from a parent
object.
By default, objects within a container inherit the permissions from that container when
the objects are created. For example, when you create a folder called MyFolder, all
subfolders and files created within MyFolder automatically inherit the permissions from
that folder. Therefore, MyFolder has explicit permissions, while all subfolders and files
within it have inherited permissions.
The following table lists the permission levels that are typically available for files and
folders:
Permissions Description
<<Applicable only to folders>> View the file names and subfolder names
Navigate to subfolders
View folders
Does not permit access to the folder's files
Create folders
Add new files
Delete files
Steps:
4. Click Add. The Select Users, Computers, or Groups dialog box appears.
5. In the Enter the object names to select text box, type the name of the user or group
that will have access to the folder.You may type the beginning of the name and then
click Check Names. The name will either be resolved or a list of users beginning
with those characters will display for you to select from.
Once you have granted a group or individual user access to a folder, you will need to
set permissions for the new user(s). When you set permissions, you are specifying what
level of access a user(s) has to the folder and the files within it. Be careful about
checking Deny for any permissions, as the Deny permission overrides any other related
to Allow permissions.
Folder permissions can be changed only by the owner of the folder (i.e., the creator)
or by someone who has been granted permission by the owner. If you are not the owner
of the folder or have not been granted permission by the owner, all checkboxes will be
gray. Therefore, you will not be able to make any changes until the owner grants you
permission.
1. In the Group or user name section, select the user(s) you wish to set permissions
for.
2. In the Permissions section, use the checkboxes to select the appropriate permission
level.
3. Click Apply.
4. Click Okay. The new permissions are added to the file or folder.
When you set permissions, you specify what users are allowed to do within that folder,
such as save and delete files or create a new folder. You are not limited to choosing one
of the standard permissions settings (Full Control, Modify, Read & Execute, List Folder
Contents, Read, or Write).
Instead of choosing one of these settings, you may set your own unique permissions based
on what you would like users to be able to do.
Steps:
3. Near the bottom right of the Properties dialog box, click Advanced.
The Advanced Security Settings dialog box appears.
4. Optional: If you do not want the new folder to have the same permissions as the
"parent" (original) folder and wish to set unique permissions for the new folder,
click the Change Permission button near the bottom. This will bring up a similar
window.
b. Click Remove if you want to remove someone from permission all together.
6. Select the appropriate user OR click Add and enter the name of the user or group
that will have access to the folder.
8. In the Permissions section, use the checkboxes to set the appropriate permissions.
Note: If you are not the owner of the folder or have not been granted permission by
the owner, all checkboxes will be gray.
9. From the Apply to: pull-down list, select what level you wish to apply these
permissions to. Then, Click OK.
12. In the Properties dialog box, click OK. The new folder permissions are added for
your specified user(s).
How permissions are handled when you copy and move files and
folders?
1. When copying a folder or file within same NTFS partition, the copy of the folder
or file inherits the destination folder permissions Permissions change with
copy.
2. When copying a folder or file between different NTFS partitions, the copy of the
folder or file inherits the destination folder permissions Permissions change
with copy.
1. When moving a file to a folder within the same NTFS partition, the folder or file
will retains its original permissions No change in permissions.
2. When moving a folder or file between different NTFS partitions, the file or folder
will inherit the destination folder permissions. Permissions change.
Notes:
1. To copy folders and files within same NTFS partition or between NTFS partitions,
you must have read permissions for the source folders and for the destination
folder you should have write permission.
2. To move folders and files within an NTFS partitions, for the destination folder you
should have write permission and modify permissions for source folder to
configure the options.
3. When copying or moving folders or files to non NTFS partitions such as File
Allocation Table (FAT), the files or folders will lose their all NTFS permissions
Permissions are lost.
In Windows 7, there are some files and folders that are meant only for administrators to
access, if you are not an administrator then you cannot access it and will instead get Access
Denied error. Also, to enhance security, Microsoft has even denied Administrators access
to some folders.
The way to fix this error is to give yourself permission to access the file or folder. By
giving all permission to your account, you will be able to get complete control of a folder.
But in some cases only the owner can assign the permission for various users. Let’s see
how to change Ownership.
Changing Ownership:
To change ownership, right-click the file or the folder, select Properties, and go to Security
tab. Now click the advanced button:
Next, you need to go to Owner tab and hit the Edit button. Then in the new dialog window
choose the new owner and then click OK.
Disk Quotas:
Disk quotas let you specify a limit to the amount of disk space for users to use. This is
useful if you have limited amount of disk space available. You can control how much disk
space everyone uses. You can configure disk quotas on the various disk volumes within
your system. You can actually have two volumes on the same disk with different quotas.
1. In the Disk Management MMC snap-in or Windows Explorer, right-click the volume
for which you want to enable quotas and select Properties.
3. Check the box for Enable quota management. Once you’ve enabled quota
management, there are several possible configuration options:
Deny disk space to users exceeding quota limit: If you select this option, once a
user exceeds his quota, he will no longer be able to write to the disk. This will help
prevent a user from going over his quota, but it can cause applications to perform
improperly.
Limit disk space to: By default, disk space is unlimited. You can specify the limit
for the amount of disk space the user can use.
Set warning level to: Once you set a disk space limitation, you can also set a warning
level. This lets you specify at what level of disk usage the user will begin receiving
disk-space warnings.
Log event when a user exceeds their quota limit: This specifies whether an event
will be logged to the system log when the user exceeds his amount of allocated disk
space.
Log event when a user exceeds their warning level: This specifies whether an event
will be logged to the system log when a user exceeds the amount of disk space usage
designated at the warning level.
Quota entries: This lets you specify quota options for different users and groups.
2. What is the file system used for your hard disk? Justify.
5. Show me how you can change the drive letter of your D: partition.
11. Create a new text file Test.txt inside the LAB3 folder.
12. Configure the NTFS permissions of the folder LAB3 as the following:
16. Open the folder LAB3. Create a new file named: Med. Justify.
18. Create a new folder named Doctors in C: drive. In Doctors, create the files
Health.txt and Nutrition.txt
19. Configure the NTFS permissions of the folder Doctors as the following:
a. Remove everyone group.
b. Administrators: Deny read.
c. Doha: Full control
22. What can you do as administrator to open and use the folder Doctors... Solve it, then
set the permissions on Doctors only for the administrator.
23. Now, create on the desktop a new file named: convert.txt ; write inside convert.txt
the cmd command to convert from FAT to NTFS.
25. Copy the file convert.txt into the folder Doctors. Now, look at its permissions.
Justify.
26. Move the file convert.txt from Doctors to your desktop. Now, look at its
permissions. Justify.
27. What are the minimum permissions required to copy a file? Explain.
32. Set the default quota limit for new users to 5 GB and set the warning level to 4 GB.
33. Log event when users exceed their quota limit or warning limit.
36. Create a new folder named PRIVATE that will contain your private files. Create
any files inside PRIVATE or just copy some files to it.
38. Encrypt the folder Private using EFS (encryption file system).
39. Create a new file file named SECRET and encrypt it.
Not that you can also encrypt a file by copying it into your encrypted
folder.
41. Clean up. Delete all users, groups, folders and files created during this LAB.
1. Open up Computer, right-click on your local drive and select Properties. Then
click on the Tools tab and click the Back up now button.
2. In the Back up or restore your files window click the link to set up a backup.
3. Windows will search for a suitable drive to store the backup or you can also
choose a location on your network. If you backup to a network location you might
need the password to the share.
4. You can have Windows choose what to backup or you can choose the files and
directories.
5. Select the files and folder to include in the backup. Also notice you can select the
option to create an image of your local drive.
6. Now review the backup job and make sure everything looks correct.
Here you can also schedule the days and times the backup occurs.
7. Save the backup settings and kick off your first backup and while it runs you can
monitor the progress.
8. Click the View Details button to see exactly what is being backup during the
process.
When the backup is complete you will see the two backup files and image folder if
you created one. I backed up 20GB of data and it took around 15 minutes including
the system image which came to 11GB.
Double click on the backup file and can restore files or manage the size of the
backups folder.
If you need to go back and restore a file from a backup click on Restore my files in the
Backup and Restore Center.
Now you can browse or search the most recent backup for a file or folder your missing.
Next you can restore them back to the original location or choose a different spot then click
Restore.
Progress of the restoration will vary depending on the size of the data and location it’s
restoring from.
Sometimes you may need to recover some disk space and Windows 7 allows you to manage
the size of your backups. In the Backup and Restore section click on the Manage Space
link.
Your given a summary of the backup location and what is taking up space from the backup.
Click on the View backups button to check the different dated backups where you can
delete older ones if needed.
You can also change how windows retains older system images.
System Restore:
System Restore helps you restore your computer's system files to an earlier point in time.
It's a way to undo system changes to your computer without affecting your personal files,
such as e-mail, documents, or photos. System Restore uses a feature called system
protection to regularly create and save restore points on your computer. These restore
points contain information about registry settings and other system information that
Windows uses. You can also create restore points manually.
System image:
Windows Backup provides you with the ability to create a system image, which is an exact
image of a drive. A system image includes Windows and your system settings, programs,
and files. You can use a system image to restore the contents of your computer if your hard
drive or computer ever stops working.
When you restore your computer from a system image, it is a complete restoration; you
can't choose individual items to restore, and all of your current programs, system settings,
and files are replaced. Although this type of backup includes your personal files, we
recommend that you back up your files regularly using Windows Backup so that you can
restore individual files and folders as needed.
When you set up scheduled file backup, you can choose whether you want to include a
system image. This system image only includes the drives required for Windows to run.
You can manually create a system image if you want to include additional data drives.
Previous versions:
Previous versions are copies of files and folders that Windows automatically saves as part
of system protection. You can use previous versions to restore files or folders that you
accidentally modified or deleted, or that were damaged. Depending on the type of file or
folder, you can open, save to a different location, or restore a previous version. Previous
versions can be helpful, but should not be considered a backup because the files get
replaced by new versions and will not be available if the drive were to fail.
- All computers are peers which means no computer has control over another
computer. All computers must be on the same local network or subnet.
- Each computer has a set of user accounts. To log on to any computer in the
workgroup, you must have an account on that computer, or know the username and
password of an account on that computer.
Homegroups:
- Resource sharing can be done through home group feature of Windows 7. Home
group is a new feature for sharing files, folders and printers on a small network.
- Computers on a home or small office network must belong to a workgroup, but they
can also belong to a homegroup. A homegroup makes it easier to share documents
and printers with peers.
- A homegroup is protected with a password, but you only need to type the password
once when adding a computer to the homegroup.
Domains:
- Must have at least 1 server. Network administrators use servers to control the
security and permissions for all computers on the domain. Domain users must
provide a password or other credentials each time they access the domain.
- If you have a user account on the domain, you can log on to any computer on the
domain without needing a local account on that computer.
- Domain users can join an existing Homegroup, but cannot create one.
- When setting up your computer on a network in the Network and Sharing Center,
you will choose whether your computer is part of a workgroup or a domain.
1. Click Create a homegroup. Select the items you wish to share and click Next.
2. On the next screen, Windows will assign a password to your homegroup which can
be changed later. Write down the password which will be needed by others whom
you want to allow access to your group. Click Finish.
3. After completing the wizard, you will see the Change homegroup settings window.
Here you can change the types of files that are shared, change the password, allow
streaming of shared media, leave the homegroup, and modify advanced settings.
4. Clicking on Change advanced sharing settings will bring up the screen below. Here
you can customize sharing settings for each network profile. This screen can also
be reached by clicking on the Change advanced sharing settings link in the left
pane of the Network and Sharing Center.
From the Network and Sharing Center, click on the Homegroup link in the lower left
pane. On the next screen, any available homegroups on your networks will show and
you can click the join now button. You must have the homegroup's password to join
and your computer's network location must be set to Home.
In some cases, you might want to prevent access to certain files or folders within your
shared Libraries. To do that, right-click the folder, and then do one of the following:
To share the folder with nobody, click Share with, and then click Nobody.
To share the file or folder with specific people, click Share with in the toolbar, click
Specific people, select each person with whom you want to share with the file or
folder, and then click Add. Click Share to close the File Sharing dialog box. Sharing
with specific people only works if they’ve linked their profiles to an online ID.
To share the file or folder with the entire homegroup, click Share with in the
toolbar, and then click either HomeGroup (Read) or HomeGroup (Read/Write).
Shared Folders:
Shared folders allow you to share data stored on your computer with other users on your
network. You can share individual folders by right-clicking the folder you wish to share,
choosing Properties, and then clicking the Share tab of the folder’s properties.
This window provides two different sharing options: Share and Advanced Sharing. You
can use shared folders when you cannot use HomeGroups, such as when you want to share
resources on a Workgroup network.
Clicking Share brings up the File Sharing dialogue box. You can use this window to set
share permissions for local user accounts, the Everyone group, or the HomeGroup.
If you click Advanced Sharing, you can specify the name of the shared folder. To configure
the permissions for the Shared folder, click the Permissions button.
Managing Shares:
You can manage all shared folders on a client running Windows 7 in a central location
using the Shared Folders node of the Computer Management console:
- The Shares node, shown below, displays all shared folders on the computer.
- The Sessions node provides details on which remote users currently are connected
to shared folders, where they are connecting from and how long they have been
connected.
- The Open Files node displays the folders and files that remote users are accessing.
You can edit the properties of an existing share by right-clicking it within this
console and selecting properties. You can create a shared folder by right-clicking
the Shares node and then clicking New Share. This starts the Create a Shared Folder
Wizard.
In a network, the Universal Naming Convention (UNC) is a way to identify a shared file
in a computer. In Windows operating systems, the UNC name format is:
Run: \\servername\sharename
Adding a Printer:
You can connect to a shared printer by going to the Devices and Printers control panel and
clicking Add a Printer. Select Add a network, wireless or Bluetooth printer. A window
comes up showing the available printers on the network.
Note that if the printer or the computer it is connected to is turned off or sleeping,
the printer will not show in the list. If the printer you wish to connect to is not on
the list, click The printer I want isn't listed.
Here you can browse the network for the printer, enter the share name and path to
connect, or enter an IP address or hostname if you have that information.
1. Click the Start button, type print in the Search programs and files box and click Add a
printer.
3. Click the bullet which says Create a new port and use the drop down menu to choose
Standard TCP/IP Port.
4. Click Next.
5. In the Hostname or IP Address field enter the IP Address for the printer you are adding.
6. Click Next.
7. Choose the driver that corresponds to your printer model (or click the Have Disk button
to search for downloaded drivers).
Click Next.
Click the bullet beside Use the driver that is currently installed (recommended).
Click Next.
Make sure the bullet is selected beside Do not share this printer.Click Next.
Click to put a check mark beside of Set as the default printer (if you do wish to make it
your default printer).
Click the Print a test page button (if you wish to do so). Click Finish. Your printer
should now be set up and ready to use.
Printing is implemented by way of the Internet Print Protocol (IPP), which is encapsulated
in the Hypertext Transfer Protocol (HTTP). By typing the Uniform Resource Locator
(URL) of a remote printer in the Address bar of your browser, you can connect to, and
print from the printer in the same way as if it were attached to your own computer.
You can view a Web page on which all printers on a print server are listed. From the Web
page of a specific printer, you can view information about the printer, such as printer model,
location, the number of documents waiting to print, as well as properties, such as print
speed and whether the printer supports color printing. You can pause, resume, and cancel
the printing of any document that you send to the printer. In addition, if you have Manage
Printers permission for the printer, you can also pause or resume operation of the printer.
If you do not know the name of the printer to which you want to connect,
type the following, where PrintServer is the name of the print server:
http://PrintServer/printers/
For example, to view a list of all printers that are located on a print server
named MyPrintServer, type the following:
http://MyPrintServer/printers/
http://PrintServer/Printer/
For example, if you want to go directly the page of a printer that is named Laser that is
shared from a server called MyPrintServer, type the following:
http://MyPrintServer/Laser/
3. In the browser window, a Web page opens in which the printer properties are
displayed. Click the links to view more information about your printer, or
perform a printer or document action.
You are connected to the printer, and Windows installs the appropriate printer
driver for your computer. After the installation is complete, the icon for this
printer is added to the Printers and Faxes folder on your computer. You can
then use, monitor, and administer the printer as if it were attached to your
computer.
Note: To connect to an Internet printer, you can also type the URL of the printer in any
window or folder with an Address bar, such as Windows Explorer, My Computer, or the
Printers and Faxes folder.
Troubleshooting:
When you attempt to connect to a printer, you receive the following message in your
browser: This page cannot be found. This may occur if the URL of the printer is incorrect.
To resolve this issue, verify that you have the correct URL for the printer to which you
want to connect, and that it is typed correctly in the Address bar of your Web browser.
2. Right-click the printer that you want to use as the default printer, and then click Set
as Default Printer. A check mark is displayed next to the printer icon.
Sharing a Printer:
If you wish to share a printer, follow these steps:
1. Click Start and select Devices and Printers.
2. Right click on the printer you wish to share and select Printer Properties.
3. Next, click on the Sharing tab and check the Share this Printer checkbox. You can
name the share so that others can easily find it.
If you are in a domain environment, you can also publish the printer in Active
Directory if you choose the List in the directory option.
Click on the Additional Drivers button to see which drivers are installed. If the users
who will be connecting to this printer are using a different operating system, you
can check the box next to the driver for their OS so they do not have to find and
install the driver when they connect. If the driver does not show here, you can
download additional drivers from the manufacturer or get them off the installation
disk that came with the printer.
When you share a printer, the everyone group is assigned the Print permission by default,
as shown in the Figure above. You can assign permissions to allow better printer
management. The available permissions are:
Print - This permission allows a user to print to the printer and rearrange their own
documents that have been submitted to the printer.
Manage This Printer - Users with this permission can pause and restart the printer,
change spooler settings, adjust printer permissions, change printer properties, and
share a printer.
2. In addition to shared folder permissions, users must have NTFS permissions for the
files and subfolders that shared folders contain to gain access to those files and
subfolders.
3. When you combine shared folder permissions and NTFS permissions, the more
restrictive permission is always the overriding permission.
Password: password.
Password never expires.
Windows Server is a brand name for a group of server operating systems released by
Microsoft. It includes all Windows operating systems that are branded "Windows Server",
but not any other Microsoft product. The first Windows server edition to be released under
that brand was Windows Server 2003. However, the first server edition of Windows
was Windows NT 3.1 Advanced Server, followed by Windows NT
3.5 Server, Windows NT 4.0 Server, and Windows 2000 Server; the latter was the first
server edition to include Active Directory, DNS Server, DHCP Server, Group Policy, SQL
Server, as well as many other popular features used today.
Windows Server operating system releases under the Long Term Servicing Channel are
supported by Microsoft for 10 years, with five years of mainstream support and an
additional five years of extended support. These releases also offer a complete GUI desktop
experience, along with GUI-less setups such as Server Core and Nano Server for releases
that support them.
This channel includes the following operating systems:
Windows Server introduces many new features and offers significant improvements to
many features found in earlier Windows Server operating systems. Windows server is used
mainly:
- To ensure that network resources such as files, folders, and printers are available to
users.
- To secure the network so that available resources are only accessible to users who
have been granted the proper permissions.
Standard Edition
Enterprise Edition
Datacenter Edition
Web Edition
1. Standard Edition:
The standard edition of Windows Server 2003 provides all of the basic functionality a
server operating system needs. The standard edition is intended to support small- to
medium-sized businesses as a file server, application server platform, or domain controller.
No more than 4GB of memory is allowed. Of that 4GB, the operating system always
reserves 2GB for its own use, allowing applications on the server to share the
remaining 2GB.
2. Web Edition:
As the name implies, Windows Web Server is ideal for servers used as Internet or intranet
Web servers. It provides a subset of the overall Windows Server 2003 functionality.
3. Enterprise Edition:
Windows Enterprise Server builds upon the Windows Server 2003 standard edition. It
provides all of the same features and capabilities as the standard edition and adds the
following:
4. Datacenter Edition:
Windows’ Datacenter Server edition is the most powerful version of the operating system.
Like the Enterprise Server edition, Datacenter Server builds upon the standard Windows
Server 2003 edition and adds the following features and capabilities:
Microsoft designed Datacenter Server to be the most stable, reliable, and powerful version
of Windows Server 2003. As such, it is also one of the most expensive. Also, Datacenter
Server is the only version of Windows Server 2003 that you cannot purchase and install
yourself. Datacenter Server is targeted to large businesses that need the most powerful
servers possible, and who also require extremely reliable servers that rarely crash and rarely
need to be rebooted.
LAB Activity 1:
Determining the Windows Server 2003 Edition installed on your server using System
Properties:
Domain:
Member Servers
- A member server
- Has an account in a domain
- Is not configured as a domain controller
- Typically used for file, print, application, and host network services
Domain Controllers
LAB Activity 2:
Pre-installation:
- Determine whether it is a new installation or an upgrade of an existing version.
- Determine the file system format for the partition (FAT, FAT32, or NTFS.
Window Setup:
Global catalog:
- Stores a full Read-Write replica of all domain object attributes in a global directory.
- Has the ability to search the entire forest, but also keeps the database relatively light.
- Global catalog server is the name of the domain controller that maintains the global
catalog.
Domain:
- A domain is a group of computers and devices on a network that constitute a single
security boundary within Active Directory, but can span more than one physical
location.
- Transitive trust relationships exist among domains in trees and, optionally, in and
across forests.
- Namespace resolution is done through the use of the Domain Name System (DNS),
which is central to the operation of Windows networks.
Searching for objects: Use the Find Users, Contacts, and Groups dialog box.
Modifying objects: Allows you to modify objects to meet changing needs. Use the
Properties dialog box.
Moving objects: Allows you to move objects to meet changing needs. Use the
Move dialog box.
Use the Active Directory Users and Computers console to create domain user
accounts.
The domain controller replicates the new user account information to all of the
other domain controllers in the domain. After replication, all domain controllers in
the domain can authenticate the user during logon. All trusting domains allow the
user account to gain access to their resources.
Printer driver: The software that contains the information used by the operating
system to convert the print commands for a particular model of print device into a
printer language such as Printer Control Language (PCL) or PostScript.
Spooling: Refers to the process of caching the print request to a hard disk, which
releases the application quicker.
Spool: A folder where converted print jobs are stored before they can be printed.
Print queue: A list of print jobs from different workstations that is stored on the
spooler of the print server
- Manage Documents:
Users can pause, resume, restart, and cancel all users’ printing jobs.
They can connect to a printer and control job settings for all
documents, but they cannot control the status of the printer.
- Manage Printers:
The highest level of access.
Grants a user administrative control over a printer.
Users can pause and restart the printer, share a printer, change printer
permissions, change printer properties, change printer drivers, or
delete a printer.
The PrintQueue object contains a subset of the information that the print server
stores for a printer.
If you change the printer configuration on the print server, the change propagates to
Active Directory.
The PrintQueue object is stored in the computer object for the print server.
- Open the View menu and select the Users, Groups, and Computers as
containers command.
- Open the Computers folder and select any computer to display its sub-
objects.
If you have a user account on the domain “domain user account”, you can log on to any
computer on the domain without needing an account on that computer.
When multiple domains are connected by trust relationships and share a common
schema, configuration, and global catalog, but with different namespace they constitute a
forest.
Conditions:
Install/Uninstall Active Directory on the Windows Server 2003 using the Active
Directory Installation Wizard or using the Run-command: Dcpromo.exe
Practical Questions:
1. Logon as administrator.
2. Write a cmd command to determine your Host name:
3. Write a cmd command to determine your IP Address:
4. Determine your IP Address and Physical Address (MAC) using one command:
5. The command that verify the connectivity with the server (192.168.0.1):
6. The command that determines the route taken to a destination (the server 192.168.0.1):
7. What is a loopback test?
8. What is nslookup? nslookup is a network command-line tool for querying, testing and
troubleshooting the Domain Name System (DNS) to obtain domain name or IP address
mapping of your DNS server.
14. Copy the user Mnehme to create a new domain user account: snowwolf
15. Rename the user Mnehme to mazen, Reset its password, Disable the user mazen, Enable
the user mazen.
26. The user snowwolf can logon only to computers: server, pc2
27. The user snowwolf can logon only from: Monday – Friday 8 AM to 3 PM
and Saturday 8 AM to 2 PM
28. Set the expiry date of the user snowwolf to 1/30/201x- (JAN 30).
29. Allow remote access via VPN for snowwolf
30. Delegate control of OU24001 to snowwolf
Tasks to delegate:
- Create, delete and manage user accounts.
- Modify group membership
31. Use the Microsoft Management Console (MMC) to create a snap in for computer
management and active directory users and computers on the desktop.
37. Open folder LAB7 and create a folder named EXAM. If you get an error message, justify.
41. Open the folder “Myfolder” to create a text file and write the cmd command to convert
the File System of your (C: partition) from FAT to NTFS. If you got an error message,
justify.
43. Take the ownership of Myfolder and execute the question (39).