IFW script can't create path in Windows 24H2

User discussion and information resource forum for TeraByte Drive Image products, including TBNetManage.
bbearren
Posts: 61
Joined: Sun Jun 17, 2012 2:02 pm

IFW script can't create path in Windows 24H2

Post by bbearren »

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.
TeraByte Support(PP)
Posts: 1740
Joined: Fri Aug 12, 2011 12:51 am

Re: IFW script can't create path in Windows 24H2

Post by TeraByte Support(PP) »

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.
bbearren
Posts: 61
Joined: Sun Jun 17, 2012 2:02 pm

Re: IFW script can't create path in Windows 24H2

Post by bbearren »

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.
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: IFW script can't create path in Windows 24H2

Post by Brian K »

/d:w4-0x2

This looks strange. Try creating the script again.
OldNavyGuy
Posts: 171
Joined: Mon Apr 17, 2023 4:08 am

Re: IFW script can't create path in Windows 24H2

Post by OldNavyGuy »

Sounds like a task permissions issue...
bbearren
Posts: 61
Joined: Sun Jun 17, 2012 2:02 pm

Re: IFW script can't create path in Windows 24H2

Post by bbearren »

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.
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: IFW script can't create path in Windows 24H2

Post by Brian K »

bbearren,

Can you post the script? I'll try it on my computer. I have Win11 24H2.
bbearren
Posts: 61
Joined: Sun Jun 17, 2012 2:02 pm

Re: IFW script can't create path in Windows 24H2

Post by bbearren »

The batch file runs six. One of them is in the OP.
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: IFW script can't create path in Windows 24H2

Post by Brian K »

I ran your initial script after correcting the syntax error. It was fine on my computer. The image and folder were created.
bbearren
Posts: 61
Joined: Sun Jun 17, 2012 2:02 pm

Re: IFW script can't create path in Windows 24H2

Post by bbearren »

What syntax error?
Post Reply