Hello. I want to use imdisk for pagefile to test some things.
When I run it via scheduler as imdisk -a -t vm -s 500M -m P: -p "/fs:ntfs /q /y" -o fix
I get a system error saying pagefile can't be mounted
when I configure the RAM drive via Toolkit (checkbox "Launch at Windows Startup")
I get the same error (see attachment)
My question here is how to use ImDisk to mount a disk suitable for pagefile.
When Windows starts, it checks for a pagefile on a drive that does not yet exists.
You have to create the pagefile after the drive is created (and so, not with the options of Windows). You can do that for instance with "swapadd", a commande line utility available here: https://ltr-data.se/opencode.html/#CmdUtils
Last edit: v77 2024-10-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. I want to use imdisk for pagefile to test some things.
When I run it via scheduler as
imdisk -a -t vm -s 500M -m P: -p "/fs:ntfs /q /y" -o fix
I get a system error saying pagefile can't be mounted
when I configure the RAM drive via Toolkit (checkbox "Launch at Windows Startup")
I get the same error (see attachment)
My question here is how to use ImDisk to mount a disk suitable for pagefile.
When Windows starts, it checks for a pagefile on a drive that does not yet exists.
You have to create the pagefile after the drive is created (and so, not with the options of Windows). You can do that for instance with "swapadd", a commande line utility available here:
https://ltr-data.se/opencode.html/#CmdUtils
Last edit: v77 2024-10-28