تعرف على ميزات الأمان واستعادة النظام في ويندوز مثل hiberfil.sys وpagefile.sys وSystem Restore، وكيف تختار بين حذفها أو تقليص حجمها لتوفير مساحة حقيقية على قرص SSD بأمان.
يُعرف نظام التشغيل Windows بشراهته في استهلاك مساحة التخزين على أقراص SSD، وهي مساحة قد تكون في أمسّ الحاجة إليها لتثبيت ألعابك المفضلة أو حفظ نسخك الاحتياطية. لا تقتصر المساحة المستهلكة على ملفات النظام الأساسية فقط، بل يذهب جزء كبير وغير متوقع إلى أدوات الحماية والاستقرار وميزات الأمان التلقائية (Safety Nets) المصممة لإنقاذ الكمبيوتر عند حدوث أي خلل.
هذه الميزات ممتازة ومفيدة، لكن عند ضيق مساحة التخزين تصبح التضحية ببعضها خياراً مطروحاً. قبل البدء في حذف أي ملف، من الضروري فهم وظيفة كل ميزة، ومستوى التحكم المتاح، والمخاطر المترتبة على استرجاع تلك الجيغابايتات.
1. ملف السبات (hiberfil.sys): عملاق يستهلك ذاكرة RAM دون فائدة حقيقية
يقع ملف
hiberfil.sys مباشرة في المسار الرئيسي لقرص النظام (C:). مهمته الأساسية حفظ حالة الذاكرة العشوائية بالكامل على قرص الـ SSD عند تفعيل ميزة السبات (Hibernation)، ليتسنى لك استئناف العمل لاحقاً من حيث توقفت. كما يعتمد نظام ويندوز على هذا الملف لتشغيل خاصية البدء السريع (Fast Startup) والنوم الهجين (Hybrid Sleep)، وهو ما يفسر وجوده حتى لو لم تستخدم السبات مطلقاً.بحسب مايكروسوفت، يستهلك ملف السبات الكامل نحو 40% من حجم الذاكرة العشوائية (RAM) المثبتة بالجهاز، بينما يستهلك الملف المصغر (Reduced) نحو 20%. فإذا كان جهازك يحتوي على 32 جيجابايت RAM، فستفقد جزءاً ضخماً من سعة التخزين.
هل يستحق البقاء؟
- أجهزة اللاب توب: نعم، لأن وضع السبات يحافظ على جلسات عملك دون استنزاف البطارية.
- الأجهزة المكتبية (Desktop) المزودة بأقراص SSD سريعة: لا حاجة حقيقية له، فالإقلاع سريع بطبيعته.
طريقة التحكم:
- لحذف الملف وإيقاف السبات والبدء السريع تماماً: افتح موجه الأوامر (CMD) كمسؤول واكتب:
powercfg /hibernate off - للاحتفاظ بخاصية البدء السريع فقط وتقليص حجم الملف إلى النصف:
powercfg /hibernate /type reduced
2. ملف الترحيل (pagefile.sys): خط أحمر لا يجب حذفه
يعتقد الكثيرون خطأً أن ملف
pagefile.sys مجرد ذاكرة طوارئ تُستخدم فقط عند امتلاء الذاكرة العشوائية (RAM)، وبالتالي يرون أنه غير ضروري للأجهزة التي تمتلك 32 أو 64 جيجابايت RAM.في الواقع، يرفع ملف الترحيل حد الالتزام بالذاكرة (Commit Limit)، ويسمح للنظام بنقل الصفحات المعدلة غير المستخدمة خارج الـ RAM، كما يُعد أساسياً لتوليد تقارير الأخطاء بعد الانهيارات (Crash Dumps). إلغاء هذا الملف قد يسبب تجمداً للبرامج، أو خروجاً مفاجئاً، أو عدم استقرار عام للنظام.
- القرار الأمثل: اترك إدارة هذا الملف للنظام تلقائياً (System-managed). سيتولى ويندوز ضبط حجمه وفقاً للحاجة الفعلية بدلاً من تخصيص مساحة مهدرة، وتجنب تعطيله تماماً لتفادي كوابيس تعدد المهام.
3. نقاط استعادة النظام (System Restore): ترويض المساحة دون إلغاء الميزة
تقوم ميزة System Restore بإنشاء نقاط استعادة تحتوي على ملفات النظام الأساسية، والبرامج المثبتة، وبيانات السجل (Registry)، والإعدادات. تكمن فائدتها في إمكانية التراجع عن أي تعديل أو تعريف تسبب في تعطل الويندوز دون المساس بملفاتك الشخصية.
المشكلة تكمن في أن تراكم نقاط الاستعادة يلتهم مساحات كبيرة من الـ SSD بمرور الوقت.
الحل البديل عن الإلغاء الكامل:
بدلاً من تعطيل استعادة النظام كلياً وخسارة خيار أمان موثوق، يمكنك وضع حد أقصى لاستهلاك المساحة:
- توجه إلى إعدادات حماية النظام (System Protection).
- انقر على تهيئة (Configure).
- حرك مؤشر الاستخدام الأقصى (Max Usage) لتحديد نسبة مناسبة (مثل 3% إلى 5%). عند امتلاء هذه المساحة، سيقوم ويندوز تلقائياً بحذف النقاط القديمة لإفساح المجال للجديدة.
4. الاستعادة اللحظية (Point-in-Time Restore) في Windows 11
ميزة متقدمة توفرت بدءاً من تحديث Windows 11 (نسخة 24H2)، وتتفوق على استعادة النظام التقليدية بكونها تأخذ لقطات (Snapshots) كاملة للحاسوب تشمل ملفات النظام والبرامج وحتى الملفات الشخصية.
- طبيعة العمل: يتم التقاط هذه اللقطات دورياً كل 24 ساعة، وتُحفظ لمدة تصل إلى 72 ساعة، بحد أقصى 2% من مساحة القرص.
- هل تحتاجها؟ إذا كنت دائم التجربة والتعديل على إعدادات ويندوز الحساسة، فهي طبقة حماية إضافية سريعة. أما إذا كنت تمتلك خطة نسخ احتياطي خارجية أو سحابية منتظمة وتعاني من نقص حاد في المساحة، فيمكنك الاستغناء عنها نظراً للتداخل بينها وبين أدوات النسخ الأخرى.
5. المساحة المحجوزة (Reserved Storage): حارس التحديثات الآمنة
يعتبر البعض خاصية Reserved Storage مساحة مهدورة يستحيل حذفها، لكن مايكروسوفت خصصتها (غالباً بين 7 إلى 10 جيجابايت) لضمان عدم فشل التحديثات الكبيرة وتوقفها في منتصف التثبيت بسبب نفاد الذاكرة فجأة.
عند وجود نقص مؤقت في التخزين، يقوم ويندوز باستغلال هذا الاحتياطي للملفات المؤقتة وعمليات الصيانة. تعطيلها قد يمنحك بضعة جيجابايتات على الورق، لكنه يؤجل المشكلة إلى حين وصول أول تحديث رئيسي للويندوز؛ لذا يُفضّل الإبقاء عليها مالم تكن المساحة منعدمة تماماً.
دليل سريع: ماذا تفعل بميزات الأمان في ويندوز؟
| الميزة | الإجراء الموصى به | النتيجة |
| hiberfil.sys | تقليصه للأجهزة المكتبية أو إيقافه عبر powercfg | توفير 20% إلى 40% من سعة RAM على القرص |
| pagefile.sys | تركه بإدارة النظام (System-managed) | ضمان استقرار البرامج ومنع الانهيارات |
| System Restore | تقييد المساحة القصوى (3% - 5%) | الحفاظ على خيار النجاة مع منع تراكم الملفات |
| Point-in-Time | إلغاؤها إذا كنت تستخدم نسخاً احتياطياً خارجياً | استعادة 2% من سعة قرص Windows 11 |
| Reserved Storage | الإبقاء عليها | تجنب مشاكل وأخطاء تحديثات الويندوز |
تنظيف قرص الـ SSD لا يعني إزالة كل ما تقع عليه عينك عشوائياً. الفارق بين النظام السريع والنظام المعطوب يكمن في اختيار أدوات الأمان التي تستطيع تعويضها بوسائل أخرى، والإبقاء على الأدوات التي تجنبك الحاجة لإعادة تثبيت ويندوز من الصفر.
Windows Built-In Safety Nets: Which Ones Deserve Space and What Can You Safely Remove?
Meta Description:
Discover Windows safety and recovery features like hiberfil.sys, pagefile.sys, and System Restore. Learn how to safely delete or shrink them to reclaim real SSD storage.
Windows is notorious for devouring SSD storage space—space you might desperately need for installing your favorite games or storing important backups. Beyond standard system files, a surprisingly large amount of storage is consumed by built-in reliability and recovery features (Safety Nets) designed to rescue your PC when something goes wrong.
While these features are valuable, storage constraints occasionally force difficult trade-offs. Before deleting anything, it is critical to understand what each feature protects, how much control Windows offers, and what risks you take by reclaiming that space.
1. Hibernation File (hiberfil.sys): A Massive RAM Consumer
The
hiberfil.sys file sits directly in the root directory of your system drive (C:\). Its primary role is to save the entire contents of your physical RAM to the SSD during Hibernation, allowing you to resume your session exactly where you left off. Windows also relies on this file to enable Fast Startup and Hybrid Sleep, which explains why it exists even if you never intentionally hibernate your PC.According to Microsoft, a full hibernation file claims roughly 40% of your installed physical RAM, while a reduced file occupies around 20%. On a system with 32 GB of RAM, this single file claims a substantial amount of storage.
Does it earn its space?
- Laptops: Yes. Hibernation preserves active work sessions without draining battery power.
- SSD-equipped Desktops: Generally unnecessary. Modern SSDs already deliver near-instant boot times.
How to manage it:
- To delete the file entirely and disable Hibernation and Fast Startup:Open Command Prompt as Administrator and run:
powercfg /hibernate off - To retain Fast Startup while cutting the file size roughly in half:Run:
powercfg /hibernate /type reduced
2. Paging File (pagefile.sys): A Critical Red Line
A common misconception is that
pagefile.sys functions merely as an emergency memory reserve used only when physical RAM runs out, leading many users with 32 GB or 64 GB of RAM to assume it is unnecessary.In reality, the page file increases the Windows Commit Limit, allows the operating system to offload infrequently accessed, modified memory pages from RAM, and is required to write memory crash dumps (Crash Dumps). Disabling or removing this file can trigger application freezing, software crashes, or general system instability.
- Best Practice: Keep this setting set to System-managed. Windows dynamically adjusts its footprint based on real-time demands rather than permanently occupying excessive storage. Leaving it enabled prevents severe multi-tasking bottlenecks.
3. System Restore: Taming Storage Without Losing the Undo Button
System Restore creates restore points that record critical system files, installed applications, registry keys, and hardware configurations. If an unstable driver or problematic update breaks your Windows installation, this feature allows you to roll back changes without compromising your personal documents.
The downside is that multiple restore points accumulate rapidly, consuming tens of gigabytes over time.
The smarter alternative to disabling it:
Rather than turning off System Restore completely and losing a vital recovery safeguard, set a strict storage cap:
- Open System Protection settings.
- Select your system drive and click Configure.
- Adjust the Max Usage slider to a modest percentage (such as 3% to 5%).Once this quota is reached, Windows automatically deletes the oldest restore points to make room for new ones.
4. Point-in-Time Restore in Windows 11
Introduced with Windows 11 (version 24H2), Point-in-Time Restore expands upon traditional system restoration by capturing full machine snapshots—including system components, installed software, and personal files.
- How it works: Windows automatically captures snapshots every 24 hours, stores them for up to 72 hours, and reserves up to 2% of drive capacity.
- Do you need it? If you frequently tweak core OS settings or test experimental software, it offers a fast, comprehensive safety net. However, if storage is tight and you already maintain regular cloud sync or external backups, disabling this feature eliminates redundant coverage.
5. Reserved Storage: Protecting Core Updates
Many consider Reserved Storage wasted space that cannot be easily cleared. However, Microsoft reserves this partition (typically 7 to 10 GB) to ensure major operating system updates do not fail mid-installation due to unexpected disk exhaustion.
When disk capacity runs critically low, Windows temporary processes and servicing tasks utilize this reserved buffer. Disabling it may temporarily increase your reported free space, but it often delays the problem until the next major update fails. Unless storage is completely depleted, keeping Reserved Storage enabled is the safest approach.
Quick Reference: Managing Windows Safety Features
| Feature | Recommended Action | Outcome |
hiberfil.sys | Reduce size or disable on desktop PCs via powercfg | Reclaims 20% to 40% of installed RAM capacity on disk |
pagefile.sys | Leave as System-managed | Maintains software stability and enables crash diagnostics |
| System Restore | Cap storage allocation (3% – 5%) | Retains rollback capabilities while preventing disk bloat |
| Point-in-Time | Disable if using automated external backups | Reclaims up to 2% of Windows 11 disk capacity |
| Reserved Storage | Keep enabled | Prevents update failures and system servicing errors |
Cleaning your SSD does not mean indiscriminately removing every large file in sight. The difference between a responsive system and a broken installation comes down to eliminating the safety nets you can easily replace elsewhere, while preserving the ones that keep you from having to reinstall Windows from scratch.
