TBWinPE bootwim and Win7Re ?

User discussion and information resource forum for Image products.
Post Reply
Panagiotis
Posts: 40
Joined: Fri Mar 02, 2012 8:28 pm

TBWinPE bootwim and Win7Re ?

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

Re: TBWinPE bootwim and Win7Re ?

Post 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.
Panagiotis
Posts: 40
Joined: Fri Mar 02, 2012 8:28 pm

Re: TBWinPE bootwim and Win7Re ?

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

Re: TBWinPE bootwim and Win7Re ?

Post 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.
Panagiotis
Posts: 40
Joined: Fri Mar 02, 2012 8:28 pm

Re: TBWinPE bootwim and Win7Re ?

Post 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.
Brian K
Posts: 2213
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: TBWinPE bootwim and Win7Re ?

Post 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.
Brian K
Posts: 2213
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: TBWinPE bootwim and Win7Re ?

Post by Brian K »

Got it. This works.

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