Image For Windows

Discussion in 'backup, imaging & disk mgmt' started by Stigg, Apr 15, 2014.

  1. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,844
    hi @Brian K
    but i don't want to enarlge w10 of 715395 MB of Free Space
    i would like to enlarge w10 of 100GB
    what should i do ?
    slide the winre partion to the end
    increase the w10 partition of 100GB
    and how can i move the winre partition after w10?
    thanks Brian!
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    mantra, Slide the 868 MB partition by 100000 MB.
     
  3. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    5,844
    hi @Brian K
    I will do it !
    thanks Brian!
     
  4. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    I just tried updating to 3.34, and I cannot get my custom programs to work.
    IFW 3.34 works, but no custom programs when I boot it.

    I'll keep looking.
     
  5. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    I just checked and mine work.

    Did you put BuildScript.cmd in the config folder?
    I suggest using the same TBWinPE.ini as you used for 3.33. I copy mine every time.
     
  6. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    Hi Brian.

    It's working now.

    I know what I did wrong.
    I have been adding custom programs to my bootable media for some time now using Method 2 in this Knowledge Base article.
    The path it suggests for custom programs is Path=%TBDrive%, and that works fine for me for creating custom bootable media. But it doesn't work for Boot.wim. At least not when I do it.
    But Path=%ProgramFiles% works. You suggested that some time ago, but I didn't notice at the time that there was a difference.

    So, my menu items in TBLauncher.ini for creating bootable media are:
    Code:
    [Menu_Item_11]
    Name=Explorer++
    Path=%TBDrive%\CustomProg\Explorer++\Explorer++.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_12]
    Name=Snapshot
    Path=%TBDrive%\CustomProg\Snapshot\snapshot64.exe
    WorkingDir=
    Parameters=
    Icon=0

    And for Boot.wim:
    Code:
    [Menu_Item_11]
    Name=Explorer++
    Path=%ProgramFiles%\Explorer++\Explorer++.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_12]
    Name=Drive Snapshot
    Path=%ProgramFiles%\Snapshot\snapshot64.exe
    WorkingDir=
    Parameters=
    Icon=0
    Also, when I make bootable media, as per Method 2, I manually copy my custom programs into the ISO folder and leave them there.
    I have noticed that this Boot.wim method that you suggested to me leaves the custom programs in the TBWinRE_Files folder and copies them with the script, and after building they are gone. o_O
    Could I add the custom programs into the ISO folder and leave them there when creating a custom Boot.wim, or won't that work?
     
    Last edited: Nov 12, 2019
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    Afraid not. Anything outside the boot.wim won't be used.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    You don't need to use your
    Path=%TBDrive%\CustomProg\Snapshot\snapshot64.exe
    method.

    The
    Path=%ProgramFiles%\Snapshot\snapshot64.exe
    method should work for boot.wim and a UFD.
     
  9. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    OK. Thanks, Brian.
     
  10. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    If you like, you can add extra portable apps to your UFD (TBData folder or root) and access them from Explorer++.
     
  11. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    Yes, that's a good idea.
    That makes it simple to just double click the executables.

    I think there are portable app menus available so you can have a little menu of your portable applications. It has been a long time since I used one though.
     
  12. Peter2150

    Peter2150 Global Moderator

    Joined:
    Sep 20, 2003
    Posts:
    20,590
    All this seems like a lot of work to me. I just use the Stelec USB winpe 10, and copy image64.exe and ifw.ini from the ifw install folder and away it goes. Like having windows IFW on usb
     
  13. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,418
    Location:
    Under a bushel ...
    Forgot I had bought a UFD to try this out, will give it a go soon.
     
  14. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    You can even run IFW from a Win7, 8 or 10 boot disk.
     
  15. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    I like the fact that I don't have to use any external boot media, just like you can do with Reflect.
     
  16. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    Thanks @Brian K

    I used this script again to update the boot wim recovery environment to v3.35. All good.
    It only takes a few minutes once you know what you're doing. ;)

    Here a couple of shortcuts I made to streamline the process.

    • Copy and replace TBWinPE.ini to new version folder.
    • Copy and replace config folder to new version folder.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    Hadron, I do the same.

    I then copy the ISO to my SSD so I can boot TBWinRE from the SSD.

    Code:
    sub main()
     ext("open fs 0: 0 0x0E")
     ext("RD 0:\ /s /y")
     ext("dir 0:\")
     printl(" ")
     ext("copy D:\TBWinRE_files\335re\ISO\* 0:\ /s /y")
     ext("set vol TBWinPE335 0:")
     printl(" ")
     ext("dir 0:\")
     printl(" ")
     ext("close fs 0:")
    end sub
     
  18. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    Brian. Do you mean, copy the ISO folder to your SSD?
     
  19. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    Correct, copy the contents of the ISO folder.
     
  20. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    Do you have a dedicated SSD for that?

    Otherwise, I am already doing a similar thing.

    PS: I didn't know about those batches you posted in the other thread.
    One has a purge function. I'll have to look into it.
     
    Last edited: Dec 16, 2019
  21. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    No, it's on the same SSD along with about 20 other OS. I'm using BootIt to boot these OS and TBWinRE.
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    Which batch file?
     
  23. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    IFWRotate

     
  24. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    1,778
    This is a strange instruction. It seems to contradict itself.
    It says: In all cases, omit the trailing backslash, even for root directories (e.g. C: or D:
    Then the example has the backslash.

     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    11,300
    Location:
    NSW, Australia
    It's my favourite. I use it twice daily on my main computer.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.