I upgraded to Winodws 11 24H2, and I've been using Task Scheduler to create weekly drive images of six partitions. This is a typical script in a batch file:
"H:\Program Files\TeraByte Drive Image\imagew64.exe" /wait /b /uy /um /d:w4-0x2 /f:"T:\Z690M-A\$~YYYY$-$~MM$-$~DD$\$~YYYY$-$~MM$-$~DD$-Win11ProA" /v /vb /rb:64
Last night it didn't run, so I tried running it manually. I get two errors, "The path doesn't exist, do you want to create it?" I click OK, and get "Could not create path". These scripts worked flawlessly in 23H2, but not in 24H2.
IFW script can't create path in Windows 24H2
-
- Posts: 1740
- Joined: Fri Aug 12, 2011 12:51 am
Re: IFW script can't create path in Windows 24H2
Have you checked that the drive is accessible normally in Windows? If not, and the drive is external (USB, for example), it may just need to be disconnected and reconnected or even powered off and back on to show up.
Re: IFW script can't create path in Windows 24H2
Internal drives, same setup I've been using for years, same batch file. The only difference is upgrading from Windows 11 Pro 23H2 to Windows 11 Pro 24H2. IFW works from the GUI fine, and if I create the subfolder (such as 2025-02-23) IFW uses that as a target without issue.
The issue is that the script won't/can't create the folder.
The issue is that the script won't/can't create the folder.
Re: IFW script can't create path in Windows 24H2
/d:w4-0x2
This looks strange. Try creating the script again.
This looks strange. Try creating the script again.
-
- Posts: 171
- Joined: Mon Apr 17, 2023 4:08 am
Re: IFW script can't create path in Windows 24H2
Sounds like a task permissions issue...
Re: IFW script can't create path in Windows 24H2
I have tried letting IFW write the script, then added the folder creation, but it still can't create the folder. If it were a permission issue, it seeems that it wouldn't write to the folder I create, either, since it's on the same drive. These same folders get copied to my NAS by a Robocopy script run by Task Scheduler, and that works just fine.
Re: IFW script can't create path in Windows 24H2
bbearren,
Can you post the script? I'll try it on my computer. I have Win11 24H2.
Can you post the script? I'll try it on my computer. I have Win11 24H2.
Re: IFW script can't create path in Windows 24H2
The batch file runs six. One of them is in the OP.
Re: IFW script can't create path in Windows 24H2
I ran your initial script after correcting the syntax error. It was fine on my computer. The image and folder were created.
Re: IFW script can't create path in Windows 24H2
What syntax error?