Error 2: The specified file cannot be found
Solved
Itoyami
-
onc -
onc -
Hello, good evening, I am taking the liberty of opening this post regarding a problem that has arisen a few days ago.
Indeed, now, when I want to install any software, a message appears displaying the following error:
The installation wizard could not create the folder
"C:\Users\...\AppData\Local\Temp\is-XXX.tmp".
Error 2: The system cannot find the file specified.
I have searched for twenty and still found nothing that could help me.
I have checked the permissions of my "Temp" folder and the permissions are correct.
I therefore need help and I am looking forward to a response.
Thank you.
Indeed, now, when I want to install any software, a message appears displaying the following error:
The installation wizard could not create the folder
"C:\Users\...\AppData\Local\Temp\is-XXX.tmp".
Error 2: The system cannot find the file specified.
I have searched for twenty and still found nothing that could help me.
I have checked the permissions of my "Temp" folder and the permissions are correct.
I therefore need help and I am looking forward to a response.
Thank you.
10 réponses
Hello
Ah, you didn't mention that... Funny how that works!
Try emptying your "Temp" folders.
That is: %userprofile%\AppData\Local\Temp and also C:\Windows\Temp
See you!
--
If my answer was helpful, a little thank you is very nice...
Is it resolved? The green button at the top is great!
Let he who has never opened a user manual throw me the first mouse ;-)
Ah, you didn't mention that... Funny how that works!
Try emptying your "Temp" folders.
That is: %userprofile%\AppData\Local\Temp and also C:\Windows\Temp
See you!
--
If my answer was helpful, a little thank you is very nice...
Is it resolved? The green button at the top is great!
Let he who has never opened a user manual throw me the first mouse ;-)
Hello
So open a command prompt as Admin (right-click, again...)
And type
Restart and test again.
See you+
If the answer helped you, a little thank you is super nice...
Is it resolved? The green button at the top, that's great!
Let those who have never opened a user manual throw me the first mouse ;-)
So open a command prompt as Admin (right-click, again...)
And type
sfc /scannow, validate and wait, read the result carefully to see if there were any repairs...
Restart and test again.
See you+
If the answer helped you, a little thank you is super nice...
Is it resolved? The green button at the top, that's great!
Let those who have never opened a user manual throw me the first mouse ;-)
Good evening again, I just performed the operation and a message appeared:
"Windows Resource Protection found corrupt files, but was unable to fix some of them.
For online repairs, details are included in the CBS log file located at the following location:
windir\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE switch."
I’m not quite sure what this means.. So if you have a solution, I’m all ears.
Thank you
"Windows Resource Protection found corrupt files, but was unable to fix some of them.
For online repairs, details are included in the CBS log file located at the following location:
windir\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE switch."
I’m not quite sure what this means.. So if you have a solution, I’m all ears.
Thank you
Hello
Yes, that's often the case.
To resolve this issue, you need to repair the system files using Microsoft’s Dism commands. There is a ready-made tool for this (Thanks to Kyhi) Image-Health (but the download link is broken), here is another personal download link French Image-Health.
Unzip it, preferably to the root, as it doesn't like too many sub/sub/subfolders.
Use option 1 and wait
Then option 2.
Finish with SFC again (option 7)
See you later
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top is great!
Let him who has never opened a user manual throw the first mouse ;-)
Yes, that's often the case.
To resolve this issue, you need to repair the system files using Microsoft’s Dism commands. There is a ready-made tool for this (Thanks to Kyhi) Image-Health (but the download link is broken), here is another personal download link French Image-Health.
Unzip it, preferably to the root, as it doesn't like too many sub/sub/subfolders.
Use option 1 and wait
Then option 2.
Finish with SFC again (option 7)
See you later
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top is great!
Let him who has never opened a user manual throw the first mouse ;-)
Very well, I just did that and here is what it shows:
For step one:
Error: 2
An error has occurred. The directory could not be created in the temporary folder C:\Users\...\AppData\Local\Temp\.
Ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
The specified file is not found.
0 file(s) copied.
Press any key to continue...
For step two:
Error: 2
An error has occurred. The directory could not be created in the temporary folder C:\Users\...\AppData\Local\Temp\.
Ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
The specified file is not found.
0 file(s) copied.
Press any key to continue...
PS: I would like to specify that I have the permissions for my temporary folder.
For step one:
Error: 2
An error has occurred. The directory could not be created in the temporary folder C:\Users\...\AppData\Local\Temp\.
Ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
The specified file is not found.
0 file(s) copied.
Press any key to continue...
For step two:
Error: 2
An error has occurred. The directory could not be created in the temporary folder C:\Users\...\AppData\Local\Temp\.
Ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
The specified file is not found.
0 file(s) copied.
Press any key to continue...
PS: I would like to specify that I have the permissions for my temporary folder.
Alright. :-(
Try opening a command prompt as Admin
Enter
What happens?
For your information: https://answers.microsoft.com/fr-fr/windows/forum/all/utilisation-de-dism-pour-r%C3%A9parer-windows-10/552df008-b9b2-4292-be94-2c3cfe539925
Try opening a command prompt as Admin
Enter
Dism /Online /Cleanup-Image /CheckHealth
What happens?
For your information: https://answers.microsoft.com/fr-fr/windows/forum/all/utilisation-de-dism-pour-r%C3%A9parer-windows-10/552df008-b9b2-4292-be94-2c3cfe539925
When entering the command above in an Admin Command Prompt, here’s what happens:
Error: 2
An error occurred. The directory could not be created in the temporary folder C:\Users\valle\AppData\Local\Temp\.
Please ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
Error: 2
An error occurred. The directory could not be created in the temporary folder C:\Users\valle\AppData\Local\Temp\.
Please ensure that the path to the temporary folder exists and that you have read/write permissions on the folder.
The DISM log file is located at C:\WINDOWS\Logs\DISM\dism.log
Do you have a Windows installation USB key?
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top, that's great!
Let him who has never opened a user manual throw the first mouse at me ;-)
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top, that's great!
Let him who has never opened a user manual throw the first mouse at me ;-)
Hello
The main thing is that you have resolved your issue.
See you!
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top, that's good!
Let him who has never opened a user manual throw the first mouse ;-)
The main thing is that you have resolved your issue.
See you!
--
If the answer helped you, a little thank you is really nice...
Is it resolved? The green button at the top, that's good!
Let him who has never opened a user manual throw the first mouse ;-)
Hello
Many software programs need full rights to install...
Try installing by right-clicking and choosing "Run as Administrator".
A+
--
If the answer helped you, a little thank you is very nice...
Is it resolved? The green button at the top is great!
Let he who has never opened a user manual throw the first mouse ;-)
Many software programs need full rights to install...
Try installing by right-clicking and choosing "Run as Administrator".
A+
--
If the answer helped you, a little thank you is very nice...
Is it resolved? The green button at the top is great!
Let he who has never opened a user manual throw the first mouse ;-)