0% found this document useful (0 votes)
62 views42 pages

Operatin System Complete Notes

Uploaded by

TOUQEER RASHID
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views42 pages

Operatin System Complete Notes

Uploaded by

TOUQEER RASHID
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

Chapter 1

OVERVIEW OF AN OPERATING SYSTEM


What is an Operating System?

A program that acts as an intermediary between a user of a computer and the computer hardware
or
An Operating System (OS) is a software that manages and handles hardware and software resources of a
computing device.
Operating system goals:

• Execute user programs and make solving user problems easier


• Make the computer system convenient to use
• Use the computer hardware in an efficient manner

• Responsible for managing and controlling all the activities and sharing of computer resources among
different running applications.

• A low-level Software that includes all the basic functions like processor management, memory
management, file management, etc.

• It mainly acts a government for your system that has different departments to manage different
resources.

Some examples of operating systems are UNIX, Mach, MS-DOS, MS-Windows, Windows/NT, Chicago, OS/2,
MacOS, VMS, MVS, and VM

Computer System Components

Computer system can be divided into four components

• Hardware – provides basic computing resources CPU, memory, I/O devices

• Operating system Controls and coordinates use of hardware among various applications and users

• Application programs – define the ways in which the system resources are used to solve the computing
problems of the users Word processors, compilers, web browsers, database systems, video games

