Cannot set temp path to work in: The system cannot find the path specified
Lately I've been getting a few laptops here and there that will fail on the Apply Image step using our K2000.
Here's what I have found in the logs:
2022-10-31 09:44:56-0800 [debug] DeployWimFromNetwork: [Y:\wim\97\C_C.wim]
2022-10-31 09:44:56-0800 [info] Deploy Image - Start
2022-10-31 09:44:56-0800 [info] ...Creating temp dir: [C:\K2_2022-10-31_09-44-56]
2022-10-31 09:44:56-0800 [info] ...Deploy Directory: C:\
2022-10-31 09:44:56-0800 [info] ...Image File: Y:\wim\97\C_C.wim
2022-10-31 09:44:56-0800 [info] ...Image Dir: Y:\wim\97\
2022-10-31 09:44:56-0800 [info] ...Temp Directory: C:\K2_2022-10-31_09-44-56
2022-10-31 09:44:56-0800 [debug] ...DeployImage - RegisterCallback
2022-10-31 09:44:56-0800 [debug] ...DeployImage - CreateFile
2022-10-31 09:44:56-0800 [debug] ...DeployImage - GetAttributes
2022-10-31 09:44:56-0800 [debug] ...DeployImage - Check temp dir
2022-10-31 09:44:56-0800 [info] ...Creating temp directoryW: C
2022-10-31 09:44:56-0800 [debug] ...DeployImage - SetTempPath
2022-10-31 09:44:56-0800 [error] ...Cannot set temp path to work in: The system cannot find the path specified.
2022-10-31 09:44:57-0800 [info] Klonewin - Done, exit code: -1
To me this seems to indicate the temp directory "C:\K2_2022-10-31_09-44-56" either was not created properly or cannot be accessed for some reason.
What's strange is that I have encountered this issue on multiple laptop models and it happens randomly. Kace reports this return code on the screen when it fails - 4294967295
Any ideas on how to fix this?
Answers (1)
Sounds like a network issue,
I would recommend re-deploying with Direct Deployment enabled. (you can enable this per-image or globally from Settings > Control Panel).
Can you reproduce this on a VM? If not, might be a hardware\drivers issue.
Then again, it is best practice to use Direct Deploy from server, enable that in your image, remove the Debug logs checkmark, and try again.