You have asked the perfect question. This is the most common "gotcha" when transferring photos from an iPhone, and you've correctly identified the potential problem.
You are absolutely right to be concerned. Here is the breakdown of what's happening and what you need to do.
The Short Answer
If you copy the files directly from your iPhone to your PC right now, you will NOT be getting the original, full-resolution files for most of your photos.
Because "Optimize iPhone Storage" is checked, your iPhone has done exactly that: it has replaced older or less-viewed full-resolution photos with smaller, device-optimized versions (thumbnails or lower-resolution copies) to save space. The original, high-quality files are stored safely in your iCloud account.
When you connect the iPhone to your Windows PC, it can only show you the files that are physically present on the phone. This will be a mix:
- Recent photos you've taken might still be the originals.
- Older photos will almost certainly be the smaller, optimized versions.
The Problem with "Download and Keep Originals"
The standard solution would be to go into your iPhone settings and switch from "Optimize iPhone Storage" to "Download and Keep Originals".
HOWEVER, you cannot do this. As you noted, your photo library is ~18 GB, but you only have ~6 GB of free space on your iPhone. Your iPhone doesn't have enough room to download all the originals from iCloud. Attempting this will just fill up your phone and fail.
The Solution: Bypass the iPhone and Download from iCloud Directly
The best way to get your original files is to download them directly from iCloud to your Windows 11 laptop. This bypasses the storage limitation on your iPhone entirely.
Here are the two best methods to do this.
Method 1: Use the iCloud for Windows App (Highly Recommended for 18 GB)
This is the most robust and "set-it-and-forget-it" method for a large library. It will sync your entire iCloud photo library to your PC.
-
Install iCloud for Windows:
- On your Windows 11 laptop, open the Microsoft Store.
- Search for "iCloud" and install the official app from Apple Inc.
-
Sign In:
- Open the iCloud app and sign in with the exact same Apple ID and password that you use on your iPhone. You may need to approve the sign-in from your iPhone (two-factor authentication).