How rsefch123/ediskfreeze works
EDiskFreeze is Windows kernel-level reboot-to-restore software: it protects the physical disk containing Windows and returns it to a configured baseline after restart. The main user workflow is to use the console to manage protection through the driver's IRP interface; the initializer separately discovers the system disk, prepares a differential partition, and writes its location to the registry. The driver’s disk-hook and IRP-helper modules are distinct internal layers. README statements support the console-to-driver relationship; the service’s detailed role and unsampled driver internals are not established by the excerpts.
Main entry points: EDiskFreeze_Cppinit.cpp Disk initializer · hello.cpp Kernel driver · EDiskFreezeU.e Management console · diskhook.cpp IRP interface
Components 12
Disk setup
- Disk initializer
Init/EDiskFreeze_Cppinit.cpp - Driver parameters
User control
- Management console
UserModeService/EDiskFreezeU.e - User-mode service
UserModeService/EDiskFreezeS.e - Protection UI
UserModeService/EDiskFreezeSSM_Protect.e
Kernel protection
- Kernel driver
Drivers/hello.cpp - IRP interface
Drivers/h/diskhook.cpp - Disk hooks
Drivers/h/diskhook.cpp - IRP file helpers
Drivers/h/IrpFile.cpp
Other components
- Administrator
- Windows DiskPart
- System physical disk
Connections 9
- Administrator → Disk initializer: runs setup
README.md - Disk initializer → Windows DiskPart: prepares partition
Init/EDiskFreeze_Cppinit.cpp - Disk initializer → Driver parameters: writes parameters
Init/EDiskFreeze_Cppinit.cpp - Administrator → Management console: manages protection
README.md - Management console → IRP interface: sends IRPs
README.md - IRP interface → Kernel driver: dispatches requests
- Kernel driver → Disk hooks: handles disk I/O
- Kernel driver → IRP file helpers: uses IRP helpers
- Disk hooks → System physical disk: redirects writes