• Users (People, machines, other computers

Four Components of a Computer System


Types of Operating Systems

1. An Operating System performs all the basic tasks like managing files, processes, and memory.
2. Thus operating system acts as the manager of all the resources, i.e. resource manager. Thus, the
operating system becomes an interface between the user and the machine.
3. It is one of the most required software that is present in the device.
4. Operating System is a type of software that works as an interface between the system program and the
hardware.
5. There are several types of Operating Systems many of which are mentioned below.

Types of Operating Systems

There are several types of Operating Systems which are mentioned below.

1. Batch Operating System

2. Multi-Programming System

3. Multi-Processing System

4. Multi-Tasking Operating System

5. Time-Sharing Operating System

6. Distributed Operating System

7. Network Operating System

8. Real-Time Operating System

1. Batch Operating System

1. This type of operating system does not interact with the computer directly.
2. There is an operator which takes similar jobs having the same requirements and groups them into
batches.
3. It is the responsibility of the operator to sort jobs with similar needs.
4. Batch Operating System is designed to manage and execute a large number of jobs efficiently by
processing them in groups.

Advantages of Batch Operating System

• Multiple users can share the batch systems.

• The idle time for the batch system is very less.

• It is easy to manage large work repeatedly in batch systems.

Disadvantages of Batch Operating System

• Batch systems are hard to debug.

• It is sometimes costly.

• The other jobs will have to wait for an unknown time if any job fails.

• It is difficult to accurately predict the exact time required for a job to complete while it is in the queue.

Examples of Batch Operating Systems: Payroll Systems, Bank Statements, etc.

2. Multi-Programming Operating System?

Multiprogramming Operating Systems can be simply illustrated as more than one program is present in the main
memory and any one of them can be kept in execution. This is basically used for better utilization of resources.
Advantages of Multi-Programming Operating System

• Multi Programming increases the Throughput of the System.

• It helps in reducing the response time.

Disadvantages of Multi-Programming Operating System

• There is not any facility for user interaction of system resources with the system.

3. Multi-Processing Operating System

Multi-Processing Operating System is a type of Operating System in which more than one CPU is used for the
execution of resources. It betters the throughput of the System.

Advantages of Multi-Processing Operating System

• It increases the throughput of the system.

• As it has several processors, so, if one processor fails, we can proceed with another processor.

Disadvantages of Multi-Processing Operating System

• Due to the multiple CPU, it can be more complex and somehow difficult to understand.
4. Multi-Tasking Operating System

Multitasking Operating System is simply a multiprogramming Operating System with having facility of a Round-
Robin Scheduling Algorithm. It can run multiple programs simultaneously.

Advantages of Multi-Tasking Operating System

• Multiple Programs can be executed simultaneously in Multi-Tasking Operating System.

• It comes with proper memory management.

Disadvantages of Multi-Tasking Operating System

• The system gets heated in case of heavy programs multiple times.

5. Time-Sharing Operating Systems

1. Each task is given some time to execute so that all the tasks work smoothly.
2. Each user gets the time of the CPU as they use a single system. These systems are also known as
Multitasking Systems.
3. The task can be from a single user or different users also. The time that each task gets to execute is called
quantum. After this time interval is over OS switches over to the next task.
Advantages of Time-Sharing OS

• Each task gets an equal opportunity.

• Fewer chances of duplication of software.

• CPU idle time can be reduced.

Disadvantages of Time-Sharing OS

• Reliability problem.

• One must have to take care of the security and integrity of user programs and data.

• Data communication problem.

6. Distributed Operating System

1. These types of operating system are a recent advancement in the world of computer technology and are
being widely accepted all over the world.
2. Various autonomous interconnected computers communicate with each other using a shared
communication network. Independent systems possess their own memory unit and CPU.
3. These are referred to as loosely coupled systems or distributed systems. These systems’ processors differ
in size and function.
4. The major benefit of working with these types of the operating system is that it is always possible that one
user can access the files or software which are not actually present on his system but some other system
connected within this network i.e., remote access is enabled within the devices connected in that
network.

Types of Distributed Systems


1. Client/Server Systems

2. Peer-to-Peer Systems

1. Client/Server Systems: Client-Server System is the most basic communication method where the client sends
input to the server and the server replies to the client with an output.

2. Peer-to-Peer Systems: Nodes are an important part of a system. In this, each node performs its task on its local
memory and shares data through the supporting medium, this node can work as a server or as a client for a system.

7. Network Operating System

1. These systems run on a server and provide the capability to manage data, users, groups, security,
applications, and other networking functions.
2. These types of operating systems allow shared access to files, printers, security, applications, and other
networking functions over a small private network.
3. One more important aspect of Network Operating Systems is that all the users are well aware of the
underlying configuration, of all other users within the network, their individual connections, etc. and that’s
why these computers are popularly known as tightly coupled systems.

Advantages of Network Operating System

• Highly stable centralized servers.

• Security concerns are handled through servers.


• New technologies and hardware up-gradation are easily integrated into the system.

• Server access is possible remotely from different locations and types of systems.

Disadvantages of Network Operating System

• Servers are costly.

• User has to depend on a central location for most operations.

• Maintenance and updates are required regularly.

Examples of Network Operating Systems are Microsoft Windows Server 2003, Microsoft Windows Server 2008,
UNIX, Linux, Mac OS X, Novell NetWare, BSD, etc.

8. Real-Time Operating System

These types of OSs serve real-time systems. The time interval required to process and respond to inputs is very
small. This time interval is called response time. Real-time systems are used when there are time requirements
that are very strict like missile systems, air traffic control systems, robots, etc.

Types of Real-Time Operating Systems

• Hard Real-Time Systems: Hard Real-Time OSs are meant for applications where time constraints are very
strict and even the shortest possible delay is not acceptable.

• Soft Real-Time Systems: These OSs are for applications where time-constraint is less strict.

Advantages of RTOS

• Maximum Consumption: Maximum utilization of devices and systems, thus more output from all the
resources.

• Error Free: These types of systems are error-free.

• Memory Allocation: Memory allocation is best managed in these types of systems.

Disadvantages of RTOS

• Use heavy system resources: Sometimes the system resources are not so good and they are expensive as
well.

• Complex Algorithms: The algorithms are very complex and difficult for the designer to write on.

Examples of Real-Time Operating Systems are Scientific experiments, medical imaging systems, industrial control
systems, weapon systems, robots, air traffic control systems, etc.

what is mobile tablet operating system

A Mobile Operating System is a software interface designed to manage hardware components and assist
users in utilizing their mobile devices, such as smartphones and tablets, similar to how personal
computers were used in the past.
Android Operating System
1. Android is a mobile operating system based on a modified version of the Linux kernel and other open-
source software, designed primarily for touchscreen mobile devices such as smartphones and tablets.
Android is developed by a partnership of developers known as the Open Handset Alliance and commercially
sponsored by Google.
2. It was disclosed in November 2007, with the first commercial Android device, the HTC Dream, launched in
September 2008.
3. It is free and open-source software. Its source code is Android Open-Source Project (AOSP), primarily
licensed under the Apache License.

Note: Kernel is a computer program that is a core or heart of an operating system.

A kernel is responsible for accessing computer resources such as RAM and I/O devices

Android versions, name, and API level


Code name Version numbers API level Release date

No codename 1.0 1 September 23, 2008

No codename 1.1 2 February 9, 2009

Cupcake 1.5 3 April 27, 2009

Donut 1.6 4 September 15, 2009

Eclair 2.0 - 2.1 5-7 October 26, 2009

Froyo 2.2 - 2.2.3 8 May 20, 2010

Gingerbread 2.3 - 2.3.7 9 - 10 December 6, 2010

Honeycomb 3.0 - 3.2.6 11 - 13 February 22, 2011

Ice Cream 4.0 - 4.0.4 14 - 15 October 18, 2011


Sandwich

Jelly Bean 4.1 - 4.3.1 16 - 18 July 9, 2012

KitKat 4.4 - 4.4.4 19 - 20 October 31, 2013

Lollipop 5.0 - 5.1.1 21- 22 November 12, 2014

Marshmallow 6.0 - 6.0.1 23 October 5, 2015


Nougat 7.0 24 August 22, 2016

Nougat 7.1.0 - 7.1.2 25 October 4, 2016

Oreo 8.0 26 August 21, 2017

Oreo 8.1 27 December 5, 2017

Pie 9.0 28 August 6, 2018

Android 10 10.0 29 September 3, 2019

Android 11 11 30 September 8, 2020

What is the iOS?

1. iOS is an abbreviation for the iPhone operating system.


2. iOS is the operating system that runs on many of Apple's mobile devices, including the iPhone and iPod
Touch.
3. It is the world's second most popular mobile OS, trailing only Android.
4. It is the basis for three other Apple operating systems: iPadOS, tvOS, and watch OS.
5. It is a part of proprietary software. Some are open source under the Apple Public Source License and other
licenses.

History

1. The iOS was first released in 2007 for the first-generation iPhone and has since been updated to support
more Apple devices, including the iPod Touch and iPad.
2. Apple's App Store had over 2.1 million iOS apps as of March 2018, with 1 million unique to iPads.
3. Over 130 billion times, these mobile applications have been downloaded.
4. Apple releases a new major version of iOS every year.
5. The current version of iOS for iPhone is iOS 18.2, which was released on December 11, 2024.

Chapter 2
Operating Systems Structures
➢ An operating system is a structure that allows the user application programs to interact with the system
hardware.
➢ Since the operating system is such a complex structure, it should be created with utmost care so it can
be used and modified easily.
➢ An easy way to do this is to create the operating system in parts.
➢ Each of these parts should be well defined with clear inputs, outputs and functions.

Following are various popular implementations of Operating System structures.

1. Simple Structure

2. Monolith Structure

3. Micro-Kernel Structure

4. Layered Structure

Simple Structure
1. There are many operating systems that have a rather simple structure.
2. These started as small systems and rapidly expanded much further than their scope.
3. A common example of this is MS-DOS.
4. It was designed simply for a specific users.
5. There was no indication that it would become so popular.

6. It is better that operating systems have a modular structure, unlike MS-DOS.


7. That would lead to greater control over the computer system and its various applications.
8. The modular structure would also allow the programmers to hide information as required and implement
internal routines as they see fit without changing the outer specifications.

Advantages
Following are advantages of a simple operating system structure.

• Easy Development - In simple operation system, being very few interfaces, development is easy
especially when only limited functionalities are to be delivered.

• Better Performance - Such a system, as have few layers and directly interacts with hardware, can provide
a better performance as compared to other types of operating systems.

Disadvantages
Following are disadvantages of a simple operating system structure.

• Frequent System Failures - Being poorly designed, such a system is not robust. If one program fails,
entries operating system crashes. Thus, system failures are quite frequent in simple operating systems.

• Poor Maintainability - As all layers of operating systems are tightly coupled, change in one layer can
impact other layers heavily and making code unmanageable over a period of time.

Monolith Structure

1. In monolith structured operating system, a central piece of code called kernel is responsible for all major
operations of an operating system. Such operations include file management, memory management,
device management and so on.
2. The kernel is the main component of an operating system and it provides all the services of an operating
system to the application programs and system programs.
3. The kernel has access to the all the resources and it acts as an interface with application programs and
the underlying hardware.
4. A monolithic kernel structure promotes timesharing, multiprogramming model and was used in old
banking systems.

Advantages

Following are advantages of a monolith operating system structure.

• Easy Development - As kernel is the only layer to develop with all major functionalities, it is easier to
design and develop.

• Performance - As Kernel is responsible for memory management, other operations and have direct
access to the hardware, it performs better.

Disadvantages
Following are disadvantages of a monolith operating system structure.

• Crash Prone - As Kernel is responsible for all functions, if one function fails entire operating system fails.

• Difficult to enhance - It is very difficult to add a new service without impacting other services of a
monolith operating system.

Micro-Kernel Structure

1. As in case monolith structure, there was single kernel, in micro-kernel, we have multiple kernels each
one specialized in particular service.
2. Each microkernel is developed independent to the other one and makes system more stable.
3. If one kernel fails the operating system will keep working with other kernel's functionalities.

Advantages

Following are advantages of a microkernel operating system structure.

• Reliable and Stable - As multiple kernels are working simultaneously, chances of failure of operating
system are very less. If one functionality is down, operating system can still provide other functionalities
using stable kernels.

• Maintainability - Being small sized kernels, code size is maintainable. One can enhance a microkernel
code base without impacting other microkernel code base.

Disadvantages

Following are disadvantages of a microkernel operating system structure:


• Complex to Design - Such a microkernel-based architecture is difficult to design.

• Performance Degradation - Multi kernel, multi-modular communication may reduce the performance as
compared to monolith architecture.

Layered Structure

1. One way to achieve modularity in the operating system is the layered approach.
2. In this, the bottom layer is the hardware and the topmost layer is the user interface.
3. An image demonstrating the layered approach is as follows:

4. As seen from the image, each upper layer is built on the bottom layer. All the layers hide some
structures, operations etc from their upper layers.
5. One problem with the layered structure is that each layer needs to be carefully defined. This is necessary
because the upper layers can only use the functionalities of the layers below them.

Advantages

Following are advantages of a layered operating system structure.

• High Customizable - Being layered, each layer implementation can be customized easily. A new
functionality can be added without impacting other modules as well.

• Verifiable - Being modular, each layer can be verified and debugged easily.

Disadvantages

Following are disadvantages of a layered operating system structure.

• Less Performant - A layered structured operating system is less performant as compared to basic
structured operating system.

• Complex designing - Each layer is to planned carefully as each layer communicates with lower layer only
and a good design process is required to create a layered operating system.
What is a User Interface?
1. User Interface (UI) defines the way humans interact with the information systems.
2. In Layman’s terms, User Interface (UI) is a series of pages, screens, buttons, forms, and other
visual elements that are used to interact with the device.
3. Every app and every website have a user interface.
4. User Interface (UI) Design is the creation of graphics, illustrations, and the use of photographic
artwork to enhance the display and layout of a digital product within its various device views.
Interface elements consist of following Components
➢ input controls (buttons, drop-down menus, data fields),
➢ navigational components (search fields, slider, icons, tags),
➢ informational components (progress bars, notifications, message boxes).

Functions of Operating System


An operating system is a piece of software that manages files, manages memory, manages processes,
handles input and output, and controls peripheral devices like disk drives and printers, among other
things
Operating System handles the following responsibilities:
• It controls all the computer resources.
• It provides valuable services to user programs.
• It coordinates the execution of user programs.
• It hides the complexity of software.
• It supports multiple execution modes.
Memory Management
1. The operating system manages the Primary Memory or Main Memory.
2. Main memory is made up of a large array of bytes or words where each byte or word is assigned
a certain address
3. Main memory is fast storage and it can be accessed directly by the CPU.
Processor Management
1. In a multi-programming environment, the OS decides the order in which processes have access
to the processor, and how much processing time each process has.
2. This function of OS is called Process Scheduling.
3. An Operating System performs the following activities for Processor Management.
4. An operating system manages the processor’s work by allocating various jobs to it and ensuring
that each process receives enough time from the processor to function properly.
Keeps track of the status of processes.

File Management
1. A file system is organized into directories for efficient or easy navigation and usage.
2. These directories may contain other directories and other files.
3. An Operating System carries out the following file management activities.
4. It keeps track of where information is stored, user access settings, the status of every file, and
more.
5. These facilities are collectively known as the file system.

Resource Management
Resource management is the important function of operating system refers to how the OS
handles input and output operations between the computer and external devices, such as keyboards,
mice, printers, hard drives, and monitors.

Security
The operating system uses password protection to protect user data and similar other techniques. it also
prevents unauthorized access to programs and user data.
Deadlock Prevention:
Deadlock is a condition where two or more processes try to access the critical section at the same time
but fail to access it simultaneously or get stuck while accessing the critical section.
Deadlock prevention and avoidance are strategies used in computer systems to ensure that different
processes can run smoothly without getting stuck waiting for each other forever.
Example:
Think of it like a traffic system where cars (processes) must move through intersections (resources)
without getting into a gridlock.
Necessary Conditions for Deadlock
• Mutual Exclusion: a situation where only one process can access a resource at a time.
• Hold and Wait: A process is holding a resource and waiting for additional resources
• No Preemption: A resource can only be released voluntarily by the process holding it
• Circular Wait: A set of processes are waiting for each other in a circular pattern

Coordination Between Other Software and Users


Operating systems also coordinate and assign interpreters, compilers, assemblers, and other software to
the various users of the computer systems.
Chapter 3
Process
A process is basically a program in execution. The execution of a process must progress in a sequential
fashion.
A process is defined as an entity which represents the basic unit of work to be implemented in the system.

Example
we write our computer programs in a text file and when we execute this program, it becomes a process
which performs all the tasks mentioned in the program.

Explanation
When a program is loaded into the memory and it becomes a process, it can be divided into four sections
─ stack, heap, text and data.
The following image shows a simplified layout of a process inside main memory −

S.N. Component & Description

1 Stack
The process Stack contains the temporary data such as method/function parameters,
return address and local variables.
2 Heap
This is dynamically allocated memory to a process during its run time.
3 Text
This includes the current activity represented by the value of Program Counter and the
contents of the processor's registers.
4 Data
This section contains the global and static variables.

Process Life Cycle


When a process executes, it passes through different states.
These stages may differ in different operating systems, and the names of these states are also not
standardized.
In general, a process can have one of the following five states at a time.

1. Start:
This is the initial state when a process is first started/created.
2. Read:
The process is waiting to be assigned to a processor. Ready processes are waiting to have the
processor allocated to them by the operating system so that they can run. Process may come into this
state after Start state or while running it by but interrupted by the scheduler to assign CPU to some
other process.

3.Running:

Once the process has been assigned to a processor by the OS scheduler, the process state is set
to running and the processor executes its instructions.

4.Waiting:
Process moves into the waiting state if it needs to wait for a resource, such as waiting for
user input, or waiting for a file to become available.

5.Terminated or Exit:
Once the process finishes its execution, or it is terminated by the operating system, it is
moved to the terminated state where it waits to be removed from main memory.
Process Control Block (PCB)
A Process Control Block is a data structure maintained by the Operating System for every process. The
PCB is identified by an integer process ID (PID). A PCB keeps all the information needed to keep track of
a process as listed below in the table –
The architecture of a PCB is completely dependent on Operating System and may contain different
information in different operating systems. Here is a simplified diagram of a PCB

1. Process State: The current state of the process i.e., whether it is ready, running, waiting, or
whatever.

2. Process privileges: This is required to allow/disallow access to system resources.

3. Process ID: Unique identification for each of the process in the operating system.

4. Pointer: A pointer to parent process.

5. Program Counter: Program Counter is a pointer to the address of the next instruction to be
executed for this process.

6. CPU registers: Various CPU registers where process need to be stored for execution for running
state.

7. CPU Scheduling Information: Process priority and other scheduling information which is
required to schedule the process.
8. Memory management information: This includes the information of page table, memory
limits, Segment table depending on memory used by the operating system.

9. Accounting information: This includes the amount of CPU used for process execution, time
limits, execution ID etc.

10. I/O status information: This includes a list of I/O devices allocated to the process. The PCB is
maintained for a process throughout its lifetime, and is deleted once the process terminates.

The PCB is maintained for a process throughout its lifetime, and is deleted once the process terminates.

Operations on Process in Operating System


The operations on a process occur when the process is in a particular state or when the process makes a
transition from one state to another. There are mainly four operations on a process −
1. Process Creation
2. Process Dispatch
3. Process Blocking
4. Process Termination

1. Process Creation
The first operation that a process undergoes when it enters a system is process creation.
It involves formation of a process and is associated with “New” state of the process.
Process creation occurs due to any of the following events:
• System initialization − When the computer is started, a number of system processes and
background processes are created.
• User request − A user may start executing a program leading to creation of a process.
• Child process system call − A running process may create a child process by process creation
system call.
• Batch system − The batch system may initiate batch jobs

2. Process scheduling\dispatching
Scheduling or dispatching refers to the event where the OS puts the process from ready to running state.
It is done by the system when there are free resources or there is a process of higher priority than the
ongoing process.

3. Process Blocking
• Block mode is a mode where the system waits for input-output.
• In process blocking operation, the system puts the process in the waiting state.
• When a task is blocked, it is unable to execute until the task prior to it has finished using the
shared resource.
• Examples of shared resources are the CPU, network and network interfaces, memory, and disk.
4. Process Termination
Ending a process is known as process termination. There are many events that may lead to process
termination, some of them are:
1. One process terminating the other process.
2. A problem in the hardware.
3. The process is fully executed, implying that the OS is finished.
4. An operating system might terminate itself due to service errors.

What is Thread in Operating Systems?


A thread refers to a single sequential flow of activities being executed in a process; it is also known as the
thread of execution or the thread of control.
Now, thread execution is possible within any OS’s process.
Apart from that, a process can have several threads.
A distinct program counter, a stack of activation records as well as control blocks are used by each thread
of the same process.
Thread is frequently described as a light technique.

The procedure can be easily broken down into numerous different threads.
Example: Multiple tabs in a browser, for example, can be considered threads. MS Word employs many
threads to prepare the text in one thread, receive input in another thread, and so on.
Why Do We Need Thread?
• Creating a new thread in a current process requires significantly less time than creating a new
process.
• Threads can share common data without needing to communicate with each other.
• When working with threads, context switching is faster.
• Terminating a thread requires less time than terminating a process.

Types of Threads
1. User-Level Thread
• The user-level thread is ignored by the operating system.
• User threads are simple to implement and are done so by the user.
• The entire process is blocked if a user executes a user-level operation of thread blocking.
• The kernel-level thread is completely unaware of the user-level thread.
• User-level threads are managed as single-threaded processes by the kernel-level thread.
2. Kernel-Level Thread
• The operating system is recognized by the kernel thread.
• Each thread and process in the kernel-level thread has its own thread control block as well as
process control block in the system.
• The operating system implements the kernel-level thread.
• The kernel is aware of all threads and controls them.
• The kernel-level thread provides a system call for user-space thread creation and management.
Kernel threads are more complex to build than user threads.
• The kernel thread’s context switch time is longer.
• The execution of the Banky thread can continue in case a kernel thread performs a blocking
operation.
INTRODUCTION TO WINDOWS 10
Windows 10 is a popular operating system developed by Microsoft, released in July 2015. It
combines features from previous versions of Windows while introducing new tools and
enhancements to improve usability, security, and performance.
Installation Requirements
Before installing Windows 10, your system needs to meet certain minimum hardware requirements:
• Processor: 1 GHz or faster processor or System on a Chip (SoC)

• RAM:
o 1 GB for 32-bit
o 2 GB for 64-bit
• Hard Disk Space:
o 16 GB for 32-bit OS
o 20 GB for 64-bit OS
• Graphics Card: DirectX 9 or later with WDDM 1.0 driver
• Display: 800x600 resolution or higher
• Internet Connection: Internet connectivity is necessary to perform updates and
download and take advantage of some features.
How to Create a Bootable USB / DVD / CD
Creating a bootable USB or DVD/CD is essential for installing Windows 10. Here’s how you can
do it:

Rufus Software
Rufus is a free and open-source utility used to create bootable USB drives. Here’s how to use it:

1. Download Rufus:
o Visit the Rufus official website and download the latest version.
2. Prepare the USB Drive:
o Insert a USB drive (at least 8 GB) into your computer. Ensure that any important
data is backed up, as the USB will be formatted.
3. Run Rufus:
o Open Rufus. It will automatically detect your USB drive.
4. Select the ISO File:
o Under "Boot selection," click on the "Select" button to choose the Windows 10
ISO file.
5. Configure Rufus Settings:
o Partition Scheme: Choose "MBR" for BIOS or "GPT" for UEFI.
o File System: NTFS is typically selected.
6. Create the Bootable USB:
o Click "Start." Rufus will format the USB drive and copy the Windows 10 files,
making it bootable.
Step-By-Step Installation Process
Once you have a bootable USB or DVD, follow these steps to install Windows 10:

1. Insert Bootable Media:


o Insert the bootable USB or DVD into your computer.
2. Enter BIOS/UEFI:
o Restart your computer and enter the BIOS/UEFI setup (usually by pressing a key
like F2, F10, DEL during boot). Set the USB or DVD as the primary boot device.
3. Boot from the Media:
o Save changes and restart. Your computer should boot from the USB or DVD.
4. Begin Installation:
o You’ll see the Windows 10 setup screen. Select your language, time, and
keyboard preferences, then click "Next."
5. Install Now:
o Click "Install Now." Enter your product key (or skip if you don’t have it) and
accept the license terms.
6. Custom Installation:
o Choose "Custom: Install Windows only (advanced)" for a clean installation.
7. Partition the Hard Drive:
o Select the drive or partition where you want to install Windows 10. You can
format, delete, or create new partitions as needed.
8. Start Installation:
o Click "Next" to start the installation. Windows will copy files, install features, and
configure settings. This process may take some time.
9. Configure Settings:
o Once the installation is complete, your computer will restart. Follow the on-screen
instructions to set up your account, personalize settings, and configure Cortana,
privacy, and more.
Hard Disk Partition
Partitioning a hard drive involves dividing it into separate sections, each acting as an independent
drive. During the Windows 10 installation process, you can create, delete, or format partitions.
Here’s how:

1. Access Partition Options:


o During installation, when asked where to install Windows, click on "Drive
options (advanced)."
2. Create a New Partition:
o Select the unallocated space and click "New" to create a new partition. Specify
the size in MB and click "Apply."
3. Format Partitions:
o Select the newly created partition and click "Format." Repeat for any other
partitions you want to create.
4. Select Partition for Installation:
o Choose the partition where you want to install Windows 10 and click "Next."
GUI Basics / Desktop Basics
Once Windows 10 is installed, you’ll be introduced to the Graphical User Interface (GUI). Here
are some basics:
• Desktop: The main workspace where you can place shortcuts, files, and folders. It
includes the Taskbar at the bottom and the Start Menu.
• Taskbar: Located at the bottom of the screen, the Taskbar shows open applications,
provides quick access to pinned programs, and includes the notification area (system
tray) on the right side.
• Icons: Represent files, folders, and applications. You can double-click icons on the
desktop to open them.
• File Explorer: Access it from the Taskbar or Start Menu to browse and manage your
files and folders.
Start Menu
The Start Menu is a central hub for accessing applications, settings, and files:
• Start Button: Click the Start button (or press the Windows key) to open the Start Menu.
• Tiles: The Start Menu features tiles that can be resized, moved, and grouped according to
your preferences. You can pin frequently used apps for quick access.
• Search Bar: Located at the bottom of the Start Menu, it allows you to search for
applications, files, and settings on your computer or the web.
• Power Options: Access options like Shutdown, Restart, and Sleep from the power button
in the Start Menu
Taskbar
The Taskbar is a crucial component of the Windows 10 interface, located at the bottom of the
screen. It provides quick access to running applications, pinned programs, and system notifications.
• Start Button: Located on the far left, it opens the Start Menu.
• Search Bar/Cortana: Next to the Start Button, used to search for apps, files, or web
content.
• Task View: A button that shows all open windows and allows you to switch between
virtual desktops.
• Pinned Applications: Frequently used apps can be pinned here for quick access.
• System Tray: On the far right, it shows notifications, date and time, volume control,
network status, and other system icons.
• Notification Center: Accessed by clicking the speech bubble icon on the far right, it
displays system and app notifications.
Settings
Settings is a central hub for managing system configurations in Windows 10. Access it via the
Start Menu or by pressing Win + I. Here’s an overview of key settings:
• System: Manage display, notifications, power, and storage settings.
• Devices: Set up printers, scanners, Bluetooth devices, and manage mouse and keyboard
settings.
• Network & Internet: Configure Wi-Fi, Ethernet, VPN, and other network-related
settings.
• Personalization: Customize the desktop background, themes, colors, and lock screen.
• Accounts: Manage user accounts, sign-in options, and family safety settings.
• Update & Security: Handle Windows updates, backup, recovery, and system security
options.
Driver / Hardware Installation
Installing drivers is essential for your hardware to function correctly. Drivers are software that
communicates between your hardware and the OS.

VGA / SVGA / AGP / Gaming Card


• VGA/SVGA/AGP Cards: These are types of video graphics adapters. To install, ensure the
card is properly inserted into its slot (e.g., PCIe for modern cards), then install the
latest drivers from the manufacturer’s website (NVIDIA, AMD, or Intel).
• Gaming Card: Follow the same procedure. Modern gaming cards often require additional
power connectors from the PSU and drivers specifically optimized for gaming.

Sound Card
• Sound Card Installation:
o Insert the sound card into an available slot on the motherboard.
o Boot up the computer and install drivers from the manufacturer's website.
o Use the Windows Settings (System > Sound) to configure audio output and input
devices.

Network Interface Card


• i. Wired (Ethernet) Network Interface Card:
o Insert the card into a PCI/PCIe slot.
o Install the drivers if Windows does not automatically recognize the device.
o Connect an Ethernet cable and configure network settings via the Control Panel or
Settings.
• ii. Wireless Network Interface Card:
o Install the card in an available slot or connect via USB.
o Install the drivers provided with the card.
o Use the network settings to connect to a wireless network.

Software Installation
Software Installation is typically done via installation wizards or directly from the Microsoft Store:
• Download the Software: Obtain the software installer from the internet, a CD/DVD, or
the Microsoft Store.
• Run the Installer: Double-click the installer file and follow the on-screen prompts to
install the software.
• Follow Instructions: Accept license agreements, choose installation locations, and
configure any necessary settings during installation.
• Complete Installation: Finish the installation and restart your computer if prompted.
User Creation
Windows 10 allows multiple user accounts on one computer, each with its own settings and files.

4.1.2 Setting Properties


• Create a New User Account:
o Go to Settings > Accounts > Family & other users.
o Click "Add someone else to this PC."
o Choose to create a Microsoft account or a local account.
o Enter the user’s information and set up the account.

4.1.3 Assigning Role & Permissions


• User Roles:
o Standard User: Can use most software and change settings but cannot install
new software or change system settings.
o Administrator: Has full control over the system, including installing software,
changing settings, and managing other user accounts.
• Assigning Roles:
o Go to Settings > Accounts > Family & other users.
o Select the account and click "Change account type."
o Choose between "Administrator" or "Standard User" and click "OK."
Tablet Mode
Tablet Mode in Windows 10 optimizes the interface for touchscreen devices, providing a more
touch-friendly experience:

• Enable Tablet Mode:


o Go to Settings > System > Tablet.
o Toggle "Tablet mode" on or off. You can also enable it via the Action Center by
clicking the Tablet Mode button.
• Features:
o Full-screen Start Menu.
o Apps open in full screen.
o Taskbar and desktop icons are minimized to avoid clutter.

Dual Desktop
Windows 10 supports virtual desktops, allowing you to organize your workspace by creating multiple
desktops:

• Create a New Desktop:


o Click the Task View button on the Taskbar or press Win + Tab.
o Click "New desktop" in the top-left corner.
• Switch Between Desktops:
o Use Task View or press Ctrl + Win + Left/Right Arrow to switch between
desktops.
• Move Windows Between Desktops:
o In Task View, drag windows from one desktop to another.

Network Settings

Join Workgroup
Workgroups are used for small networks without a centralized domain controller:

• Join a Workgroup:
o Right-click "This PC" and select "Properties."
o Click "Change settings" next to the computer name.
o In the "System Properties" window, click "Change."
o Select "Workgroup," enter the workgroup name, and click "OK."

4.1.4 Connecting with DSL Modem


To connect to the internet using a DSL modem:
• Connect the DSL Modem:
o Connect the modem to your phone line and your computer via Ethernet.
• Configure Connection:
o Go to Settings > Network & Internet > Ethernet.
o If needed, enter the PPPoE credentials provided by your ISP.

Connecting with Hotspot Hotspot Connection:


• Enable Hotspot on Your Device:
o On your smartphone or other device, enable the mobile hotspot feature.
• Connect to Hotspot:
o Go to Settings > Network & Internet > Wi-Fi.
o Select the hotspot network and enter the password.

Updates & Security


Windows 10 regularly receives updates to enhance security, performance, and features:

Check for Updates:


o Go to Settings > Update & Security > Windows Update.
o Click "Check for updates" to see if any are available.
• Security Settings:
o In Update & Security, you can access Windows Security to manage antivirus,
firewall, and other protective measures.
Mouse & Keyboard Settings
Customize mouse and keyboard settings through the Settings menu:

• Mouse Settings:
o Go to Settings > Devices > Mouse.
o Adjust pointer speed, switch primary buttons, and customize scroll behavior.
• Keyboard Settings:
o Go to Settings > Devices > Typing.
o Configure autocorrect, text suggestions, and other typing options.

Adding Urdu Keyboards


To add and configure an Urdu keyboard:

• Add a Language:
o Go to Settings > Time & Language > Language.
o Click "Add a language" and search for "Urdu."
• Switch Keyboard Layout:
o Use the language bar on the Taskbar or press Alt + Shift to switch between
keyboard layouts.
Installing & Configuring Printers & Scanners
To install and configure printers and scanners in Windows 10:

• Install a printer:
o Go to Settings > Devices > Printers & scanners.
o Click "Add a printer or scanner," select your device, and follow the prompts.
• Configure Scanner:
o Use the same menu to add a scanner.
o Once installed, use Windows Fax and Scan or other scanning software to operate
the scanner.
NETWORK CONNECTIVITY (NETWORKING)

Creating a Workgroup in Windows 10


A Workgroup is a simple, decentralized networking model used for sharing files, printers, and
other resources between computers on the same network without a centralized domain controller.
Steps to Create a Workgroup:

1. Open System Properties:


o Right-click on "This PC" on the desktop or in File Explorer, and select
"Properties."
o Alternatively, you can access it via Control Panel > System and Security >
System.
2. Change Workgroup Settings:
o In the System window, click on "Change settings" next to the computer name.
o In the System Properties window, click on the "Change" button.
3. Join or Create a Workgroup:
o In the "Computer Name/Domain Changes" window, select the "Workgroup"
option.
o Enter a name for your Workgroup (e.g., "HOME" or "OFFICE").
o Click "OK" to confirm.
o Restart your computer to apply the changes.
4. Repeat for Other Computers:
o Repeat the above steps on each computer you want to include in the Workgroup,
ensuring that they all have the same Workgroup name.
Assigning IP Address to NIC / HOST / Computer
Assigning an IP address is essential for communication between devices on a network.

Steps to Assign an IP Address:


5. Open Network Connections:
o Right-click on the network icon in the Taskbar and select "Open Network &
Internet settings."
o Click on "Change adapter options" under the Status section.
6. Select Network Interface Card (NIC):
o Right-click on your active network connection (e.g., Ethernet or Wi-Fi) and select
"Properties."
7. Configure IP Address:
o In the Properties window, scroll down and select "Internet Protocol Version 4
(TCP/IPv4)" and click "Properties."
o Select "Use the following IP address" and manually enter the IP address, subnet
mask, and default gateway. For example:
▪ IP Address: 192.168.1.10 (ensure it’s unique within your network)
▪ Subnet Mask: 255.255.255.0
▪ Default Gateway: 192.168.1.1 (usually the router’s IP address)
o Optionally, enter the preferred DNS server address (e.g., 8.8.8.8 for Google
DNS).
o Click "OK" to save the settings.
8. Verify IP Configuration:
o Open Command Prompt and type ipconfig to verify that the IP address has been
correctly assigned.
File Sharing
Windows 10 allows you to share files and folders with other computers in the same network.

Steps to Share Files:


9. Select the Folder to Share:
o Right-click on the folder you want to share and select "Properties."
o Go to the "Sharing" tab.
10. Share the Folder:
o Click on "Share."
o In the File Sharing window, choose the users or groups with whom you want to
share the folder. You can select "Everyone" for open access.
o Set the permission level (Read, Read/Write).
o Click "Share" and then "Done."

11. Advanced Sharing (Optional):


o For more control, click on "Advanced Sharing" in the Sharing tab.
o Check "Share this folder," and click "Permissions" to set specific user
permissions.
o Click "OK" to apply the settings.

12. Access Shared Folder:


o On another computer in the same Workgroup, open File Explorer, click on
"Network" in the left pane, and find the computer sharing the folder.
o Double-click to access the shared folder.

Printer Sharing
Printer sharing allows multiple computers in a Workgroup to use a single printer.
Steps to Share a printer:
13. Open Devices and Printers:
o Go to Settings > Devices > Printers & scanners.
o Select the printer you want to share, click on it, and then click "Manage."

14. Share the Printer:


o Click on "Printer properties."
o Go to the "Sharing" tab.
o Check "Share this printer" and give it a share name.
o Click "OK" to apply.

15. Access the Shared Printer:


o On another computer, go to Settings > Devices > Printers & scanners.
o Click "Add a printer or scanner."
o Select the shared printer from the list or click "The printer that I want isn't listed"
and browse for the shared printer on the network.
Assigning Permissions to Users
Assigning permissions ensures that users have the appropriate level of access to shared resources.

Steps to Assign Permissions:


16. Open Properties of the Shared Resource:
o Right-click the shared folder or printer and select "Properties."
o Go to the "Security" tab.

17. Configure Permissions:


o Select the user or group and click "Edit."
o Set the desired permissions (Full Control, Modify, Read & Execute, etc.).
o Click "Apply" and then "OK" to save.

18. Add or Remove Users:


o In the Security tab, click "Edit" to add or remove users from the permission list.
o Click "Add" to include a new user and set their permissions.

Practically Demonstrate Data Sharing Between Computers


To demonstrate data sharing between two computers:

19. Prepare Two Computers in the Same Workgroup:


o Ensure both computers are part of the same Workgroup and have been assigned
IP addresses.
20. Enable File Sharing:
o On Computer A, share a folder as described in section 5.3.
o Ensure the folder has Read/Write permissions for the user or "Everyone."
21. Access Shared Folder from Computer B:
o On Computer B, open File Explorer, click on "Network," and find Computer A.
o Double-click on Computer A’s name to see the shared folder.

22. Transfer Data:


o Copy a file from Computer B into the shared folder on Computer A.
o Verify that the file appears in the shared folder on Computer A.

23. Test File Access:


o On Computer A, open the file to ensure it was successfully shared.
o You can also test by creating a file in the shared folder on Computer A and
accessing it from Computer B.
WINDOWS SERVER 2019 / 2016

Definition of Windows Server 2016


Windows Server 2016 is a server operating system developed by Microsoft as part of the
Windows NT family. Released in October 2016, it is designed to provide a robust, flexible,
and scalable platform for managing and deploying server-based applications and services.
Windows Server 2016 includes advanced features for virtualization, storage, networking,
and security, making it suitable for both small and large enterprise environments.
Difference Between Client and Server
Client and Server systems serve different roles within a network:

• Client:
o A client is a computer or device that accesses services or resources on a server.
o Clients run desktop operating systems like Windows 10, macOS, or Linux.
o They are typically used for everyday tasks like browsing the web, running
office applications, and connecting to servers for email, file sharing, and
other services.
• Server:
o A server is a powerful computer designed to provide services to multiple
clients over a network.
o Servers run specialized server operating systems like Windows Server 2016.
o They manage resources and services such as databases, file storage, web
hosting, print services, and more.
o Servers are designed to handle heavy workloads and operate 24/7,
ensuring availability and reliability for connected clients.

Key Differences:
• Role: Clients consume services, while servers provide them.
• Operating System: Clients typically run desktop OS, servers run server OS.
• Hardware: Servers usually have more robust hardware to support multiple
simultaneous connections and high-performance demands.
• Management: Servers require more complex management and configuration
compared to client machines.
6.1 Roles & Services in Windows Server 2016
Windows Server 2016 offers a variety of roles and services that can be configured to meet
the needs of different environments. Here are some of the key roles:
Print & Document Services
Print & Document Services allow administrators to manage printers and print servers across
an organization.
• Print Server: Manages printers and queues, enabling centralized management
of print jobs.
• Distributed Scan Server: Enables sharing and managing of scanners on the network.
• Internet Printing: Allows users to connect and print to printers via the web.

Benefits:
• Centralized management of printers and print queues.
• Enhanced control over print resources, including permissions and access.
• Web-based printing allows remote users to print documents.
6.1.2 Active Directory
Directory (AD) is a directory service that provides centralized management of users,
computers, and other resources within a network.
• Domain Services: The core component, managing users, groups, and computers
within a domain.
• Group Policy: Allows administrators to control settings and permissions across all
users and computers in the domain.
• LDAP Protocol: AD uses the Lightweight Directory Access Protocol (LDAP) to
manage and access directory information.

Key Features:
• Centralized authentication and authorization for network resources.
• Group Policy management to enforce security settings and configurations.
• Support for complex directory hierarchies and organizational units.

DHCP (Dynamic Host Configuration Protocol)


DHCP is a network management protocol used to automatically assign IP addresses to
devices on a network.
• DHCP Server Role: Configures and manages IP address leases, reducing the
need for manual configuration on each device.
• Scope: Defines the range of IP addresses that the DHCP server can assign.
• Reservations: Allows specific devices to always receive the same IP address.
Benefits
• Simplifies network management by automating IP address assignment.
• Reduces the risk of IP address conflicts.
• Supports dynamic IP address allocation, allowing efficient use of available IP space.

DNS (Domain Name System)


DNS is a system that translates human-readable domain names (e.g., www.example.com) into
IP addresses that computers use to identify each other on the network.
• DNS Server Role: Hosts and resolves DNS queries, translating domain names
into IP addresses.
• Zones: Contains DNS records for a portion of the DNS namespace, such as
forward lookup zones (name to IP) and reverse lookup zones (IP to name).
• Records: Types of records include A (address), CNAME (canonical name), MX
(mail exchange), and others.

Benefits:
• Simplifies network navigation by allowing users to use memorable domain names
instead of IP addresses.
• Essential for Active Directory, which relies heavily on DNS for locating
domain controllers.
• Supports scalability and redundancy with DNS zone replication.

WINS (Windows Internet Name Service)


WINS is an older name resolution service that maps NetBIOS names to IP addresses in a
Windows network.
• WINS Server Role: Resolves NetBIOS names to IP addresses, primarily
used in networks with legacy applications and systems that rely on
NetBIOS.
• WINS vs. DNS: WINS is used for NetBIOS names, while DNS is used for
resolving domain names.

Benefits:
• Provides backward compatibility with older network environments that
still use NetBIOS.
• Helps in managing and resolving names in networks where DNS is not
fully implemented.
While DNS has largely replaced WINS in modern networks, WINS may still be required
in certain legacy systems or mixed environments.

You might also like