The error message translates to "The specified path not found" which is strange because this function creates a temporary inf file in Windows temporary directory and then calls a system function on this file. So, it appears that something on your machine has removed the temporary inf before the code is able to use it.
Do you have any antivirus machine that may be responsible for such behavior?
Can you try running "VeraCrypt Format.exe" manually by right clicking on it and then choosing "run as an administrator": after that choose system encryption and see if you have the same error.
Anyway, a software on your machine is removing a temporary file that we are using in the encryption process and we can't do anything against this on our side.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oops my temp and tmp was set (by me) to location that does not exist with Im disk toolkit to make programs use RAMdisk as a temp place. I changed tmp and temp back to defaults and now it works just fine. Thanks Mounir.
Source VeraCrypt::Elevator::RegisterFilterDriver:541
Creating and using non system volumes works.
Windows 7
See the videos for more information.
The error message translates to "The specified path not found" which is strange because this function creates a temporary inf file in Windows temporary directory and then calls a system function on this file. So, it appears that something on your machine has removed the temporary inf before the code is able to use it.
Do you have any antivirus machine that may be responsible for such behavior?
Can you try running "VeraCrypt Format.exe" manually by right clicking on it and then choosing "run as an administrator": after that choose system encryption and see if you have the same error.
Anyway, a software on your machine is removing a temporary file that we are using in the encryption process and we can't do anything against this on our side.
Oops my temp and tmp was set (by me) to location that does not exist with Im disk toolkit to make programs use RAMdisk as a temp place. I changed tmp and temp back to defaults and now it works just fine. Thanks Mounir.