Page 1 of 1

TBWinPE bootwim and Win7Re ?

PostPosted: Fri Jul 28, 2017 8:04 am
by Panagiotis
The new option /bootwim [wim] works fine.

But if I run a script with with /bootwim [wim] /run [script]
it boots in the winre but does not execute the script.
example
command for the bootwim
"C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\TBWinPE.exe" /bootwim "D:\Terabyte Backups\IFW.wim" /run "D:\Terabyte Backups\Restore.txt"

contents of Restore.txt
/r /d:#0x77BDFF70@0x1 /f:#0x99EFBC45@0x1:"\Terabyte Backups\System" /log:0 /rb:4

Do the scripts execute in Win7Re or is a feature for win 10 only?

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Fri Jul 28, 2017 11:11 am
by TeraByte Support(PP)
I assume the D: partition is on an MBR disk. I see an issue with that scenario on Windows 7 (it's being looked into). If you have a GPT disk in the system you could put the command file on one of its partitions and it should find it.

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Fri Jul 28, 2017 11:49 am
by Panagiotis
Thank you for the prompt reply.
Yes, both disks are mbr. I do have another one gpt.
So the problem is that the Win7Re cannot find the script? If I use a Win10Re from another system would work or is a problem with mbr disks?

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Fri Jul 28, 2017 1:48 pm
by TeraByte Support(PP)
Yes, the problem is that it doesn't find the script on MBR partitions. In my tests, I saw the issue with Windows 7/8.x on MBR partitions. The tests I ran with Windows 10 worked on both types, but the issue may still be present. Using a newer WIM base (Win10 on Win7, for example) wouldn't bypass the issue.

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Sat Jul 29, 2017 12:05 pm
by Panagiotis
Thank you Paul.
I tried it by moving the txt to the GPT partition and it worked.
I also manually modified the bootwim config file and replaced the volume id directory with the drive letter and this time run correctly.

Do you plan to add a boot wim to restore function in IFW? ( IFW creates a restore.cmd script in the image directory, then invokes "TBWinPE.exe" /bootwim /run restore.cmd, restore.cmd runs the restore command and then deletes the cmd and reboots.)
I'm sure that novice users would appreciate it.

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Sat Jul 29, 2017 3:51 pm
by Brian K
Panagiotis,

I'm using MBR Win10 and it works fine. Out of interest I tried using a drive letter and failed. How would you edit this?

[Options]
Status=1
ScriptFile=\\?\Volume{41ab2316-0000-0000-0000-100000000000}\TBWinRE_files\309re\000_val.txt

The script is in the D: drive in Windows and E: drive in TBWinRE.

Re: TBWinPE bootwim and Win7Re ?

PostPosted: Sat Jul 29, 2017 4:05 pm
by Brian K
Got it. This works.

[Options]
Status=1
ScriptFile=\\?\E:\TBWinRE_files\309re\000_val.txt