The folder must exist with proper permissions (SYSTEM must have write access). Also, the pagefile must be on the same drive if you are writing a kernel/full dump – otherwise the dump will fail.

Even when properly configured, Windows may fail to generate minidump files due to the following system constraints: