Objective
Walk through the most important Windows folders and files on your own PC, check their owners and permissions, and ask Windows whether its system files are healthy. You only look. Nothing in this lab deletes, renames, moves or repairs anything.
Time: 25–30 minutes
You need: A Windows 10 or 11 PC. Parts 5 and 6 need an administrator window (one extra approval click).
SAFETY RULES — read first
- Never delete, rename or move anything inside
C:\Windows,C:\Program Files,System Volume Informationor the root hidden files. Only open and read.- Do not double-click
.exefiles inSystem32"to see what they do". Some change settings.- If you untick Hide protected operating system files, tick it again at the end.
- Do not run
sfc /scannoworDISM /RestoreHealthin this lab. Only the read-only checks are used.
What to Open
| Tool | How to open it |
|---|---|
| File Explorer | Win + E |
| PowerShell | Press Win, type PowerShell, press Enter (normal) |
| PowerShell as administrator | Press Win, type PowerShell, right-click, Run as administrator, click Yes |
| Command Prompt (admin) | Same steps with cmd |
| Task Manager | Ctrl + Shift + Esc |
Part 1: Browse the Folders (File Explorer, View Only)
Open C:\ in File Explorer. You will probably see only Program Files, Program Files (x86), Users and Windows.
1A. Show hidden items. Choose View → Show → Hidden items (Windows 11), or the View tab → Hidden items (Windows 10). New folders appear.
- Which new folders appeared in
C:\? (Look forProgramData, maybe$Recycle.Bin.) ________________
1B. Show protected files. Open View → Options → View tab, untick Hide protected operating system files (Recommended), confirm the warning, then click OK. Now look again.
- Do you see
pagefile.sys?hiberfil.sys?swapfile.sys? Write the sizes you see in the Properties box (right-click → Properties). ________________ - Do you see
System Volume Information? (Double-click it. You should get Access denied. That is correct and good.) ________________ - Is there a
Recoveryfolder? ________________
1C. Now put things back. Re-open View → Options → View and tick Hide protected operating system files (Recommended) again.
Part 2: Walk Through Windows (View Only)
Open C:\Windows. Look, don't touch. Fill in what you see:
- Is there a
System32folder and aSysWOW64folder? (IfSysWOW64is missing, your Windows is 32-bit.) ________________ - Is
explorer.exeinC:\Windowsor inSystem32? ________________ - Open
C:\Windows\System32\drivers. Findntfs.sys. How big is it? (Right-click → Properties.) ________________ - Open
C:\Windows\System32\config. You may get a permission prompt. If so, click Cancel. Do not continue. (These are the live registry hive files from Chapter 17.) ________________ - Open
C:\Windows\Fonts. Roughly how many fonts? ________________ - Open
C:\Windows\Logs. Which sub-folders do you see? ________________
Part 3: Seeing the Same Things from the Command Line
Open a normal PowerShell (not admin). Type each line and press Enter:
Get-ChildItem C:\ -Force
Get-ChildItem C:\Windows -Directory | Select-Object Name
Get-Item C:\Windows\System32\ntoskrnl.exe | Select-Object Name, Length, LastWriteTime
Get-Item C:\Windows\explorer.exe | Select-Object Name, Length, LastWriteTime-Force means "also show hidden and system items". Compare with Part 1.
- What is the size (
Length, in bytes) ofntoskrnl.exe? ________________ - Does
Get-ChildItem C:\ -Forceshowpagefile.sys? ________________
And in Command Prompt (cmd):
dir /a C:\
dir /a:h C:\
- What does
/a:hshow? (hint: hidden items only) ________________
Part 4: Who Owns the System Files? (Read Permissions)
These commands only read permissions.
Get-Acl C:\Windows\System32\kernel32.dll | Format-List Owner
(Get-Acl C:\Windows\System32\kernel32.dll).Access | Select-Object IdentityReference, FileSystemRights, AccessControlTypeicacls C:\Windows\System32\kernel32.dll
- Who is the owner of
kernel32.dll? ________________ (Look forNT SERVICE\TrustedInstaller.) - What rights does the Administrators group have? ________________ (Look for R, RX, or "ReadAndExecute", not full control.)
- Which identity has Full control (F)? ________________
Now compare with your own file:
Get-Acl "$env:USERPROFILE\Documents" | Format-List Owner- Who owns your Documents folder? ________________
This is why even an administrator cannot casually delete
kernel32.dll: the owner is TrustedInstaller (Section 3.2).
Part 5: Ask Windows if Its Files Are Healthy (Admin, Read-Only)
Open Command Prompt or PowerShell as administrator. Run:
sfc /verifyonly
This scans protected system files and only reports; it fixes nothing. It can take several minutes. Wait until it reaches 100 percent. Typical results:
| Message (wording may vary) | Meaning |
|---|---|
| "Windows Resource Protection did not find any integrity violations." | All protected files match the good copies |
| "Windows Resource Protection found integrity violations." | Some files differ. Details are in C:\Windows\Logs\CBS\CBS.log. (A repair would be sfc /scannow, which this lab does not run.) |
| "could not perform the requested operation" | You are probably not running as administrator |
Then run the quick component store check:
DISM /Online /Cleanup-Image /CheckHealth
Typical results (wording may vary): "No component store corruption detected", or a message saying the store is repairable or not repairable.
- What did
sfc /verifyonlyreport? ________________ - What did
DISM /CheckHealthreport? ________________
CheckHealthonly reads a flag Windows already stored. It does not do a deep scan, and changes nothing.
Part 6: Look at the Component Store (Optional, Admin)
DISM /Online /Cleanup-Image /AnalyzeComponentStore
This analyzes WinSxS and only reports. It can take a minute or two. Look for lines such as Windows Explorer Reported Size of Component Store, Actual Size of Component Store, and Component Store Cleanup Recommended (Yes or No). Do not run the StartComponentCleanup command in this lab.
- Explorer-reported size: ________________ Actual size: ________________
- Is cleanup recommended? ________________
Why are the two sizes different? Because many files in WinSxS are hard links (Section 1.4), counted twice by Explorer.
Part 7: Spot the System Processes (Task Manager)
Open Task Manager → Details tab. Find these and add the Image path name column (right-click a column header → Select columns).
- Find
smss.exe,csrss.exe,wininit.exe,services.exe,lsass.exe,winlogon.exe. Are they all inC:\Windows\System32? ________________ - How many
csrss.exeare there? (Expect two on a PC with one signed-in user.) ________________ - How many
svchost.exeare there? ________________ - Where is
explorer.exerunning from? ________________
Do not end any of these processes. This is read-only.
What Should Happen
- Part 1 and 2 show hidden items on,
System Volume Informationblocked, andSystem32andSysWOW64both present on 64-bit Windows. - Part 3 gives the same facts as File Explorer, from the command line.
- Part 4 shows
TrustedInstalleras the owner and Administrators with only read rights. - Part 5 and 6 report a healthy PC (usually) without changing anything.
Interpretation Guide
| What you see | What it means |
|---|---|
pagefile.sys several GB | Windows uses it as virtual memory |
hiberfil.sys present | Hibernate or Fast Startup is turned on |
Access denied on System Volume Information | Normal; only SYSTEM can open it |
Owner = NT SERVICE\TrustedInstaller | Protected system file (WRP) |
Administrators = ReadAndExecute | Even admins cannot edit it without taking ownership |
sfc /verifyonly: no violations | System files match the store |
sfc /verifyonly: violations | Damage exists; read the log, then repair with sfc /scannow and DISM /RestoreHealth outside this lab |
| Explorer size much bigger than actual | Hard links make WinSxS look larger than it is |
svchost.exe outside System32 | Suspicious; check with an antivirus |
Follow-Up Questions
- Why does the name
System32still hold 64-bit files on a modern PC? - Why does File Explorer hide
pagefile.sysandSystem Volume Informationby default? - Why can an administrator not delete
kernel32.dllstraight away, and why should they not try? - If
sfc /verifyonlyreported violations, which two commands would you run (in order) to repair them? - Name three facts from this lab that you could not have learned just by looking at the Desktop.