Computer Fundamentals and Introduction to Programming · Lecture Notes
Chapter 2.2: The Windows Operating System
The first thing we see when we turn on a computer is the operating system’s interface: the icons on the desktop, the taskbar at the bottom, the windows that open, and the folders that hold our files. These notes cover the parts of Windows 11 that people meet most in daily use: the desktop and Start menu, window management, keyboard shortcuts, the organization of files and folders, file paths, File Explorer, the Settings app, accounts and security, storage maintenance, Task Manager, backup, and recovery. Each topic is supported by a mock-up of the screen and a step-by-step table. Numbers such as disk capacity, the space a file takes on disk, a compression ratio, and display scaling are explained with small calculations.
Learning outcomes
- Interface
- Use the Start menu, the taskbar, windows, and virtual desktops; apply commonly used keyboard shortcuts.
- File management
- Apply the concepts of file, folder, drive, extension, and path; resolve absolute and relative paths step by step; distinguish the consequences of copying and moving.
- Settings
- Manage account, app, default app, language, and accessibility options.
- Maintenance
- Choose and use the storage, drive optimization, update, backup, recovery, and security tools that fit the purpose.
2.2.1Windows and the desktop
An operating system is the basic software that manages the hardware and offers common services to applications. It shares memory among applications, organizes files on the disk, and delivers keyboard and mouse events to the right window. Users do not see most of this work; they deal only with the operating system’s interface. In Windows, the center of that interface is the desktop.
2.2.1.1Windows and its versions
Windows is the operating system that Microsoft develops for personal computers, and it is the most widely used operating system on desktop and laptop machines. Windows uses a window-based graphical interface: each application runs in its own rectangular area, a window, and the user manages the windows with the mouse or the keyboard.
A graphical user interface (GUI) is an interface in which the user interacts with the computer through icons, windows, menus, and buttons. Commands are given not by typing but by clicking items, dragging them, or pressing shortcut keys.
Windows has come in many versions over the years. These notes are written for Windows 11. Support for Windows 10 ended on 14 October 2025. A version that is no longer supported keeps running, but it no longer receives security updates, so a computer connected to the internet should run a supported version.
Windows 11 itself gets one major update a year. Menu names and the positions of some buttons can differ slightly between updates. The names used in these notes are those of the English Windows 11 interface, as in the slides. If a name differs a little on your computer, the option with the same function is usually in the same menu.
Thinking “the computer works, so an old version is not a problem.” Newly discovered security holes are not fixed in a version that is out of support. The computer looks the same every day, but over time it becomes more vulnerable to attacks.
2.2.1.2The desktop
The desktop is the main work area that appears after sign-in and gives access to applications, files, and system functions. It consists of the wallpaper, the desktop icons, and the taskbar at the bottom of the screen.
Figure 2.2.1 shows the four main parts of the desktop. The work area fills most of the screen; the wallpaper shows here and open windows sit on top of it. The desktop icons at the top left give quick access to frequently used items: “This PC,” “Recycle Bin,” and the files the user has placed on the desktop. The taskbar stretches along the bottom. At the bottom right is the notification area with the clock, network, volume, and battery icons.
The look of the desktop varies from computer to computer. The icons on the taskbar can be centered or left-aligned. The wallpaper, colors, and icon size are changed in the Personalization section of the Settings app. So instead of memorizing where things are, it is more useful to know what each item does.
The desktop is also a folder. A file saved to the desktop sits in the user’s Desktop folder on the disk. Using the desktop as a file store quickly leads to clutter, and a file is hard to find among hundreds of icons. A better habit is to keep on the desktop only the few files and shortcuts being worked on that day and to place everything else in the folder structure described in 2.2.4.2.
2.2.1.3The Start menu and search
The Windows icon on the taskbar is the Start button. Clicking it, or pressing the Windows key (Win) on the keyboard, opens the Start menu.
The Start menu is the menu from which one reaches installed applications, recently used files, user account options, and power commands in one place.
Figure 2.2.2 shows the five parts of the Start menu by number:
- Search. This is the box at the top of the menu. It finds apps, files, settings, and help content. Once the Start menu is open there is no need to click the box; typing starts the search.
- Pinned. These are the icons of the apps the user uses often. An app is added here by right-clicking it and choosing “Pin to Start.” The All apps link at the top right opens an alphabetical list of all installed apps.
- Recommended. Recently opened files and newly installed apps. It is the shortest way back to an unfinished document.
- User menu. It opens when the user name at the bottom left is clicked: account settings, lock, sign out.
- Power. The button at the bottom right: sleep, shut down, restart.
Right-clicking the Start button opens another menu. It is called the Quick Link menu and can also be opened with the Win + X shortcut. It contains system tools such as Task Manager, Settings, File Explorer, Device Manager, Disk Management, and Terminal. It is the shortest way to a system tool without searching in the Start menu.
You want to change the screen resolution but do not know which menu the setting is in. Search finds it as follows:
- Press the Win key; the Start menu opens.
- Type
resolutionright away. There is no need to click the search box. - The “Change the resolution of the display” setting appears at the top of the results. When you press Enter, the Settings app opens directly on the System → Display page.
The same method works for apps. Pressing the Win key, typing word, and pressing Enter is faster than looking for Word in the menu.
Holding the power button down to shut the computer off. A long press on the case button cuts the power; unsaved documents are lost and the operating system cannot finish half-completed write operations. The computer is shut down with Power → Shut down in the Start menu. Holding the button is a last resort, only when the system responds to no key at all.
2.2.1.4The taskbar
The taskbar is the bar that is always visible at the bottom of the screen and carries the Start button, the search box, pinned and open apps, the system tray, quick settings, and the clock.
Figure 2.2.3 divides the taskbar into seven parts from left to right. The job of each part is summarized in Table 2.2.1.
| No. | Part | Job |
|---|---|---|
| 1 | Start | Apps, search, account, and power commands |
| 2 | Search | Find files, apps, and settings |
| 3 | Task view | Show open windows and virtual desktops |
| 4 | Apps | Launch pinned apps, switch between open windows |
| 5 | System tray | Icons of apps running in the background (under the ^ arrow) |
| 6 | Quick settings | Network, volume, and battery icons; clicking opens the Quick settings panel |
| 7 | Clock and notifications | Date and time; clicking opens the calendar and notification center |
The fourth part, the app icons, is the most used. An icon can be in one of three states. A pinned icon stays on the taskbar even when the app is closed, and clicking it launches the app. An open app has a short line under its icon. The icon of the window that currently receives keyboard input is highlighted more strongly. If an app has several windows open, hovering over its icon shows thumbnails of the windows, and you pick the one you want.
To pin an app to the taskbar, right-click its icon while the app is open and choose “Pin to taskbar.” The “Unpin from taskbar” command in the same menu removes the icon; the app itself is not deleted from the computer.
The fifth part, the system tray, is easy to overlook at first. Programs such as cloud sync, antivirus, or a music app run in the background without a window. Their icons appear in the small panel that opens when you click the ^ arrow. To close a background app completely, right-click its icon and choose “Exit” or “Quit.”
2.2.1.5Quick settings and notifications
The two areas at the far right of the taskbar open two small but frequently used panels (Figure 2.2.4).
Quick settings is the area that gathers frequently changed settings such as Wi-Fi, Bluetooth, airplane mode, volume, brightness, and accessibility in a single panel; it opens by clicking the network, volume, and battery icons or with Win + A. The notification center is the panel that shows app notifications and the calendar; it opens by clicking the clock or with Win + N.
The buttons in the Quick settings panel switch on and off with a click. Airplane mode, for example, cuts all wireless connections at once. Night light reduces the blue light of the screen and eases eye strain in the evening. The arrow next to the Wi-Fi button opens the list of nearby wireless networks. The steps for connecting to a network are given in 2.2.8.2.
A notification is a short message an app gives the user: a new e-mail, an upcoming class, a finished download. Notifications appear in a corner of the screen for a few seconds and then pile up in the notification center. Distracting notifications can be turned off per app. For this, switch off the relevant app’s toggle on the Settings → System → Notifications page. The Do not disturb mode on the same page silences notifications at set times, for example during a class or an exam.
Dismissing all notifications without reading them. Critical system warnings such as “The disk is almost full,” “A restart is needed for the update,” or “Virus & threat protection is off” also arrive as notifications. These warnings should be read before they are dismissed. Only distracting app notifications should be turned off.
2.2.2Window management
Windows takes its name from windows. Each application open at the same time runs in its own window. While writing an assignment, you may have Word on one side, a browser with the sources open on the other, and a music app playing in the background. Arranging windows quickly makes it easier to carry on several tasks together.
2.2.2.1The parts of a window
A window is the rectangular area an application occupies on the screen, one that can be moved and resized. Almost every window has a title bar, control buttons, a work area, and a border.
Figure 2.2.5 shows the parts of a window on a File Explorer window. Although applications differ, most of these parts are in the same place in every window:
- The title bar is the strip at the very top. It shows the name of the application and the open document: “Documents - File Explorer.” The window is moved by grabbing this bar and dragging; double-clicking the bar maximizes the window or returns it to its previous size.
- The control buttons are the three buttons at the right of the title bar: Minimize (—), Maximize (□), and Close (✕).
- The menu or toolbar carries the application’s commands. In File Explorer, the New, Cut, Copy, Paste, and View commands are here; in Word, this area takes the form of a ribbon.
- The address and search bar is found in some applications. In File Explorer it shows the path of the folder that is currently open.
- The work area is the real content of the window: the file list, the document text, the web page.
- The scroll bar appears when the content does not fit in the window and scrolls the content up and down.
- The status bar is the thin strip at the bottom. In File Explorer it shows the number of items in the folder and the number of selected items; in Word it shows the page and word counts.
- The border is the outer line of the window. When the mouse is over the border or a corner, the cursor turns into a double arrow; dragging resizes the window.
2.2.2.2Minimize, maximize, close
A window is in one of three states: normal (it covers part of the screen and can be moved and resized), maximized (it fills the whole screen), or minimized (it is not visible on the screen; only its icon stays on the taskbar). The control buttons move the window between these states:
- Minimize (—) sends the window to the taskbar. The application does not close; it keeps running. Clicking its icon on the taskbar brings the window back to where it was.
- Maximize (□) spreads the window over the whole screen. Once the window is maximized, the icon of the same button changes and its name becomes Restore; pressing it returns the window to its previous size.
- Close (✕) closes the window. If it is the application’s only window, the application closes too. If there are unsaved changes, the application first asks whether to save them.
Confusing minimizing with closing. A minimized window disappears from the screen, but the application keeps running in memory. When dozens of windows are minimized and forgotten, memory fills up and the computer slows down. The lines under the taskbar icons show which applications are still open. A window you are finished with is not minimized; it is closed.
2.2.2.3Snapping and switching between windows
Resizing windows by hand with the mouse is slow. Windows offers a layout feature that quickly places windows along the edges and corners of the screen.
Snap is the window-layout feature that fits a window into a half, a third, or a quarter of the screen. A window is snapped by dragging it by the title bar to the edge of the screen, with Win + arrow keys, or by choosing one of the snap layouts that open with Win + Z.
Figure 2.2.6 shows four of the snap layouts. Win + ← places the active window in the left half of the screen and Win + → in the right half. Win + ↑ maximizes the window, while Win + ↓ first restores its previous size and, pressed once more, minimizes it. Win + Z, or hovering the mouse over the Maximize button, shows ready-made layouts such as three columns, four quarters, or one large and two small windows.
The fastest way to switch between open windows is the Alt + Tab shortcut. While the Alt key is held down, pressing Tab brings up thumbnails of the open windows in the middle of the screen. As long as Alt stays down, each Tab selects the next thumbnail; when Alt is released, the selected window comes to the front. Pressing Alt + Tab once and releasing it switches back and forth between two windows.
Let us follow how these operations work together in an example. Figure 2.2.7 shows three key moments of the step-by-step slide in the presentation, and Table 2.2.2 shows all of the steps.
A student is writing a report. report.docx is open in Word, and a source article is open in the browser. The student wants to arrange the screen so that they can read the source and write into the report. At the start, Word is at normal size and in front. The operations go as follows:
| Step | Operation | Word | Browser | Active window |
|---|---|---|---|---|
| 0 | start | normal | in the background | Word |
| 1 | Minimize (—) in Word | minimized (line remains) | in the background | — |
| 2 | Click the Word icon, then Maximize (□) | maximized | in the background | Word |
| 3 | Win + ← | left half | in the background | Word |
| 4 | Switch to the browser, then Win + → | left half | right half | Browser |
| 5 | Alt + Tab, select Word | left half | right half | Word |
| 6 | Close (✕) in Word | closed (asks to save if needed) | right half | Browser |
In the first step Word does not close; the line under its icon shows that the application is open. In the second step the name of the Maximize button becomes Restore. After the fourth step, two windows sit side by side. In the fifth step Alt + Tab does not change the layout; it only changes which window the keyboard types into. In the last step only the Word window closes, and the browser stays where it is.
Thinking that Alt + Tab rearranges the windows. Alt + Tab changes only the active window. When you switch between two snapped windows, both stay in place; only the window that comes to the front and receives keyboard input changes.
2.2.2.4Virtual desktops
When many windows are open at once, the screen gets crowded. The Word and browser windows opened for class get mixed up with music and game windows. Windows solves this problem by dividing windows into separate workspaces.
A virtual desktop is a separate workspace that holds a group of open windows. At any moment the screen shows the windows of only one desktop; the applications on the other desktops keep running in the background.
Virtual desktops are managed with four shortcuts (Table 2.2.3). To see all desktops together, Task view is used. Task view opens with the button on the taskbar or with Win + Tab. It shows the open windows of the active desktop at the top and the list of desktops below.
| Operation | Shortcut | Result |
|---|---|---|
| Task view | Win + Tab | shows the open windows and desktops |
| New desktop | Win + Ctrl + D | creates an empty desktop and switches to it |
| Switch | Win + Ctrl + ← / → | switches to the desktop on the left or right |
| Close | Win + Ctrl + F4 | closes the active desktop; its windows move to the desktop on the left |
Word and a browser are open on Desktop 1 for class. The student wants to take a break to listen to music and play a game, but does not want to close the class windows. The shortcuts are applied in order:
| Step | Operation | Desktop 1 | Desktop 2 | On screen |
|---|---|---|---|---|
| 0 | start | Word, Browser | — | Desktop 1 |
| 1 | Win + Ctrl + D | Word, Browser | (empty) | Desktop 2 |
| 2 | Music and Game open | Word, Browser | Music, Game | Desktop 2 |
| 3 | Win + Ctrl + ← | Word, Browser | Music, Game | Desktop 1 |
| 4 | Win + Ctrl + → | Word, Browser | Music, Game | Desktop 2 |
| 5 | Win + Ctrl + F4 | Word, Browser, Music, Game | — (closed) | Desktop 1 |
In the first step the windows on Desktop 1 do not close; they are only withdrawn from the screen. In the third step the class windows return exactly as they were. Meanwhile the music on Desktop 2 keeps playing. In the last step Desktop 2 closes, but the Music and Game windows in it do not close; they move to Desktop 1.
Thinking that closing a desktop also closes the applications in it. Win + Ctrl + F4 only removes the workspace; its windows move to the desktop on the left and keep running. To close an application, use the ✕ button on its window. The reverse also holds: switching to another virtual desktop does not stop applications. A game on a desktop that is not on screen still uses memory and the processor.
2.2.3Keyboard shortcuts and screenshots
Every move with the mouse means opening a menu, finding an item, and clicking. Doing the same job with a key combination is often several times faster. That is why knowing the shortcuts for frequent tasks saves a great deal of time in daily use.
A keyboard shortcut is a way of running a command by pressing several keys together instead of choosing it from a menu. The notation “Ctrl + C” means pressing the C key while holding the Ctrl key, then releasing both together.
Each of the modifier keys used in shortcuts has roughly its own area. Ctrl usually runs commands inside an application (copy, paste, save, undo). The Win key reaches Windows’ own functions (Settings, File Explorer, window layout). The Alt key is used for switching between windows and for reaching menus. Shift gives a “stronger” form of a command: Delete sends a file to the Recycle Bin, and Shift + Delete deletes it permanently.
2.2.3.1Basic shortcuts
Table 2.2.5 gives the basic shortcuts of the presentation in two groups. The first four do the same job in almost every application. The rest open Windows’ own tools.
| Shortcut | Function | Note |
|---|---|---|
| Ctrl + C | Copy | the selected item is copied to the clipboard; the source does not change |
| Ctrl + X | Cut | the selected item is put on the clipboard to be moved |
| Ctrl + V | Paste | the item on the clipboard is placed at the cursor or in the open folder |
| Ctrl + Z | Undo | the last operation is undone; it also works in File Explorer |
| Win + E | File Explorer | opens a new File Explorer window |
| Win + I | Settings | opens the Settings app |
| Win + R | Run | a small box that opens a program or folder when its name is typed |
| Win + L | Lock screen | the session stays signed in and the screen locks |
| Win + Shift + S | Screenshot of an area | puts an image of the selected area on the clipboard |
| Ctrl + Shift + Esc | Task Manager | opens Task Manager directly |
| Win + V | Clipboard history | shows a list of the most recently copied items |
| Win + D | Show desktop | hides all windows; pressing it a second time brings them back |
Behind the copy, cut, and paste commands is the clipboard. The clipboard is the memory area where a copied or cut item is held temporarily. Normally the clipboard holds a single item, and each new copy overwrites the previous one. The clipboard history that opens with Win + V removes this limit: the most recently copied text and images are listed, and the wanted item is pasted by clicking it. Clipboard history is a feature that has to be turned on the first time it is used.
Locking the session with Win + L and signing out are different things. When you lock, the open applications and documents stay exactly as they are. A lock screen appears, and a PIN or password is requested to return. Signing out, on the other hand, closes all applications. When leaving the computer for a short time, locking is enough.
With Word and a browser open, the keys Win + D, Win + E, Win + Shift + S, and Win + L are pressed in turn. After each step the screen shows the following:
- Win + D. The desktop becomes visible; the Word and browser windows are hidden. The applications do not close; the line under their icons remains.
- Win + E. A File Explorer window opens and appears on top of the desktop.
- Win + Shift + S. The screen darkens and a selection bar appears at the top. An area is selected with the mouse; the image of this area is put on the clipboard.
- Win + L. The lock screen appears. Word, the browser, and File Explorer stay open in the background. When the PIN or password is entered, the screen returns to the state it was in before locking.
In none of the four steps does an application close. The shortcuts only change what is visible.
2.2.3.2Other useful shortcuts
Table 2.2.6 collects shortcuts that are less well known but often useful. Some of them open the menus and panels described in 2.2.1.3 and 2.2.1.5.
| Shortcut | Function |
|---|---|
| Win + X | Quick Link menu (same as right-clicking Start) |
| Win + A | Quick settings panel |
| Win + N | notifications and calendar |
| Win + Z | snap layouts |
| Win + . (period) | emoji and symbol panel |
| Shift + Delete | permanent delete (does not go to the Recycle Bin) |
| Ctrl + T | new tab in File Explorer |
| right-click → Compress to → ZIP File | compress the selected items into a ZIP archive |
Shift + Delete deletes a file without sending it to the Recycle Bin; it cannot be restored from there, and Ctrl + Z does not bring it back either. Because the data on the disk does not vanish at once, special recovery software can sometimes rescue the file, but this should not be relied on. Tabs in File Explorer are available in current Windows 11 versions. As in a browser, they let you keep several folders open in tabs within a single window, so there is no need to open two separate windows when moving files between two folders.
Using Win + D and Win + L for the same purpose. Win + D only hides the windows; anyone who comes to the computer can reopen the documents with one click. When leaving the computer in a place where other people are present, lock the screen with Win + L.
2.2.3.3Taking a screenshot
To report an error message, to show where a setting is, or to add a chart to a report, you need to capture an image of the screen. Windows has several ways to do this. They differ in two questions: what is captured and where the image goes (Table 2.2.7).
A screenshot is the current image of the whole screen or part of it, saved as a picture. In Windows, screenshots are taken with the Snipping Tool and the PrtSc (Print Screen) key.
| Shortcut | What is captured? | Where does the image go? |
|---|---|---|
| Win + Shift + S | a selected area: rectangle, freeform, window, or full screen | to the clipboard; it can be opened from the notification to edit and save |
| Win + PrtSc | full screen | as a file in the Pictures\Screenshots folder (PNG) |
| Alt + PrtSc | active window only | to the clipboard; paste it into a document with Ctrl + V |
| PrtSc | opens the Snipping Tool in current Windows 11 | if this option is turned off, the full screen is copied to the clipboard |
The most important distinction in the table is whether the image is a file or clipboard content. Win + PrtSc creates a PNG file; the file stays even when the computer is shut down. The other methods put the image on the clipboard. An image on the clipboard is not a file. It is overwritten at the next copy and is lost when the computer restarts. To keep it, paste it into a document or a program such as Paint and save it, or use the Win + V clipboard history. After an image taken with Win + Shift + S, a notification appears in the corner. Clicking it opens the image in the Snipping Tool, where it can be cropped, drawn on, and saved as a file.
Sharing a screenshot without checking it. The image may contain an e-mail address, a password hint, an open chat notification, or the titles of other tabs. Look at the image before sharing it; if necessary, remove personal information by cropping or painting over it.
2.2.4Drives, files, and folders
Every document, photo, and program on a computer sits on the disk as a file. The operating system places these files in folders and the folders on drives. This section describes the building blocks of this organization from the bottom up, that is, from the physical disk to the file name.
2.2.4.1Disks, partitions, and drive letters
In everyday speech the words “disk,” “drive,” and “C:” are used interchangeably. They are in fact three separate concepts.
A physical disk is the device in which data is stored: an SSD, an HDD, or a USB flash drive. A partition or volume is a logical area set aside on a disk; one disk can be divided into several partitions. A drive letter is the name Windows gives to a volume: C:, D:, E:. In File Explorer each letter appears as a separate drive.
Figure 2.2.9 shows how these three concepts relate. Physical disk 0 is a 512 GB SSD. This disk is divided into three partitions. The first is a small EFI partition; it is used when the computer starts and has no letter. The second is the 400 GB C: volume, where Windows is installed. The third is the 110 GB D: volume, set aside for data. Physical disk 1 is a 64 GB USB flash drive, and its single partition gets the letter E:. The Z: on the far right is not even a disk: a folder shared by another computer on the network is mapped to this letter.
NTFS and exFAT in the figure are names of file systems. A file system is the scheme that keeps the names, sizes, locations, and permissions of the files on a volume. Windows uses NTFS on its own volumes; NTFS supports file permissions, encryption, and large files. USB drives and memory cards usually use exFAT, because Windows, macOS, and many devices can read and write exFAT.
Windows is usually installed on the C: volume, and letters are generally handed out in order. The letters A: and B: were historically reserved for floppy disk drives; that is why the first hard disk volume still gets C: today. When a USB drive is plugged in, it is given the first free letter (E: in this example). For a network share, the user usually picks a letter from the end of the alphabet.
An SSD with “512 GB” on its box is set up as a single partition, C:. Why does Windows show the capacity of this volume as about 476 GB?
- Disk manufacturers use decimal units: 1 GB = 109 bytes. The disk holds 512 × 109 = 512,000,000,000 bytes.
- Windows, however, calculates with binary units: 1 GiB = 230 = 1,073,741,824 bytes. Even though the screen says “GB,” what is meant is GiB.
- 512,000,000,000 ÷ 1,073,741,824 ≈ 476.8. Windows shows this number as “476 GB.”
No byte has been lost from the disk; only the unit is different. The EFI and recovery partitions also take up anywhere from a few hundred MB to a few GB, so the C: volume may look a little smaller still.
Thinking that C: and D: are separate disks. They can also be two partitions of the same physical disk. In that case copying files from C: to D: is not a backup: if the disk fails, both volumes are lost together. A real backup is kept on a separate device or in the cloud.
2.2.4.2Files and folders
A file is a unit of data with a name, contents, and properties; for example, report.docx. A folder is a logical container that holds files and other folders together; for example, Documents\Courses. A folder inside a folder is called a subfolder.
Because folders can be nested, files are organized in a tree. Figure 2.2.10 gives a small example. Inside the Documents folder there is a Courses subfolder, and inside it three files.
A folder itself holds no document content. A folder is like a list that knows the names of the files inside it and where they are on the disk. It resembles the shelves in a library: a shelf is not a book, but it makes books findable. If the folder organization is set up well, a file you are looking for among hundreds can be found in a few clicks.
2.2.4.3File names and extensions
The full name of a file has two parts: in project_report.pdf, the part up to the last dot is the file name and the part after the last dot is the extension.
An extension (file name extension) is the part of a file name after the last dot, and it gives a hint about the file’s format: .pdf, .docx, .jpg. When a file is double-clicked, Windows decides which application to open by looking at the extension. This link between an extension and an application is called a file association.
The user gives the file name to describe the content. The extension is usually added by the program that creates the file: Word adds .docx, Excel .xlsx, a camera .jpg. Windows hides extensions by default. In File Explorer, extensions become visible when the View → Show → File name extensions option is checked (2.2.6.2).
Figure 2.2.11 shows the two faces of the extension. At the top, each extension leads to its associated application: .pdf to the PDF reader, .xlsx to Excel, .jpg to the Photos app. At the bottom, the name of a PDF file has been changed to report.docx. Windows now tries to open this file with Word, but because the content is still a PDF, Word cannot recognize the file.
With extensions visible, the file photo.jpg is renamed to photo.png with F2. What happens?
- Windows shows a warning that the file may become unusable if the extension changes. If Yes is chosen, the name changes.
- The bytes inside the file do not change. The content is still a picture compressed in the JPEG format, and its size stays the same.
- Windows now thinks the file is a PNG. Most picture programs look at the first bytes of the content and recognize the format anyway, but some programs and websites may reject the file.
A real conversion is done in a program that opens the file, with the “Save As” or “Export” command. For example, the picture is opened in Paint and saved as a PNG. This operation re-encodes the content and produces a new file.
Renaming a file while extensions are hidden and adding an extension at the end. A file homework.docx with a hidden extension appears on screen as homework. If the user renames it homework.pdf, the file’s real name becomes homework.pdf.docx. The file is still a Word document and is rejected when uploaded to a system that expects a PDF. Malicious files use a similar trick: a program named invoice.pdf.exe looks like invoice.pdf when extensions are hidden. Keeping extensions visible is therefore a safe habit.
2.2.4.4File naming rules
Windows places some limits on file names. Some of these limits are mandatory; Windows does not accept a name that breaks the rule. Others are merely good practice.
Forbidden characters. Nine characters cannot be used in a file name: \ / : * ? " < > |. Most of them have a special meaning in paths and searches. \ separates folders, : follows the drive letter, and * and ? are wildcards in searches. When you try to type one of these characters, Windows shows a warning and does not accept it.
Reserved names. CON, PRN, AUX, NUL, COM1…COM9, and LPT1…LPT9 are old device names. These names cannot be file names even with an extension; con.txt is rejected as well.
Upper and lower case. Windows treats the names Report.docx and report.docx as the same name, so the two cannot be in the same folder. The capital letter is preserved when the name is typed, but the comparison ignores case.
Path length. The classic limit is 260 characters for the full path, from the drive letter to the end of the file name. In very deep folder structures or with very long names, copying and opening operations can fail because of this limit.
Six file names are tested against the rules:
| Name | Valid? | Why |
|---|---|---|
report:final.docx | no | : is a forbidden character |
question?.txt | no | ? is a forbidden character |
CON.txt | no | CON is a reserved name; the extension does not change that |
console.txt | yes | the name starts with CON but is not CON |
Report.docx (when report.docx is in the folder) | no | upper and lower case do not distinguish names; the name already exists |
homework 1 Ayşe .pdf | yes | follows the rules, but spaces and non-English characters can cause trouble |
The name in the last row is valid in Windows. However, in an e-mail attachment, in an upload to a website, or on another operating system, spaces and letters like ş may get garbled. A space before the extension can also cause the name to be misread.
Beyond the mandatory rules, a good file name describes the content and the version. Table 2.2.8 compares two weak names with better versions.
| Weak name | Better name | Why? |
|---|---|---|
final FINAL new (2).docx | 2026-10-17_report_v2.docx | date first: sorting by name becomes sorting by date |
homework 1 Ayşe .pdf | hw1_name-surname.pdf | spaces and non-English characters can cause trouble in e-mail and web systems |
The date format in the first row is especially useful. If the date is written in year-month-day order with a two-digit month and day, then sorting the names alphabetically also puts them in date order. The names 2026-09-30, 2026-10-02, and 2026-10-17 are also alphabetical in that order. The day-month-year format (17.10.2026) lacks this property: the name 02.10.2026 comes before 30.09.2026.
Telling versions apart with names like “final,” “final version,” and “real final.” A few days later, it is unclear which is the newest. Using a version number (_v1, _v2) or a date keeps versions ordered and clear.
2.2.4.5Common file types
Recognizing the extension lets you tell what a file is without opening it. Table 2.2.9 lists the most common types by category.
| Category | Extensions | Typical use |
|---|---|---|
| Document | .docx, .pdf, .txt | text and reports |
| Spreadsheet | .xlsx, .csv | calculations and data |
| Presentation | .pptx | slide shows |
| Image | .jpg, .png, .gif | photos and graphics |
| Audio / video | .mp3, .wav, .mp4 | media |
| Archive | .zip, .7z | compressed files |
| Executable | .exe, .msi | program or installer |
The differences between some types lie in details that are not visible at first glance. .txt holds only plain text; it contains no fonts, bold text, or pictures. .docx, on the other hand, also stores formatting, pictures, and tables. .csv is plain text made of values separated by commas or semicolons; Excel opens it as a table but it does not store formulas or formatting. .pdf freezes a page so that it looks the same on every computer, which makes it suitable for assignments to be handed in.
There is an important distinction among image types, too. .jpg (JPEG) is designed for photographs and uses lossy compression: the file gets smaller, but details the eye will hardly notice are discarded. .png is lossless; it is better suited for screenshots, drawings, and graphics with sharp edges.
The executable files in the last row need special care. When an .exe or .msi file is double-clicked, it runs a program on the computer. One might think a document cannot do harm, but an executable file can reach everything on the computer. Executable files and e-mail attachments from unknown sources should not be opened (2.2.9.3).
2.2.5File paths
Because folders are nested, it is not possible to state a file’s location with a single word. Dozens of files named “report.pdf” can sit in different folders. To specify a file unambiguously, we give the sequence of folders that leads from the drive down to the file. This sequence is called the file’s path.
2.2.5.1The parts of a path
A path is the sequence of folders passed through to reach a file or folder, separated by backslashes (\). An absolute path starts at the root folder of the drive and points to the same file wherever you are. A relative path is written relative to the folder you are currently in, the current folder.
An example absolute path is:
C:\Users\Sercan\Documents\Courses\report.pdf
Figure 2.2.12 breaks this path into its parts. C:\ is the root folder of the drive. Then come the Users, Sercan, Documents, and Courses folders in turn. The last item, report.pdf, is the file itself. Each \ shows a step down one level.
One detail in this path deserves attention. On a Windows with a non-English interface language, File Explorer may show these folders under translated names (on Turkish Windows, for example, “Belgeler” for Documents), but their real names on disk are English: Documents, Desktop, Downloads, Pictures, Music, and Users. Windows translates the names of these folders into the interface language for display, but real names are used when a path is written. So C:\Users\Sercan\Documents and the translated “Belgeler” in Explorer are the same folder.
The length of a path can be counted, too. The path in this example has 44 characters and contains 5 backslashes. That is far below the classic 260-character limit. But as each folder name grows longer and the number of nested folders increases, the limit gets closer. For example, if a course project’s folder is ten levels deep under C:\Users\Sercan\Documents\… and each level’s name is 25 characters long, the path alone exceeds 250 characters.
2.2.5.2Resolving an absolute path
Resolving a path means finding the item the path points to. An absolute path is read from left to right, and each part goes down one level. Figure 2.2.13 shows this reading on the folder tree. Table 2.2.10 lists the part read at each step and the location reached.
The path C:\Users\Sercan\Documents\Courses\report.pdf is resolved step by step.
| Step | Part read | Location | Explanation |
|---|---|---|---|
| 1 | C: | C:\ | the root folder of the drive; the search starts here |
| 2 | Users | C:\Users | Program Files and Windows in the root are skipped |
| 3 | Sercan | C:\Users\Sercan | the user’s own folder |
| 4 | Documents | C:\Users\Sercan\Documents | the user’s documents folder |
| 5 | Courses | …\Documents\Courses | go down into the subfolder |
| 6 | report.pdf | …\Courses\report.pdf | the last part is a file; found |
At each step only the inside of the current folder is looked at. At the second step, the root holds the Program Files, Users, and Windows folders; because the path asks for Users, the others are never opened. A path works like a map: there is no chance of turning into the wrong folder.
2.2.5.3Resolving a relative path
A relative path starts not at the root but at the current folder. It can contain two special names: .. (two dots) means the parent folder, that is, going up one level. . (one dot) is the current folder itself. Relative paths are used often in programming and on the command line. When a project folder is moved to another computer, absolute paths break, but relative paths inside the project keep working.
The current folder is C:\Users\Sercan\Documents. The relative path ..\Downloads\setup.zip is resolved.
| Step | Part read | Current location |
|---|---|---|
| 0 | — | C:\Users\Sercan\Documents |
| 1 | .. | C:\Users\Sercan (went up to the parent folder) |
| 2 | Downloads | C:\Users\Sercan\Downloads |
| 3 | setup.zip | C:\Users\Sercan\Downloads\setup.zip (file found) |
The absolute equivalent of the relative path is the path in the last row, C:\Users\Sercan\Downloads\setup.zip. It can also be found this way: for each .., delete the last part of the current folder’s path, then append the remaining parts in order.
Several .. can follow one another. Each goes up one more level. Let us see this on a longer path.
The current folder is C:\Users\Sercan\Downloads. What is the absolute equivalent of the path ..\Documents\Courses\report.pdf? If the current folder were C:\Users\Sercan\Documents\Courses, what would ..\..\Pictures\Holiday\sea.jpg point to?
- First path:
..goes up fromDownloadstoC:\Users\Sercan. ThenDocuments,Courses, andreport.pdfare appended. The result isC:\Users\Sercan\Documents\Courses\report.pdf, which is exactly the absolute path in 2.2.5.2. - Second path: the first
..goes up fromCoursestoDocuments, and the second..goes up fromDocumentstoSercan. - Then it goes down into the
PicturesandHolidayfolders. The result isC:\Users\Sercan\Pictures\Holiday\sea.jpg.
The same file is reached from different current folders with different relative paths. The absolute path is always the same.
Forgetting the ..\ at the start of a relative path. If the current folder is Documents and you write Downloads\setup.zip, the Downloads folder is looked for inside Documents. Because there is no such subfolder, the file cannot be found. Before writing a relative path, you must know exactly which folder is current.
2.2.6File Explorer
The basic tool for moving around the folder tree and for viewing and organizing files is File Explorer. It opens with the folder icon on the taskbar or with Win + E.
2.2.6.1The panes of File Explorer
File Explorer is the Windows application used to view, open, copy, move, rename, delete, and search for drives, folders, and files.
Figure 2.2.15 divides the File Explorer window into six parts:
- Command bar: the New (folder or file), Cut, Copy, Paste, Rename, Sort, and View commands.
- Address bar: the path of the current folder. The path is shown as clickable parts: This PC › Documents › Courses. Clicking a part goes back to that folder. When you click an empty spot on the bar, the full path appears as text; typing a path there and pressing Enter goes straight to that folder.
- Search box: searches the current folder and all of its subfolders.
- Navigation pane: the column on the left. It goes with a single click to frequently used locations such as Home, Desktop, Documents, Downloads, This PC, and Network.
- File list: the contents of the current folder. In the Details view, each row shows the name, date modified, type, and size. Clicking a column header sorts the list by that column; clicking once more reverses the order.
- Preview / details pane: the optional column on the right. It shows the contents of the selected file without opening it, or lists its properties. It is turned on and off from the View menu.
The three arrows to the left of the address bar make navigation easier. ← (Back) and → (Forward) move back and forth between visited folders, as in a browser. ↑ (Up) goes up to the parent folder of the current folder; that is, it is the Explorer equivalent of .. in a relative path. When This PC is selected in the navigation pane, the file list shows the drives and a usage bar for each.
2.2.6.2Extensions, hidden items, new folders, and search
Let us follow five of the most common tasks in File Explorer on an example. At the start, the Documents\Courses folder holds four files: photo.jpg (2,410 KB), hw2.pdf (820 KB), a Word document named report (480 KB), and a PDF document named report (610 KB). There is also a draft.txt (2 KB) with the hidden attribute, but it does not appear in the list. Table 2.2.12 shows the result of each step, and Figure 2.2.16 shows three key moments.
| Step | Operation | Items shown in the list |
|---|---|---|
| 1 | View → Show → File name extensions is checked | photo.jpg, hw2.pdf, report.docx, report.pdf |
| 2 | View → Show → Hidden items is checked | the previous four files + draft.txt with a faded icon |
| 3 | New → Folder; Homework is typed as the name and Enter is pressed | Homework (at the top), then five files |
| 4 | report.docx is dragged and dropped onto the Homework folder | Homework, photo.jpg, hw2.pdf, report.pdf, draft.txt |
| 5 | *.pdf is typed in the search box | hw2.pdf, report.pdf |
Step 1. While extensions were hidden, both files looked like “report.” Only their icons and the Type column (Word document, PDF document) told them apart. When extensions are turned on, the names separate into report.docx and report.pdf.
Step 2. When hidden items are turned on, draft.txt joins the list with a faded icon. The faded icon indicates that the item carries the hidden attribute.
Step 3. The new folder is created with the name “New folder” and its name comes up selected. Homework is typed directly and Enter is pressed; there is no need to press F2 as well. Because folders are listed before files when sorted by name, Homework sits at the top.
Step 4. Because report.docx is dragged to a folder on the same drive, it is moved. The file disappears from the Courses list and goes into Homework.
Step 5. * is a wildcard and means “any name.” The search *.pdf finds all files in Courses and its subfolders whose names end in .pdf. When the search box is cleared, the full list comes back.
The wildcard is used in other forms, too. In the same folder, the search report.* finds all files named “report” regardless of type: report.docx and report.pdf. hw* finds everything whose name starts with “hw”: in this example, hw2.pdf. It is also possible to type a word without a wildcard in the search box. In that case Windows brings up the files that have that word in their name or (in indexed locations) in their content.
Thinking that the hidden attribute protects a file. The hidden attribute only hides the file from the list. Anyone who turns on the “Hidden items” option sees and can open the file. To protect a file from others, use separate user accounts, file permissions, or encryption (2.2.8.3, 2.2.10.5).
2.2.7File operations
After files are created, they change places, their names are corrected, unneeded ones are deleted, and those to be shared are gathered in an archive. Each of these operations looks simple, but their consequences differ. Was a copy of the file made, or did the file change place? Can a deleted file be brought back? This section answers these questions step by step.
2.2.7.1Copying and moving
Copying creates a second, independent instance of an item with the same content at the destination; the original stays at the source. Moving, on the other hand, changes the item’s location; the item leaves the source and goes to the destination. Copying is done with Copy + Paste (Ctrl + C, Ctrl + V), and moving with Cut + Paste (Ctrl + X, Ctrl + V).
| Operation | What happens at the source? | What happens at the destination? |
|---|---|---|
| Copy + Paste | the original stays | a new copy appears |
| Cut + Paste | the item is removed from the source location | the item moves to the destination |
| Drag and drop | moves within the same drive, copies to a different drive | check which one by looking at the tooltip next to the cursor |
After copying there are two separate files. When one is changed, the other is not affected. After moving, the number of files does not change; only the file’s location does. The Cut command does not remove the file from its place right away. The icon of the cut file fades and the file is marked to be moved. The actual move happens when the Paste command is given. If something else is copied before pasting, the cut operation is canceled and the file stays where it was.
C:\Documents holds report.docx and photo.jpg; the USB drive (E:\) is empty. First the report is copied to the USB drive, then the photo is moved to it. Table 2.2.14 shows the two locations and the clipboard after each step.
| Step | Operation | C:\Documents | E:\ | Clipboard | Total files |
|---|---|---|---|---|---|
| 0 | start | report.docx, photo.jpg | (empty) | (empty) | 2 |
| 1 | Select report.docx, Ctrl + C | report.docx, photo.jpg | (empty) | report.docx (to be copied) | 2 |
| 2 | Open E:\, Ctrl + V | report.docx, photo.jpg | report.docx | report.docx (to be copied) | 3 |
| 3 | Select photo.jpg, Ctrl + X | report.docx, photo.jpg (faded) | report.docx | photo.jpg (to be moved) | 3 |
| 4 | Ctrl + V in E:\ | report.docx | report.docx, photo.jpg | (empty) | 3 |
In the first step nothing changes at the source; the clipboard only remembers which file is to be copied. In the second step the total number of files goes from 2 to 3, because a new copy has been created. In the third step photo.jpg is still in place; it only looks faded. In the fourth step the photo goes to the destination and leaves the source. The total stays at 3: moving does not change the number of files. After copying, the clipboard keeps its content, so the same file can be pasted in other places too. A cut item, on the other hand, is moved with a single paste, so the clipboard is emptied.
Copying has one more consequence. Because the two files are independent, a change made at the source is not reflected in the copy. In the example above, if C:\Documents\report.docx is opened, changed, and saved, the copy on the USB drive keeps its old content. This is useful when making a backup, but it creates confusion when you work with two versions of the same document. If it is not known which copy is current, work can be lost.
Moving an important file without a backup and not checking the destination. If the USB drive is pulled out during the move, or the wrong destination is chosen, the file may end up somewhere unexpected. With important files, it is safe to have a backup before moving and, after the operation, to open the destination folder and confirm that the file is there.
2.2.7.2Drag and drop
Holding a file with the mouse and dropping it on another folder removes the need for the Copy or Cut commands. However, whether drag and drop copies or moves depends on which drives the source and destination are on.
Drag and drop is the operation of carrying an item to another location while the mouse button is held down and releasing it there. The default rule is this: if the source and destination are on the same drive, the item is moved; if they are on different drives, it is copied. Holding Shift while dropping forces a move, and holding Ctrl forces a copy. Holding Alt creates a shortcut to the item instead of the item itself.
There is a reason for this rule. Moving within the same drive is very fast, because the bytes of the file do not change place on the disk; only the record in the file system passes from one folder to the other. Between different drives, all the bytes must be read and written. In that case Windows takes not touching the original file, that is, copying, to be the safe option.
At the start, C:\Documents holds photo.jpg, report.docx, and note.txt; C:\Archive and E:\ are empty. Four drag-and-drop operations are carried out in turn:
| Step | Operation | Rule | Result |
|---|---|---|---|
| 1 | photo.jpg → C:\Archive | same drive | move: photo.jpg leaves Documents |
| 2 | report.docx → E:\ | different drive | copy: report.docx in two places |
| 3 | note.txt → E:\, Shift held | different drive, Shift | move forced: note.txt leaves C: |
| 4 | E:\report.docx → C:\Archive, Ctrl held | different drive, Ctrl | copy: report.docx in three places |
In the final state, C:\Documents holds only report.docx, C:\Archive holds photo.jpg and report.docx, and E:\ holds report.docx and note.txt. The first and third steps are moves; the second and fourth are copies. In the fourth step the result would not change even without Ctrl, because E:\ and C:\ are different drives. Ctrl only makes the intention explicit.
Thinking that drag and drop always copies or always moves. While you drag, a small tooltip appears next to the cursor: “Move to Archive” or “Copy to E:”. Looking at this tooltip before releasing the mouse prevents an unexpected move.
2.2.7.3Renaming and deleting
When a file or folder is selected and F2 is pressed, its name becomes editable. While extensions are visible, Windows selects only the part of the name before the extension, so the new name you type does not break the extension. Even so, take care not to change the extension (2.2.4.3). If several files are selected and F2 is pressed, they are all given the same name and numbered in order: holiday (1).jpg, holiday (2).jpg, …
The Recycle Bin is the special folder in which files deleted with Delete are held before being permanently deleted. An item in the bin returns to its original location with the Restore command. Permanent deletion deletes an item without sending it to the bin; it is done with Shift + Delete or by emptying the bin.
Figure 2.2.19 shows the two ways of deleting side by side. A file deleted with Delete goes to the Recycle Bin. Two paths lead out of it: Restore returns the file to its original folder, and Empty Recycle Bin deletes it permanently. Shift + Delete skips the bin: Windows asks for confirmation, and when confirmed, the file is permanently deleted directly.
The Recycle Bin does not protect in every case. There are three important exceptions:
- USB drives and network locations. Files deleted in these locations mostly do not go to the bin; they are deleted directly. In this case Windows asks “Permanently delete?”.
- Open or locked files. A file that an application keeps open may not be deletable. Windows gives an “the file is open in another program” warning; the application is closed first.
- Cloud folders. A file deleted in a synced folder such as OneDrive is also deleted from the other devices linked to the same account. The cloud’s own recycle bin offers a chance of recovery for a while.
On the desktop (drive C:) there are a.txt, b.txt, and c.txt. a.txt is selected and Delete is pressed; b.txt is selected, Shift + Delete is pressed, and confirmation is given. Then d.txt on a USB drive is selected and Delete is pressed.
a.txtgoes to the Recycle Bin. If the bin is opened and Restore is chosen, it returns to the desktop.b.txtdoes not go to the bin; it is deleted permanently and cannot be brought back with Windows’ own tools.c.txthas not been touched; it stays on the desktop.- Because
d.txtis on the USB drive, it does not go to the bin even with Delete. Windows asks for confirmation of permanent deletion.
In the end, only a.txt is in the Recycle Bin.
Treating the Recycle Bin as a backup. When the bin reaches a certain fullness, it automatically deletes the oldest items. Storage Sense can also clean out items older than a set time (2.2.10.1). If the disk fails, the files in the bin are lost too. The bin is only a short-term safeguard against accidental deletion.
2.2.7.4Shortcuts and original files
A shortcut is a small file that holds the path of another file, folder, or program. Its extension is .lnk and its size is usually 1–2 KB. Double-clicking a shortcut opens the original item at the path it holds. There is a small arrow in the bottom-left corner of a shortcut’s icon.
A shortcut makes it easier to reach a file that is opened often. The shortcut of a file sitting in a deep folder is placed on the desktop; the file itself never moves. A shortcut is created with right-click → Create shortcut or by dragging the file while holding the Alt key.
The most important property of a shortcut is that it contains not the file itself but only its path. This property has three consequences (Table 2.2.16).
| Operation | Effect on the shortcut | Effect on the original file |
|---|---|---|
| the shortcut is deleted | the shortcut is gone | none; the file stays in place |
| the original file is moved to another folder | points to the old path, may fail to open | the file is at its new location |
| the shortcut is copied to a USB drive and opened on another computer | “target not found” error | the file stays on the first computer |
On the desktop there is a “report.pdf - Shortcut” pointing to the file C:\Users\Sercan\Documents\report.pdf. Three situations are examined in turn.
- The shortcut is deleted. The icon on the desktop disappears. The
report.pdfin theDocumentsfolder stays where it is. Deleting a shortcut does not delete the file. - A new shortcut is created, then the original file is moved to Downloads. The shortcut still holds the path
…\Documents\report.pdf. Because the file is no longer at that path, the shortcut may fail to open. Windows sometimes finds the file’s new location and offers to repair the shortcut, but this cannot be relied on. - The shortcut is copied to a USB drive and double-clicked on another computer. What goes to the USB drive is the 1 KB
.lnkfile, not the PDF itself. The other computer has no pathC:\Users\Sercan\Documents\report.pdf, and a “target not found” error appears.
Thinking you made a backup by copying desktop shortcuts to a USB drive. If the computer fails, all that is left on the USB drive are small .lnk files that point nowhere. A backup copies the files themselves. Whether a file is a shortcut can be told from the arrow on the icon, from the word “Shortcut” in the Type column, or from its size of 1–2 KB.
2.2.7.5ZIP archives
When you need to send several files of an assignment by e-mail, or upload them to a system as a single file, the files are gathered in an archive.
An archive is a file that gathers several files and folders into a single file. Compression is the process of reducing a file’s size by writing repetitions in the data in a shorter form. ZIP is a common format that both archives and compresses without loss; Windows creates and opens ZIP files without any extra program. Taking the files out of an archive is called extraction.
Lossless compression guarantees that the bytes of the extracted file are exactly the same as the original. How much compression shrinks a file depends on the content. In plain text, the same words and letter sequences repeat a lot, so text compresses well. JPEG photos and DOCX documents, however, are already compressed formats. A DOCX file is actually a ZIP archive containing XML files. Compressed data has little repetition; compressing it a second time gains almost nothing.
Three files in Documents\Courses are gathered into a ZIP archive: report.docx (480 KB), notes.txt (120 KB), photo.jpg (2,410 KB). The steps are as follows:
- Selection. While Ctrl is held down, the three files are clicked one by one. Ctrl + click adds or removes a single item from the selection; Shift + click selects all rows between two clicks. The status bar says “3 items selected.” The total size of the selection is 480 + 120 + 2,410 = 3,010 KB.
- Compression. Right-click the selection and choose Compress to → ZIP file. In older versions of Windows 11, this command is named Compress to ZIP file; Microsoft’s help page gives the route “Show more options” → “Send to” → “Compressed (zipped) folder.” The archive is created in the same folder and its name comes up selected;
hw_sercanis typed and Enter is pressed. The original files are not deleted. - Result.
hw_sercan.zipis 2,905 KB. Table 2.2.17 shows how much each file shrank. - Extraction. Right-click the archive and choose Extract All… → Extract. A folder named
hw_sercan, the same as the archive, is created and the three files come out into it at their original sizes.
| File | Original | Compressed | Remaining ratio | Saving |
|---|---|---|---|---|
| notes.txt | 120 KB | 31 KB | 25.8% | 74.2% |
| report.docx | 480 KB | 468 KB | 97.5% | 2.5% |
| photo.jpg | 2,410 KB | 2,405 KB | 99.8% | 0.2% |
| Total | 3,010 KB | 2,904 KB (+ archive info) | ZIP 2,905 KB; saving ≈ 3.5% | |
The remaining ratio is the compressed size divided by the original size: for the notes, 31 ÷ 120 ≈ 0.258, that is, 25.8%. The text file has shrunk to a quarter. The DOCX and JPEG have hardly shrunk at all. The compressed sizes add up to 31 + 468 + 2,405 = 2,904 KB. The ZIP file is slightly larger than this because it also holds the names and properties of the files inside. The saving for the whole archive is (3,010 − 2,905) ÷ 3,010 ≈ 3.5%. In this example, the archive’s real benefit is not shrinking but gathering three files in one package.
Double-clicking a document inside a ZIP and editing it. Double-clicking a ZIP shows the inside of the archive like a folder, but a document opened from there is a copy in a temporary folder. Even if the change is saved in Word, it is written to the temporary copy; the file in the ZIP does not change, and the effort is easily lost. Editing is always done first on an extracted copy.
2.2.7.6File and folder properties
When you right-click a file and choose Properties (or press Alt + Enter with the file selected), a window opens that shows the file’s details (Figure 2.2.22).
The General tab contains the following information:
- Type and app: the file’s format (Microsoft Word Document, .docx) and the application that opens when it is double-clicked. The Change button next to it changes this application.
- Location: the full path of the folder the file is in.
- Size and size on disk: the size of the content and the space reserved on the disk. Why these two numbers differ is explained in the example below.
- Dates: the created, modified, and accessed dates.
- Attributes: Read-only prevents the file from being changed; Hidden hides the file from the list (2.2.6.2).
The Security tab shows the file’s owner and which users can read or change the file. The Previous Versions tab lists old copies of the file if File History or a restore point is turned on (2.2.10.6).
A file system divides the disk into fixed-size blocks. In NTFS the size of these blocks is usually 4 KB (4,096 bytes). Every file larger than a few hundred bytes takes at least one block and uses a whole number of blocks. (Very small files can be kept in NTFS’s own record table; their size on disk appears as 0.) The size on disk is therefore calculated as follows:
size on disk = ⌈size ÷ 4,096⌉ × 4,096 bytes
The ⌈ ⌉ sign here means rounding up.
The file in Figure 2.2.22 is 1,500 bytes. Why does Windows show its size as “1.46 KB” and its size on disk as “4.00 KB”?
- Windows calculates KB as 1,024 bytes: 1,500 ÷ 1,024 ≈ 1.46. The size appears as 1.46 KB.
- How many blocks does the file take? 1,500 ÷ 4,096 ≈ 0.37; rounded up, 1 block.
- The size on disk is 1 × 4,096 = 4,096 bytes = 4.00 KB. The remaining 2,596 bytes of the block are empty, but no other file can use them.
The same rule holds for larger files. A 10,000-byte file takes 10,000 ÷ 4,096 ≈ 2.44 → 3 blocks; its size on disk is 3 × 4,096 = 12,288 bytes. With many small files the difference grows: the total size of 100 files of 1,500 bytes each is 150,000 bytes, but on disk they take 100 × 4,096 = 409,600 bytes (400 KB).
Thinking that the Read-only attribute also protects a file from deletion. Read-only prevents the file’s content from being changed and saved under the same name. The file can still be copied, saved under a different name, and deleted. Attributes are a layer of reminders, not a security measure.
2.2.8Settings
Most of the options that determine how Windows behaves are gathered in a single application: Settings. The screen resolution, the Wi-Fi network you connect to, installed applications, user accounts, the keyboard layout, and updates are all managed from here.
2.2.8.1The Settings app
Settings opens with Win + I or with the gear icon in the Start menu. The left column holds the categories, and the right shows the pages of the selected category. Category names may differ a little between Windows versions, but the main areas stay the same. Table 2.2.18 lists the categories most used in these notes.
| Category | Settings included |
|---|---|
| System | display, sound, notifications, power, storage, recovery, about |
| Bluetooth & devices | mouse, keyboard, printers, and connected devices |
| Network & internet | Wi-Fi, Ethernet, VPN, and data usage |
| Personalization | background, themes, Start, and taskbar |
| Apps | installed apps, default apps, startup |
| Accounts | sign-in options, Windows backup, other users |
| Time & language | date and time, language and region, keyboard |
| Accessibility | text size, magnifier, color filters, screen reader, captions |
| Privacy & security | app permissions and Windows Security |
| Windows Update | updates, restarts, and update history |
If you do not know in which category a setting is, use the search box at the top left of the Settings window. This box works in the same way as the search in the Start menu, but it searches only among settings. In these notes the location of a setting is written as “Settings → System → Display.” This notation means opening the Settings app, then the System category, then the Display page, in that order.
2.2.8.2Wi-Fi, printers, and display
The first three settings made on a new computer or in a new place are usually connecting to a network, adding a printer, and adjusting the display.
Connecting to Wi-Fi. Click the network icon at the right of the taskbar or press Win + A; the Quick settings panel opens. The arrow next to the Wi-Fi button lists nearby networks. Select a network, press Connect, and enter the network’s password. If “Connect automatically” is checked, the computer recognizes this network by itself next time.
Adding a printer. Follow Settings → Bluetooth & devices → Printers & scanners → Add device. A printer on the same network or connected by USB is usually found automatically, and its driver is installed by itself. If the printer’s driver cannot be found, it is downloaded from the manufacturer’s website.
Display resolution and scale. The Settings → System → Display page has two separate settings. Display resolution determines how many pixels the image is made of. This value should stay at the screen’s native resolution, the value Windows marks “(Recommended).” If a lower resolution is chosen, the image becomes blurry. Scale adjusts the size of text and icons. If the text seems small, you do not lower the resolution; you raise the scale.
Scale is the percentage that determines how many times larger Windows draws text, icons, and windows. At 100% scale an interface element is drawn 1 pixel to 1 pixel; at 150% the same element is drawn 1.5 times larger. The logical area available to applications is the physical resolution divided by the scale.
The screen of a 15.6-inch laptop is 1920 × 1080 pixels. What logical area is left for applications when the scale is 100%, 125%, and 150%?
- 100%: 1920 ÷ 1 = 1920, 1080 ÷ 1 = 1080. The logical area is 1920 × 1080; text is at its smallest.
- 125%: 1920 ÷ 1.25 = 1536, 1080 ÷ 1.25 = 864. The logical area is 1536 × 864.
- 150%: 1920 ÷ 1.5 = 1280, 1080 ÷ 1.5 = 720. The logical area is 1280 × 720; text is large and little content fits on the screen.
In all three cases all 1920 × 1080 physical pixels of the screen are used, and the image stays sharp. Lowering the resolution to 1280 × 720 enlarges the text by the same ratio, but because each logical pixel is spread over 1.5 physical pixels, the image becomes blurry. The right way to enlarge text is scale.
Signing in to important accounts such as banking or school accounts on a public Wi-Fi network (a café, an airport). Others can watch the traffic on these networks, or a fake access point can imitate the name of the real network. Important operations are done on a trusted network or over mobile data.
2.2.8.3User accounts
A computer can be used by several people. Windows opens a separate user account for each person. Each account has its own desktop, Documents folder, settings, and password. Separate accounts keep personal files and settings apart between users. Other standard users cannot access a user’s C:\Users\Ayse folder.
Accounts are classified by two separate questions. The first question is where the credentials are managed:
- Local account: the user name and password are kept only on that computer. It is not tied to another device.
- Microsoft account: an online account opened with an e-mail address. It can link supported settings, OneDrive files, and Microsoft Store apps across devices; if the password is forgotten, it can be recovered online.
The second question is the account’s authority:
- Standard user: does everyday work and changes their own files and settings. Administrator permission is needed for tasks such as installing programs and changing system-wide settings.
- Administrator: installs and removes apps, manages the other accounts, and can change all system settings.
When a task that needs administrator permission is started, Windows dims the screen and shows a confirmation window. This feature is called User Account Control (UAC). Figure 2.2.23 compares what UAC asks for in the two account types. If a standard user wants to install an app, an administrator’s name and password are requested. If an administrator does the same task, only a Yes / No confirmation is asked.
There is a reason confirmation is requested even on an administrator account. If a malicious program tries to install itself in the background, the UAC window appears. If the user is not installing anything at that moment, this window is a warning sign, and No is chosen. So it is a safe principle to use a standard account for everyday work and to turn on administrator authority only when needed.
Signing out closes the open apps and ends the user’s session. Another user, in turn, signs in on the same computer with their own account. A new account is added on the Settings → Accounts → Other users page; the account type is chosen on the same page with Change account type.
2.2.8.4App management and permissions
From an app’s arrival on the computer to its departure, several decisions are made: where it is installed from, which permissions it is given, whether it runs when you sign in, what to do when it causes trouble, and finally how it is removed.
- Install source. Apps are obtained from the Microsoft Store or from the vendor’s official site. “Free” versions on unfamiliar sites often carry malware.
- Uninstalling. On the Settings → Apps → Installed apps page, click the three dots next to the app and choose Uninstall. This is the right way; deleting an app’s shortcut or folder does not uninstall it.
- Startup apps. Some apps run by themselves when you sign in. This list is limited on the Settings → Apps → Startup page or in Task Manager (2.2.10.4).
- Permissions. Camera, microphone, location, and file access are controlled per app.
- Repair and reset. For supported apps, the Repair and Reset buttons are on the Installed apps → Advanced options page. Repair tries to fix the app without touching its data; Reset deletes the app’s data and returns it to the state it was in when first installed.
- Updates. Apps are kept up to date for security and compatibility. Store apps update automatically; other apps usually show their own update notifications.
Permissions determine how much an app can access personal data and devices. Figure 2.2.24 shows the camera permission page. The Camera app and Teams are allowed to use the camera, and a game is turned off. A game does not need the camera. Giving an app only the permissions it needs to do its job prevents data from being collected needlessly.
Deleting an app’s folder in Program Files to uninstall it. Even if the folder is deleted, the app’s registry entries, shortcuts, and background services remain on the system, and Windows still thinks the app is installed. Apps are uninstalled from the Installed apps page in Settings.
2.2.8.5Default apps
A default app is the program Windows chooses automatically when a particular file type or link type is opened. For example, the default app for .pdf files may be Microsoft Edge.
A default app is the user-visible face of the association described in 2.2.4.3. Figure 2.2.25 shows this mapping for three files. When a file is double-clicked, Windows first looks at the extension, then launches the app associated with that extension.
There are two ways to change a default. For a permanent change, search for the file type (for example .pdf) on the Settings → Apps → Default apps page and choose the new app. For a one-time change, right-click the file, choose Open with, and pick another app from the list. If “Always” is chosen in the Open with window, that choice becomes permanent as well.
The default app for .pdf files is Edge. In which app does homework.pdf open in the following operations?
| Step | Operation | App that opens | Default |
|---|---|---|---|
| 1 | homework.pdf is double-clicked | Edge | Edge |
| 2 | right-click → Open with → Acrobat Reader (“Always” is not chosen) | Acrobat Reader | Edge |
| 3 | double-clicked again | Edge | Edge |
| 4 | In Settings → Apps → Default apps, Acrobat is chosen for .pdf, then the file is double-clicked | Acrobat Reader | Acrobat Reader |
The choice in the second step is one-time and does not change the default. That is why the file opens in Edge again in the third step. In the fourth step the default is changed by file type, so all double-clicks from then on open Acrobat Reader.
Trying to run an unrecognized file type with the thought “maybe some program will open it.” For a file with an unknown extension, especially if it came as an e-mail attachment, the source is verified before it is opened. When Windows asks “How do you want to open this file?”, find out what the file is instead of choosing an app at random.
2.2.8.6Accessibility
Not everyone who uses a computer sees, hears, or uses a mouse in the same way. Accessibility settings adapt Windows to users with different needs. These settings are not only for users with disabilities. Anyone who works at a screen for long periods, watches a video in a noisy place, or cannot use one hand can benefit. The settings are gathered in the Settings → Accessibility category (Table 2.2.19).
| Feature | What does it do? | Who benefits? |
|---|---|---|
| Screen reader (Narrator) | reads the text and controls on the screen aloud; turned on and off with Win + Ctrl + Enter | blind users |
| Magnifier | enlarges part or all of the screen; opened with Win + plus (+) | low-vision users, instructors who show small details |
| Contrast and color | contrast themes make text stand out; color filters improve color distinction | low-vision and color-blind users |
| Live captions | shows speech playing on the computer or coming in through the microphone as text on the screen | deaf and hard-of-hearing users, people watching video in a quiet place |
| Voice access | controls supported operations with voice commands | users who cannot use a mouse and keyboard |
| Keyboard and mouse | Sticky Keys, Filter Keys, a large and colored mouse pointer | users with limited movement |
Sticky Keys is a good example. A three-key shortcut such as Ctrl + Shift + Esc cannot be pressed with one hand or one finger. With Sticky Keys on, modifier keys such as Ctrl, Shift, and Alt are treated as held down. The user presses the keys one at a time, in order, and Windows interprets them as if pressed together. Filter Keys, on the other hand, ignores brief or repeated unintended key presses. It prevents a trembling hand from typing the same letter three times.
2.2.8.7Turkish keyboard and language
The letters printed on the keyboard and the meaning the computer gives to the keys are separate things. Which key produces which letter is determined by the keyboard layout setting. Two layouts are used in Turkey. Turkish Q is the most common layout; it adds the Turkish letters to the letter arrangement of the English keyboard. Turkish F is an alternative layout designed around the letter frequencies of Turkish and developed for fast typing. On the F keyboard the most frequently used letters are placed in the middle row where the fingers rest.
A computer has only the Turkish Q keyboard. You want to add and use Turkish F. The steps are as follows:
- Press Win + I to open Settings. The language and keyboard settings are in the Time & language category; from there, go to the Language & region page.
- If Turkish is not in the list, choose it with Add a language and install it. Turkish can also be used as the display language.
- Open the three dots next to Turkish → Language options. In the Keyboards section, choose Turkish F with Add a keyboard. The active keyboard does not change at this point; Turkish F has only been added to the list.
- Win + Space switches between the installed keyboard layouts. The active layout appears at the right of the taskbar (for example TR F).
- Pressing Win + Space once more goes back to Turkish Q. Alt + Shift is also a classic shortcut for switching language or layout, and it can be changed in settings.
Pressing Win + Space or Alt + Shift by accident, changing the layout, and thinking the keyboard is “broken.” The symptom is that keys type characters different from the letters printed on them, such as a semicolon or a different letter appearing in place of the one you pressed. Looking at the language indicator on the taskbar and, if necessary, returning to the right layout with Win + Space solves the problem. In a password box this is especially annoying, because the characters typed are not visible.
2.2.9Security
The security of a computer has several layers. Signing in controls who can use the computer. Antivirus and the firewall stop malware and attacks from the network. The user’s habits also determine whether all these measures will work.
2.2.9.1Windows Hello and sign-in security
Windows Hello is a way of signing in to Windows with a PIN, face recognition, or a fingerprint instead of a password. In this method the PIN or biometric data (face, fingerprint) never leaves the device. It unlocks a private key stored in a security chip inside the device (the TPM); authentication is done with this key.
Figure 2.2.27 shows the steps of the verification. The user enters the PIN or shows their face to the camera. This gesture unlocks the private key inside the TPM. The account server sends a challenge to the device, and the device signs this challenge with the private key. The server verifies the signature with the public key previously registered with it. Not the PIN but only a digital signature travels over the network.
This design explains why a short PIN can be safer than a long password. A password belongs to the account itself; if it is stolen, the account can be entered from anywhere in the world. A PIN is tied to a single device. A stolen PIN is of no use to an attacker who does not have that device. Moreover, the TPM notices repeated wrong PIN attempts and locks the device for a while.
How many possible values does a 4-digit PIN have? A 6-digit PIN? How do these compare with an 8-character password that may contain uppercase letters, lowercase letters, and digits?
- Each digit is one of 10 digits. For 4 digits there are 10 × 10 × 10 × 10 = 104 = 10,000 possibilities.
- For 6 digits there are 106 = 1,000,000 possibilities.
- In a password, each character is one of 26 lowercase letters, 26 uppercase letters, and 10 digits, that is, 62 characters. For 8 characters there are 628 ≈ 2.18 × 1014 possibilities.
By the number of possibilities, the password looks far stronger. But an attacker can try a PIN only at that device and only a limited number of times; the TPM imposes a waiting period after a few wrong attempts. A password, on the other hand, can be tried online from a leaked list. The strength of a PIN comes not from the number of possibilities but from its being tied to the device.
The other parts of sign-in security are these:
- Screen lock. When leaving the computer, lock the session with Win + L.
- Multi-factor authentication. When signing in to an account, a second proof is requested in addition to the password: a code sent to the phone or a confirmation in an authenticator app. Even if the password is stolen, the account cannot be entered without the second proof.
- Recovery. How to get back into the account if the PIN is forgotten or the device is changed should be arranged in advance: a current phone number, a backup e-mail address, or recovery codes.
These options are on the Settings → Accounts → Sign-in options page.
2.2.9.2Windows Security
Windows has protection against malware built in. The tools of this protection are gathered in the Windows Security app. The app is opened through Settings → Privacy & security → Windows Security or by searching for “Windows Security” in the Start menu. Table 2.2.20 summarizes the main sections.
| Section | Job |
|---|---|
| Virus & threat protection | scans for and blocks malware; quick scan and real-time protection are here |
| Firewall & network protection | controls connections coming in and going out over the network; blocks unauthorized access |
| App & browser control | warns about dangerous downloads and malicious sites with SmartScreen |
| Device security | shows the status of hardware-based protections such as Secure Boot and the TPM |
| Account protection | shows the Microsoft account and Windows Hello sign-in protections |
The software that provides virus and threat protection is called Microsoft Defender. Defender comes with Windows and stays active unless another antivirus is installed. Its most important feature is real-time protection: when a file is downloaded, opened, or run, Defender scans it at that moment. This protection should be kept on, and Defender’s definition updates should not be interrupted. Newly appearing malware can be recognized only with up-to-date definitions.
A firewall is a gatekeeper that filters the traffic between the computer and the network according to rules. For example, it blocks a connection request that comes from outside and that no application is expecting. SmartScreen checks whether downloaded files and visited sites are on known dangerous lists. It is what shows the “Windows protected your PC” warning when an unrecognized program is about to be run.
Two concepts named in the Device security section form the hardware layer of protection. Secure Boot allows only software with a verified signature to load while the computer starts; it stops malware that tries to run before the operating system. The TPM (Trusted Platform Module) is a security chip that stores keys and passwords securely. Windows Hello and BitLocker use this chip.
Turning off real-time protection in order to install a program. If an installer says “turn off your antivirus,” it is most likely malicious. Software from a trusted source can be installed with Defender on. Once the protection is turned off, Windows turns it back on by itself after a while; every download in between goes unchecked.
2.2.9.3Safe everyday use
However good the tools are, most of security depends on the user’s habits. Six habits defeat most ordinary attacks:
- Lock. When leaving the computer, lock the screen with Win + L.
- Updates. Keep Windows and apps up to date. Most updates close known security holes.
- Standard account. Do everyday work with a standard account; use administrator authority only when needed.
- Downloads. Get software from the Microsoft Store or from the vendor’s official site.
- Backups. Back up important files regularly and to a separate location (2.2.10.5).
- Suspicious files. Do not open attachments and executable files from unknown sources.
These habits complement one another. For example, even if a malicious attachment is opened, if the user is on a standard account, UAC asks for an administrator password for the system change, and the attack may stop there. Even if an attack succeeds and encrypts the files, an up-to-date backup in a separate location keeps the loss to a minimum.
2.2.10Maintenance
A computer fills up, slows down, and falls out of date over time. The disk swells with temporary files, the number of programs that run at startup grows, an app freezes, an update causes trouble. Regular maintenance prevents most of these problems in the first place. For those that cannot be prevented, Windows has recovery tools.
2.2.10.1Storage management
When the disk is full, Windows cannot install updates, apps cannot write temporary files, and the computer slows down. What the space on the disk is spent on can be seen on the Settings → System → Storage page. This page divides the space into categories such as apps, system files, documents, and temporary files (Figure 2.2.28).
For the drive in Figure 2.2.28, let us calculate the usage ratio, the share of each category, and what the free space becomes once the temporary files are cleaned.
- The sum of the categories: 120 + 60 + 70 + 40 + 22 = 312 GB. Free space: 476 − 312 = 164 GB. The numbers are consistent with the figure.
- Usage ratio: 312 ÷ 476 ≈ 0.655, that is, 65.5%. Free space is 34.5%.
- The largest part of the used space is apps: 120 ÷ 312 ≈ 38.5%. Temporary files take 40 ÷ 312 ≈ 12.8%.
- If the temporary files are deleted, used space falls to 312 − 40 = 272 GB and free space rises to 164 + 40 = 204 GB. The share of free space becomes 204 ÷ 476 ≈ 42.9%.
On this drive, the first category to clean is temporary files, because deleting them loses no data. If more space is needed, the next step is to uninstall unused apps.
The Storage page offers two helper tools:
- Storage Sense: when turned on, it automatically cleans temporary files and, according to the rules you set, old items in the Recycle Bin. For example, it can be set to delete files that have stayed in the bin for more than 30 days. With this rule, a file deleted on 1 October 2026 is also removed from the bin after 31 October 2026.
- Cleanup recommendations: lists large or long-unopened files, unused apps, and temporary files. The user decides for themselves what is deleted.
Deleting every large file in the list to free up space. A file in the cleanup recommendations may have been suggested because it has not been opened for a long time; that does not mean it is unnecessary. An old project or the photos of a past term may show up in this list. Before deleting, make sure the file is not needed; if you cannot be sure, move the file to an external drive.
2.2.10.2Optimizing drives
An HDD and an SSD read data in very different ways, so the maintenance applied to each is also different. The Windows Defragment and Optimize Drives tool is opened by searching for “defrag” in the Start menu. The tool recognizes the type of each drive and applies the suitable operation (Table 2.2.21).
| Drive | Maintenance Windows applies | Why? |
|---|---|---|
| HDD | defragmentation | placing the pieces of fragmented files side by side |
| SSD | TRIM / optimization | telling the SSD controller which blocks are unused |
If the blocks of a file sit in scattered places on the disk rather than one after another, the file is fragmented. Defragmentation is the process of rearranging the blocks of each file so that they sit side by side on the disk. TRIM is the operating system telling the SSD which blocks of deleted files are no longer in use.
Fragmentation arises by itself as files are deleted and new files are written. If the gap a deleted file leaves is small, part of a new file is written there and the rest in another gap. On an HDD this is a problem, because the read head has to move mechanically to go from one piece to the next. Each jump takes a few milliseconds.
The disk in Figure 2.2.29 has 12 blocks. Before defragmentation the sequence is A A B _ B A _ C A B _ C (_ is an empty block). How many pieces is each file in? If a jump to each piece takes an average of 9.2 ms, how much time is spent on positioning to read the three files?
- File A is in blocks 1, 2, 6, and 9. Blocks 1 and 2 are side by side and the others are separate: 3 pieces.
- File B is in blocks 3, 5, and 10: 3 pieces. File C is in blocks 8 and 12: 2 pieces.
- There are 3 + 3 + 2 = 8 pieces in total. For each piece the head repositions: 8 × 9.2 = 73.6 ms.
- After defragmentation each file is a single piece: 3 positionings, 3 × 9.2 = 27.6 ms.
Even in this small example the positioning time falls to a little over a third. On an HDD with thousands of fragmented files, the difference reaches seconds.
An SSD, on the other hand, has no moving head. Every block is read at the same speed wherever it is. So fragmentation does not slow an SSD down, and defragmentation is unnecessary. Moreover, the many writes made during defragmentation needlessly wear an SSD, which has a limited write lifetime. What an SSD really needs is TRIM. When a file is deleted, the SSD does not know it by itself. If no TRIM notification arrives, the SSD still thinks the blocks holding deleted data are full, and on new writes it must first clear those blocks; writing slows down.
Frequently defragmenting an SSD by hand with classic HDD logic. Windows recognizes the drive type and chooses the right operation by itself: it defragments the HDD and applies TRIM to the SSD. The tool is scheduled by default to run weekly. It is enough not to turn this setting off.
2.2.10.3System Information and Task Manager
To solve a problem, you first need to know what is on the computer and what is running at that moment. Windows offers two tools for this.
System Information shows the details of the hardware, the operating system, the components, and the resources: the processor model, the amount of RAM, the Windows version, the BIOS/UEFI version, device drivers. It is opened by searching for “System Information” in the Start menu. A shorter summary is on the Settings → System → About page. You can tell here whether the computer meets a piece of software’s system requirements, and when someone asks for support, the computer’s specifications are read from here.
Task Manager is the Windows tool that shows running applications and processes and their processor (CPU), memory, disk, and network use, and ends a process when necessary. It opens directly with Ctrl + Shift + Esc, from the Win + X menu, or by right-clicking the taskbar.
A process, mentioned here, is a program that is running. An application can consist of several processes; browsers, for example, open a separate process for each tab. Task Manager shows in columns how many resources each process uses (Figure 2.2.30).
Task Manager consists of several pages. Each page answers a different question (Table 2.2.22).
| Page | What it shows | When to look |
|---|---|---|
| Processes | apps and background processes; CPU, memory, disk, and network percentages | when the computer slows down or an app freezes |
| Performance | live graphs of CPU, memory, disk, network, and GPU | to see which hardware is the bottleneck |
| App history | resource use of apps over time | to find which app uses a lot of network or CPU |
| Startup apps | programs that run when you sign in, and their impact | when startup gets slow |
| Users | signed-in users and their resource use | on a shared computer |
| Details / Services | process IDs (PID) and Windows services | for advanced troubleshooting |
High resource use is not always a problem. Windows Update, a virus scan, or the building of the search index can use the CPU and disk heavily for a short time. Such loads pass in a few minutes. Constant 100% disk or memory use, however, is a typical cause of slowness. When memory fills up, Windows writes some of the data in RAM to the disk and reads it back when needed; because the disk is thousands of times slower than RAM, the computer slows down noticeably.
On a computer with 8 logical processors, a program has entered an infinite loop and is keeping a single core completely busy. What does Task Manager show in the CPU column for this program? What if the same happened on a computer with 4 logical processors?
- The CPU percentage is computed against the whole processor capacity. Each of the 8 logical processors is 100 ÷ 8 = 12.5% of the capacity.
- So the program that fully uses one processor appears at about 12.5%.
- On 4 logical processors the same program appears at 100 ÷ 4 = 25%.
The remark “the program uses only 12.5%, so it is no problem” can therefore be misleading. The program consumes its own core completely. In the per-core graphs on the Performance page, you can see one core sitting at the top the whole time.
Assuming that every process with an unrecognized name is malicious and ending it or deleting its file. Names such as “Antimalware Service Executable” look suspicious at first glance, but this process is Microsoft Defender itself. An unknown process is not ended or deleted before its name has been looked up in trusted sources. High resource use alone is not evidence of malware either.
2.2.10.4Frozen apps and startup apps
The two situations in which Task Manager is used most often are closing a frozen app and disabling programs that slow down startup. Let us follow both step by step on an example.
Word does not respond to clicks. The computer also takes a long time to start. In Task Manager, opened with Ctrl + Shift + Esc, the steps are as follows:
| Step | Page | Operation | Result |
|---|---|---|---|
| 1 | Processes | Task Manager opens | Word’s status is “Not responding”; CPU 0%, memory 312.4 MB |
| 2 | Processes | The Word row is selected and you wait a few seconds | if Word does not recover, go to the next step |
| 3 | Processes | End task | the Word process closes and returns its memory; Edge, Spotify, and Windows Explorer remain in the list |
| 4 | Startup apps | page opens | OneDrive, Spotify, Teams… are listed; Spotify’s startup impact is “High” |
| 5 | Startup apps | Spotify is selected, Disable | Spotify’s status is “Disabled” |
| 6 | Processes | the computer is restarted | Spotify does not open by itself and is not in the list |
The wait in the second step is important. “Not responding” does not always mean frozen; the app may be trying to finish a long operation, such as saving a large document. In the third step the Word process is closed by force. Changes made after the last save may be lost; when Word is reopened, it may offer its own automatic recovery copy.
When the task is ended, the memory use in the list changes as well. The total memory of the four processes is 312.4 + 845.2 + 198.7 + 96.3 = 1,452.6 MB. When Word’s 312.4 MB is given back, the remaining three processes use 1,140.2 MB.
In the fifth step Spotify is not uninstalled; it simply does not start at sign-in. When needed, it is opened by hand from the Start menu. The same list is also managed on the Settings → Apps → Startup page.
Disabling everything in the startup list. Some programs, such as antivirus, a touchpad driver’s helper, or cloud sync, need to run at startup. The ones to disable are programs that are not really needed at startup and have a high startup impact: a music player, a game client, a chat app.
2.2.10.5Updates, backup, and encryption
Windows Update is the service that brings security and quality updates to Windows. On the Settings → Windows Update page, updates are checked for, installed, and their history is viewed. Security updates are usually released on the second Tuesday of each month. Some updates ask for a restart. The Active hours setting keeps Windows from making this restart during the hours when the user is working. Updates can be paused for a short time but should not be postponed altogether.
A backup is keeping a copy of important files in a separate location. Restore is returning files or the system to an earlier state.
For a backup to be of use, it must not be lost together with the original files. A copy on the same disk goes with it when the disk fails. That is why there is a common rule: the 3-2-1 rule. Important data should have at least 3 copies, on at least 2 different media, and at least 1 copy should be in another place, for example in the cloud. Figure 2.2.32 shows the Windows counterpart of this scheme: the files on the computer are backed up both to OneDrive and to an external drive.
BitLocker is the feature that encrypts a whole drive in the supported editions of Windows (Pro, Enterprise, Education). Data on an encrypted drive cannot be read without the right key. The recovery key is the 48-digit number that gives access to the drive when the TPM or the password cannot unlock it. In the Windows Home edition, a similar feature exists under the name “Device encryption.”
Encryption protects the data when the computer is stolen. Even if a thief removes the disk and puts it in another computer, the files cannot be read. But the same protection applies to the owner too. If the motherboard is replaced, the TPM is reset, or the UEFI settings change, Windows asks for the recovery key at startup. If the key is not known, the data can never be accessed again. That is why the recovery key is kept away from the computer: in the Microsoft account, on a printout, or on a USB drive.
Keeping the BitLocker recovery key inside the encrypted drive, for example in a text file in Documents. The key is needed precisely when the drive cannot be opened; at that moment the file inside the drive cannot be reached. The key is always kept outside the computer.
2.2.10.6Recovery options
The tools to turn to when something goes wrong are ordered from light to heavy by their effect. A light tool brings back only a single file; a heavy tool reinstalls all of Windows. The right choice is the lightest tool that solves the problem (Figure 2.2.33, Table 2.2.24).
| Tool | What does it protect or restore? | Condition and limit |
|---|---|---|
| OneDrive folder backup | backs up the Desktop, Documents, and Pictures folders to the cloud; a deleted file returns from the OneDrive recycle bin | requires the internet and a OneDrive account; the cloud bin keeps items for a limited time |
| File History | regularly saves versions of files to an external drive; an old or deleted version can be restored | the external drive must be connected |
| Restore point | returns system files and settings to an earlier state | does not back up personal documents; the feature must have been turned on beforehand |
| Reset this PC | reinstalls Windows; “Keep my files” keeps personal files and removes apps; “Remove everything” deletes it all | a last resort; make a backup first |
File History is opened from the “File History” page in Control Panel and by default takes a copy every hour. A restore point is enabled from the System Protection tab, which opens when you search for “Create a restore point” in the Start menu. Windows creates a point by itself before major updates and driver installations. Reset this PC is on the Settings → System → Recovery page.
The most suitable recovery tool is chosen for four different problems.
- A file deleted yesterday from Documents, which is backed up with OneDrive, is wanted back. The lightest tool is enough: the file is restored from the OneDrive recycle bin.
- Last week’s version of a file that is regularly saved to an external disk is wanted. File History: the external drive is plugged in, and the old version of the file is selected and restored.
- After a new device driver update, the system is unstable, but the documents are intact. The problem is in the system, not in the documents. A restore point returns the system to the point before the update; it does not touch the documents.
- The system is completely broken; personal files must be kept, and apps can go. Reset this PC → Keep my files. Windows is reinstalled, personal files stay, and apps are removed; the ones needed are installed again by hand.
In every case a heavier tool could also have solved the problem, but it would have caused needless losses. For example, resetting the computer for a single deleted file removes all the apps and does not bring the file back either.
Mistaking a restore point for a document backup. A restore point covers only system files, the registry, and installed programs. A deleted homework file does not come back with a restore point. For documents you need OneDrive, File History, or another file backup.
2.2.11Summary
- The desktop is the main work area. The Start menu leads to apps, search, the account, and power commands; right-clicking it or pressing Win + X opens the Quick Link menu. The taskbar carries open and pinned apps, the system tray, quick settings (Win + A), and notifications (Win + N).
- When a window is minimized, the app does not close. Snap (Win + arrow keys, Win + Z) arranges windows, and Alt + Tab changes the active window. Virtual desktops (Win + Ctrl + D, ← / →, F4) group windows; when a desktop is closed, its windows move.
- Copy (Ctrl + C), Cut (Ctrl + X), and Paste (Ctrl + V) use the clipboard. Win + PrtSc saves a file; Win + Shift + S and Alt + PrtSc put the image on the clipboard.
- A physical disk can be divided into several partitions; each volume gets a drive letter. A 512 GB disk appears in Windows as ≈ 476.8 GiB.
- A file is defined by its name, extension, path, and properties. The extension determines the associated app; changing it does not convert the content. Nine characters (\ / : * ? " < > |) and reserved names such as CON and PRN cannot be used; the classic path limit is 260 characters.
- An absolute path starts at the root; a relative path starts at the current folder, and
..is the parent folder. The real path of the Documents folder isC:\Users\<name>\Documents. - Copying keeps the original and increases the number of files; moving changes the location. Drag and drop moves on the same drive and copies across drives; Shift forces a move, Ctrl a copy, and Alt a shortcut.
- Delete sends to the Recycle Bin, and Shift + Delete deletes permanently; the bin is not used on USB and network locations. A shortcut is a .lnk file that holds only a path; it is not a backup.
- ZIP gathers files in one package; text compresses well, while JPEG and DOCX hardly compress at all. A document inside a ZIP is not edited without extracting it. Size on disk is rounded up to 4 KB blocks.
- Settings (Win + I) gathers the system, device, network, account, app, language, and accessibility options. If text is too small, change the scale, not the resolution.
- A standard user is for everyday work; UAC asks for confirmation or a password for administrator tasks. A default app is a permanent choice, while Open with is a one-time choice.
- A Windows Hello PIN is tied to the device and does not pass over the network. Windows Security gathers virus protection, the firewall, SmartScreen, and device security.
- Storage Sense and cleanup recommendations free up space. An HDD is defragmented, and TRIM is applied to an SSD. Task Manager ends a non-responding app and limits startup apps.
- Keep the backup in a separate medium (3-2-1). Keep the BitLocker recovery key away from the computer. The recovery tools, from light to heavy: OneDrive, File History, Restore point, Reset this PC.
| Calculation | Formula | Example |
|---|---|---|
| GB → GiB | bytes ÷ 230 | 512 GB → ≈ 476.8 GiB |
| Size on disk | ⌈size ÷ 4,096⌉ × 4,096 | 1,500 bytes → 4,096 bytes |
| Compression ratio | compressed ÷ original | 31 ÷ 120 ≈ 25.8% |
| Logical screen area | resolution ÷ scale | 1920 × 1080, 150% → 1280 × 720 |
| Usage ratio | used ÷ total | 312 ÷ 476 ≈ 65.5% |
| Single-core load | 100 ÷ number of logical processors | 8 processors → 12.5% |
| PIN possibilities | 10number of digits | 4 digits → 10,000 |
2.2.12Key terms
These are the key terms of the chapter, in the order in which they appear.
- desktop
- Start menu
- taskbar
- system tray
- quick settings
- notification center
- context menu
- window
- title bar
- minimize / maximize / restore down / close
- snap
- task view
- virtual desktop
- keyboard shortcut
- clipboard
- screenshot
- Snipping Tool
- drive
- partition / volume
- file
- folder
- file name extension
- file association
- reserved name
- path
- absolute path
- relative path
- current folder
- parent directory
- root
- File Explorer
- navigation pane
- wildcard
- hidden
- drag and drop
- Recycle Bin
- permanent delete
- shortcut (.lnk)
- archive / compress
- extract all
- properties
- attributes
- read-only
- scale
- user account
- local account
- standard user
- administrator
- default app
- startup apps
- screen reader
- keyboard layout
- biometric
- multi-factor authentication
- firewall
- real-time protection
- Secure Boot
- Storage Sense
- defragmentation
- fragmented
- TRIM
- Task Manager
- process
- not responding
- end task
- backup
- restore point
- recovery key
- reset
2.2.13Test Yourself
On the taskbar there is a line under the Word icon but the icon is not highlighted; there is no line under the Excel icon. What is the state of these two apps? What happens when the Excel icon is clicked?
Answer
Word is open but is not the active window (it may be in the background or minimized). Excel is only pinned and is not open. When the Excel icon is clicked, Excel starts; a line appears under its icon and Excel becomes the active window. Word stays open.
Word is open on Desktop 1 and Music on Desktop 2; the screen shows Desktop 2. Win + Ctrl + D is pressed, then Win + Ctrl + ←. Which desktop are we on, and how many desktops are there? If Win + Ctrl + F4 is then pressed, where does Music go?
Answer
Win + Ctrl + D creates a new, empty Desktop 3 and switches to it. Win + Ctrl + ← goes back one to the left, to Desktop 2. There are three desktops, and the screen shows Desktop 2. Win + Ctrl + F4 closes Desktop 2; Music does not close but moves to Desktop 1 on its left.
A disk labeled “1 TB” on its box is set up as a single partition, D:. About how many GB does Windows show as this volume’s capacity?
Answer
1 TB = 1012 bytes. Windows counts 230 bytes as 1 GB: 1012 ÷ 1,073,741,824 ≈ 931.3. The volume appears as about 931 GB. The number of bytes is the same; the difference comes from the unit.
The current folder is
C:\Users\Ali\Pictures\Holiday. What is the absolute equivalent of the relative path..\..\Documents\homework.docx? If the leading..\..\had not been written, in which folder would it have been looked for?Answer
The first
..goes up from Holiday to Pictures, and the second..goes up from Pictures to Ali. Then it goes down into Documents:C:\Users\Ali\Documents\homework.docx. Without..\..\, theDocumentsfolder would have been looked for inside Holiday, that is, asC:\Users\Ali\Pictures\Holiday\Documents, and would not have been found.Which of these names cannot be file names in Windows:
note|1.txt,PRN.docx,printer.docx,2026-10-23_report.pdf,a<b.txt?Answer
note|1.txt(| is a forbidden character),PRN.docx(PRN is a reserved name; the extension does not change that), anda<b.txt(< is a forbidden character) cannot.printer.docxand2026-10-23_report.pdfare valid.C:\Documents holds
a.docxandb.jpg, and E:\ (a USB drive) is empty. In order:a.docxis dragged and dropped onto E:\;b.jpgis dragged and dropped ontoC:\Archive; thea.docxon E:\ is dragged toC:\Archivewhile Shift is held. In the end, which files are in which location?Answer
The first operation is a copy because the drives differ:
a.docxis in both C:\Documents and E:\. The second is a move because the drive is the same:b.jpggoes to C:\Archive. The third is a move because, although the drives differ, Shift is held: the copy on E:\ goes to C:\Archive. Result: C:\Documents holdsa.docx; C:\Archive holdsb.jpganda.docx; E:\ is empty.What is the size on disk of a 9,000-byte file on an NTFS volume that uses 4,096-byte blocks? About how many KB does Windows show as the file’s size?
Answer
9,000 ÷ 4,096 ≈ 2.2; rounded up, 3 blocks. The size on disk is 3 × 4,096 = 12,288 bytes (12.0 KB). The size appears as 9,000 ÷ 1,024 ≈ 8.79 KB.
A 600 KB text file and a 3,000 KB JPEG photo are added to a ZIP archive. The text compresses to 25% and the photo to 99%. What are the approximate size of the archive and the overall saving (ignore the share of archive information)?
Answer
The text becomes 600 × 0.25 = 150 KB and the photo 3,000 × 0.99 = 2,970 KB. The archive is ≈ 150 + 2,970 = 3,120 KB. The original total is 3,600 KB; the saving is (3,600 − 3,120) ÷ 3,600 ≈ 13.3%. Almost all of the saving comes from the text file.
On a screen with a resolution of 2560 × 1600, the scale is set to 200%. What logical area is left for applications? Why is lowering the resolution to 1280 × 800 not a good way to enlarge text?
Answer
2560 ÷ 2 = 1280, 1600 ÷ 2 = 800: the logical area is 1280 × 800. With scale, all the physical pixels are used and the image stays sharp. Lowering the resolution, on the other hand, spreads each pixel over four (2 × 2); the logical area is the same, but the image becomes blurry.
A student accidentally deleted a homework file with Shift + Delete; the file was in the Documents folder backed up with OneDrive. Also, after a driver update, the sound card does not work. Which recovery tool suits each problem?
Answer
Shift + Delete does not send the file to Windows’ Recycle Bin. But while OneDrive reflects the deletion to the cloud, it keeps the file in its own recycle bin for a while; the file is restored from there. The sound card problem is in the system: if restore points are on, the system is returned to the point before the update. Resetting the computer is needlessly heavy for both problems.
2.2.14Further reading
- Microsoft Support, Windows help and learning (support.microsoft.com/en-us/windows): the official help pages, which describe the desktop, File Explorer, Settings, backup, and recovery with the current menu names of Windows 11.
- Microsoft Support, Keyboard shortcuts in Windows (official page): a much longer list of shortcuts than the ones given in these notes, organized by topic.
- Microsoft Learn, Naming Files, Paths, and Namespaces (learn.microsoft.com): the technical explanation of forbidden characters, reserved names, absolute and relative paths, and the 260-character limit.
- Microsoft Learn, Windows Hello for Business overview (learn.microsoft.com): explains why the PIN does not leave the device and how the private key is protected in the TPM.
2.2.15References
- Microsoft Support, “Windows help and learning” documentation (support.microsoft.com/en-us/windows).
- Microsoft Support, documentation on Storage Sense and drive optimization.
- Microsoft Learn, Windows Hello and Windows security documentation (learn.microsoft.com).
- Microsoft Learn, “Naming Files, Paths, and Namespaces,” Win32 file system documentation.