TeraByte Unlimited products - standard and non-standard uses

Discussion in 'backup, imaging & disk mgmt' started by Mr.X, Aug 17, 2024.

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    If you want to add some apps or programs to the installed WinRE wim file so you can press Shift + Restart then enter into the Recovery Environment (RE) along with Terabyte's IFW, edit both BuildScript.cmd file and TBLauncher.ini from TBWinPE utility.

    01.png

    02.png

    03.png

    04.png

    05.png


    BuildScript.cmd
    Code:
    @echo off
    setlocal enableextensions enabledelayedexpansion
    
    :: This script will be run during the build process to handle custom
    :: build operations.
    
    :: ----------------------------------------------------------------------------
    :: Add script commands after this line
    
    echo BuildScript running...
    
    robocopy "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\Drive Snapshot" "%TBWinPE_MountPath%\Program Files\Drive Snapshot" /MIR
    
    
    robocopy "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\Explorer++" "%TBWinPE_MountPath%\Program Files\Explorer++" /MIR
    
    
    robocopy "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\GSmartControl" "%TBWinPE_MountPath%\Program Files\GSmartControl" /MIR
    
    
    robocopy "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\Hasleo Backup Suite" "%TBWinPE_MountPath%\Program Files\Hasleo Backup Suite" /MIR
    
    
    robocopy "C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\Keyboard Layout" "%TBWinPE_MountPath%\Program Files\Keyboard Layout" /MIR
    

    TBLauncher.ini (notice the colored text, it's important)
    Code:
    ; Lines that begin with ; are comments
    ; Comments must exist entirely on their own lines
    
    [Options]
    ; Valid modes are: WinRE, WinPE, IFW
    ; WinRE starts the System Recovery Options program if found, otherwise IFW
    ; WinPE starts IFW
    ; IFW starts IFW with the parameters specified by the IFWModeParameters option
    Mode=WinPE
    
    ; Run WinPE initialization (wpeinit) after booting (0=disabled, 1=enabled)
    ; If disabled, wpeinit can be run from the File menu
    RunWpeinit=0
    
    ; Run network initialization after booting (0=disabled, 1=enabled)
    ; If disabled, network initialization can be run from the File menu
    RunNetworkInit=1
    
    ; Disable Windows firewall. This is required to use multicasting.
    ; (0=firewall enabled, 1=firewall disabled)
    DisableFirewall=0
    
    ; Run initialization programs in background (0=disabled, 1=enabled)
    BackgroundInit=1
    
    ; IFW parameters for IFW mode
    IFWModeParameters=
    
    ; Searches for the TBWinPE/RE boot media drive after booting (0=disabled, 1=enabled)
    ; If enabled, TBLauncher will search for the boot media. If found the environment
    ; variable %TBDrive% will be set to the drive letter. Additionally, if the media
    ; contains \TBData\TBLauncher.ini it will be used instead of the INI file included
    ; in the build (%TBDrive% can be used for program paths, if desired). If the media
    ; contains \TBData\autorun.cmd it will be run automatically.
    FindBootDrive=0
    
    ; Specifies the maximum number of seconds (up to 20) to search for the boot drive.
    ; Applies only when FindBootDrive is enabled.
    MaxSearchTime=8
    
    ; Search for updated versions of the TeraByte programs (0=disabled, 1=auto-update, 2=ask user)
    ; After booting, if option not disabled, TBLauncher will search the specified build paths
    ; and default installation paths for the TeraByte programs (IFW, TBIView, TBIMount, TBOSDT).
    ; If a newer version is found it will be used instead of the version included in the build
    ; (user will be asked first if 2 specified).
    ; --WARNING-- It is recommended to update the boot media when you update Image for Windows.
    ; If you rely on this option and the drive containing the updated versions is not accessible
    ; (e.g. blank, corrupted, etc.) the search will fail and you may not be able to access your
    ; backups using the older version included in the build.
    UpdatePrograms=0
    
    ; Enables the TBLauncher window to be transparent when closed (inactive).
    ; Valid values are 0 - 4, with 0 being opaque (default), 1 - 4 increasing transparency.
    ClosedTransparency=0
    
    ; Creates log file (0=disabled, 1=enabled)
    Log=0
    
    ; Keeps TBLauncher on top of other windows (0=disabled, 1=enabled)
    ; Note: It's recommended to leave this option enabled.
    AlwaysOnTop=1
    
    ; Controls the following accessibility options:
    ; 0 = No accessibility programs run on startup
    ; 1 = Run Narrator
    ; 2 = Run OSK (On-Screen Keyboard)
    ; 3 = Run both Narrator and OSK
    ; Note: Narrator is only supported in TBWinRE based on Windows 10 1703 or later.
    AccessibilityOpts=0
    
    ; Opens TBLauncher when mouse moves over its closed state window (0=disabled, 1=enabled)
    ; Note: Enabling this option will also enable AlwaysOnTop.
    MouseOver=1
    
    ; Closes TBLauncher when mouse leaves its open state window (0=disabled, 1=enabled)
    ; Note: This option only applies when MouseOver is enabled.
    MouseLeave=1
    
    ; Selects the style of the TBLauncher window
    ; 0 = Default
    ; 1 = Small (smaller closed state window)
    Style=0
    RunWiFiInit=0
    
    [Menu]
    ; Number of menu items to process. If the program for the item isn't found, the item is ignored.
    ItemCount=30
    
    ; Maximum number of launch menu items to display.
    ; Valid values: 6 to 24 (default is 6)
    DisplayCount=6
    
    [Menu_Item_1]
    Name=Image for Windows
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\imagew.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_2]
    Name=TBI View
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TBIView\tbiview.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_3]
    Name=TBI Mount
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TBIView\tbimount.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_4]
    Name=TeraByte OSD Tool
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw.exe
    Path64=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw64.exe
    WorkingDir=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\scripts
    Parameters=
    Icon=;206
    
    [Menu_Item_5]
    Name=OSDTOOL Script
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw.exe
    Path64=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw64.exe
    WorkingDir=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\scripts
    Parameters=osdtool.tbs
    Icon=;207
    
    [Menu_Item_6]
    Name=TBI Deployment Tool
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw.exe
    Path64=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw64.exe
    WorkingDir=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\scripts
    Parameters=tbidtool.tbs
    Icon=;213
    
    [Menu_Item_7]
    Name=CopyP2V Script
    Path=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw.exe
    Path64=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win\tbosdtw64.exe
    WorkingDir=%ProgramFiles%\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\scripts
    Parameters=copyp2v.tbs
    Icon=;208
    
    [Menu_Item_8]
    Name=Notepad
    Path=%SystemRoot%\System32\notepad.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_9]
    Name=Command Prompt
    Path=%SystemRoot%\System32\cmd.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_10]
    Name=Task Manager
    Path=%SystemRoot%\System32\taskmgr.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_11]
    Name=Drive Snapshot
    Path64=%ProgramFiles%\Drive Snapshot\snapshot64.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_12]
    Name=Explorer++
    Path64=%ProgramFiles%\Explorer++\Explorer++.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_13]
    Name=GSmartControl
    Path64=%ProgramFiles%\GSmartControl\gsmartcontrol.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_14]
    Name=Hasleo Backup Suite
    Path64=%ProgramFiles%\Hasleo Backup Suite\bin\AppLoader.exe
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_15]
    Name=English (en-US: United States)
    Path64=%ProgramFiles%\Keyboard Layout\setkeyboardlayout_en-US.cmd
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_16]
    Name=Spanish (es-ES_tradnl: Spanish)
    Path64=%ProgramFiles%\Keyboard Layout\setkeyboardlayout_es-ES_tradnl.cmd
    WorkingDir=
    Parameters=
    Icon=0
    
    [Menu_Item_17]
    Name=Spanish (es-MX: Latin American)
    Path64=%ProgramFiles%\Keyboard Layout\setkeyboardlayout_es-MX.cmd
    WorkingDir=
    Parameters=
    Icon=0
    
    When you're done click Next a couple of times then you get to:
    06.png

    07.png



    Note:
    I put my additional programs in:
    C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\tbwinre\MyApps\
    although you can create such folder anywhere you want and name it whatever you like.
    Within such folder you must create subfolders for each additional program.

    Of course, your apps must have or be capable of portability :cool:




    Screenshots:

    01.jpg

    02.jpg

    20240820_210136.jpg
     
    Last edited: Aug 20, 2024
  2. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,715
    Location:
    Location Unknown
    Excellent tutorial! That'll be very useful, and it can streamline PE since you won't need a separate build for IFW or HBS or whatever you use.
     
  3. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,535
    Location:
    U.S.A. (South)
    Made notes on this. Thanks for detailing the procedure. Very Good Tutorial!
     
  4. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Thanks, later today I'm going to edit the tutorial to incorporate Robocopy in place of Copy.

    Also, with robocopy there's no need for makedir (md) command.
     
    Last edited: Aug 24, 2024
  5. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Edited first post to reflect changes in BuildScript.cmd and TBLauncher.ini, incorporating robocopy and GSmartControl, withdrawing copy and Q-Dir.
    Obviously, you may add any portable program.

    If someone knowledgeable of robocopy thinks the /MIR switch is not appropriate for such task, he is welcome to advise better.
     
  6. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    I'd use /MIR
     
  7. Libraman

    Libraman Registered Member

    Joined:
    Apr 26, 2016
    Posts:
    255
    Excellent!! Thanks :thumb:
     
  8. Raza0007

    Raza0007 Registered Member

    Joined:
    Mar 30, 2009
    Posts:
    1,847
    Location:
    USA
    Thanks for this wonderful info.
     
  9. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
  10. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,715
    Location:
    Location Unknown
    Two things:

    1. As usual, IFW is being a pain. I can't even modify the installed WinRE. For now, I can't do this method.
    b. It might be worth it to add tbosdtw64 to TBLauncher. What I do, is just combine the "scripts' and "win" directories, since that's all I have use for, just to take it easier.

    Screenshot 2024-08-17 180057.png
     
  11. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    What type of user account you are?
    Admin or Standard?
    If it's standard you could try to run IFW as admin.

    Btw how did you get a dark theme for IFW?
     
  12. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,715
    Location:
    Location Unknown
    It's an admin account. I should use admin, but I find it easier to restrict what I don't want rather than use a standard account.
    It's "Pure Black Full Theme Win11UPDATE15" from cleodesktop.
     
  13. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Thanks @Brian K for pointing out my error in the first post, it's Shift not Ctrl.
    LOL
     
  14. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Looks great thank you.
     
  15. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    I've got an issue with GSmartControl.


    If I launch it from TBLauncher menu
    01.jpg


    I get:
    02.jpg

    03.jpg

    04.jpg


    When I launch it from the main executable browsing to the path using Explorer++, it launches just fine:
    05.jpg

    06.jpg
     
    Last edited: Aug 20, 2024
  16. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    Mr.X,

    Can you try this from a command prompt in TBWinRE...

    CD /d X:\Program Files\GSmartControl

    then

    start "" gsmartcontrol.exe

    Does that work or not?
     
    Last edited: Aug 21, 2024
  17. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Brian,

    It starts with failure.
    Code:
    Microsoft Windows [Versión 10.0.22621.2861]
    (c) Microsoft Corporation. Todos los derechos reservados.
    
    X:\Windows\System32>CD /d X:\Program Files\GSmartControl
    
    X:\Program Files\GSmartControl>start "" gsmartcontrol.exe
    
    X:\Program Files\GSmartControl>
    <dump>  [app] Application options:
    <dump>  [app]   locale: 1
    <dump>  [app]   version: 0
    <dump>  [app]   hide_tabs: 1
    <dump>  [app]   scan: 1
    <dump>  [app]   arg_add_virtual: [empty]
    <dump>  [app]   arg_add_device: [empty]
    <dump>  [app]   arg_gdk_scale: nan
    <dump>  [app]   arg_gdk_dpi_scale: nan
    <dump>  [app] LibDebug options:
    <dump>  [app]   levels_enabled: 11111
    <dump>  [app]   debug_colorize: false
    <dump>  [app] {anonymous}::app_init_config(): Global config file: "gsmartcontrol.conf"
    <dump>  [app] {anonymous}::app_init_config(): Local config file: "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    <dump>  [app] {anonymous}::app_init_config(): Old local config file: "\gsmartcontrol.conf"
    <dump>  [rconfig] /                    [3] /
    config               [4] /config
    default              [4] /default
    <info>  [rconfig] Setting autosave config file to "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    <info>  [rconfig] Starting config autosave with 180 sec. interval.
    <dump>  [gtk] Collecting capable appnames: 0ms
    <dump>  [gtk] Allocating hashtables:...... 0ms
    <dump>  [gtk] Reading capable apps:        0ms
    <dump>  [gtk] Reading URL associations:... 0ms
    <dump>  [gtk] Reading extension assocs:    0ms
    <dump>  [gtk] Reading exe-only apps:...... 0ms
    <dump>  [gtk] Reading classes:             15ms
    <dump>  [gtk] Reading UWP apps:            16ms
    <dump>  [gtk] Postprocessing:..............0ms
    <dump>  [gtk] TOTAL:                       31ms
    <info>  [app] Current C locale: C
    <info>  [app] Current C++ locale: C
    <dump>  [gtk] _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ÔÇÿgio-vfsÔÇÖ
    <dump>  [app] Current GTK theme: Adwaita
    
    (gsmartcontrol.exe:2220): Gdk-WARNING **: 08:06:37.936: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000b00a6) failed: 80263001
    <info>  [app] get_smartctl_binary(): Smartmontools installation not found in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartmontools\InstallLocation".
    <dump>  [default] ENTER: "Cmdex::execute()"
    <info>  [app] Cmdex::execute(): Executing "'smartctl-nc.exe' -V".
    <dump>  [default] EXIT:  "Cmdex::execute()"
    
    (gsmartcontrol.exe:2220): Gdk-WARNING **: 08:06:39.991: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000300da) failed: 80263001
    Microsoft Windows [Versión 10.0.22621.2861]
    "Microsoft" is not recognized as an internal or external command,
    operable program or batch file.
    
    X:\Program Files\GSmartControl>(c) Microsoft Corporation. Todos los derechos reservados.
    Microsoft was unexpected at this time.
    
    X:\Program Files\GSmartControl>
    X:\Program Files\GSmartControl>X:\Windows\System32>CD /d X:\Program Files\GSmartControl
    "X:\Windows\System32" is not recognized as an internal or external command,
    operable program or batch file.
    
    X:\Program Files\GSmartControl>
    X:\Program Files\GSmartControl>X:\Program Files\GSmartControl>start "" gsmartcontrol.exe
    "X:\Program" is not recognized as an internal or external command,
    operable program or batch file.
    
    X:\Program Files\GSmartControl>
    X:\Program Files\GSmartControl>X:\Program Files\GSmartControl>
    The syntax of the command is incorrect.
    X:\Program Files\GSmartControl><dump>  [app] Application options:
    <warn>  [gtk] ../glib-2.70.2/glib/gmain.c:5276: GetExitCodeProcess() failed: Controlador no válido.
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   locale: 1
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   version: 0
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   hide_tabs: 1
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   scan: 1
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   arg_add_virtual: [empty]
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   arg_add_device: [empty]
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   arg_gdk_scale: nan
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   arg_gdk_dpi_scale: nan
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app] LibDebug options:
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   levels_enabled: 11111
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app]   debug_colorize: false
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app] {anonymous}::app_init_config(): Global config file: "gsmartcontrol.conf"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app] {anonymous}::app_init_config(): Local config file: "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app] {anonymous}::app_init_config(): Old local config file: "\gsmartcontrol.conf"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [rconfig] /                    [3] /
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl>config               [4] /config
    "config" is not recognized as an internal or external command,
    operable program or batch file.
    
    X:\Program Files\GSmartControl>default              [4] /default
    "default" is not recognized as an internal or external command,
    operable program or batch file.
    
    X:\Program Files\GSmartControl><info>  [rconfig] Setting autosave config file to "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><info>  [rconfig] Starting config autosave with 180 sec. interval.
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Collecting capable appnames: 0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Allocating hashtables:...... 0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading capable apps:        0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading URL associations:... 0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading extension assocs:    0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading exe-only apps:...... 0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading classes:             15ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Reading UWP apps:            16ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] Postprocessing:..............0ms
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [gtk] TOTAL:                       31ms
    The system cannot find the file specified.
    <dump>  [default] ENTER: "Cmdex::stopped_cleanup()"
    <dump>  [default] ENTER: "Cmdex::unset_stop_timeouts()"
    
    <dump>  [default] EXIT:  "Cmdex::unset_stop_timeouts()"
    X:\Program Files\GSmartControl><error> [hz] Error: signal: Child exited with signal: unknown signal (-1)
    <info>  [app] Current C locale: C
    <dump>  [default] EXIT:  "Cmdex::stopped_cleanup()"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><info>  [app] Current C++ locale: C
    The system cannot find the file specified.
    <dump>  [default] ENTER: "Cmdex::stopped_cleanup()"
    
    X:\Program Files\GSmartControl><dump>  [gtk] _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ÔÇÿgio-vfsÔÇÖ
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [app] Current GTK theme: Adwaita
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl>
    X:\Program Files\GSmartControl>(gsmartcontrol.exe:2220): Gdk-WARNING **: 08:06:37.936: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000b00a6) failed: 80263001
    Was unexpected : at this time.
    X:\Program Files\GSmartControl><info>  [app] get_smartctl_binary(): Smartmontools installation not found in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartmontools\InstallLocation".
    
    (gsmartcontrol.exe:2220): Gdk-WARNING **: 08:07:47.303: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000400ce) failed: 80263001
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [default] ENTER: "Cmdex::execute()"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><info>  [app] Cmdex::execute(): Executing "'smartctl-nc.exe' -V".
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl><dump>  [default] EXIT:  "Cmdex::execute()"
    The system cannot find the file specified.
    
    X:\Program Files\GSmartControl>
    X:\Program Files\GSmartControl>(gsmartcontrol.exe:2220): Gdk-WARNING **: 08:06:39.991: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000300da) failed: 80263001
    
     
    Last edited: Aug 21, 2024
  18. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    A spectacular failure.

    Instead of...

    start "" gsmartcontrol.exe

    ...just try

    gsmartcontrol.exe

    Does that produce the same failure?
     
  19. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    start gsmartcontrol.exe
    Code:
    Microsoft Windows [Versión 10.0.22621.2861]
    (c) Microsoft Corporation. Todos los derechos reservados.
    
    X:\Windows\System32>CD /d X:\Program Files\GSmartControl
    
    X:\Program Files\GSmartControl>start gsmartcontrol.exe
    
    X:\Program Files\GSmartControl>
    <dump>  [app] Application options:
    <dump>  [app]   locale: 1
    <dump>  [app]   version: 0
    <dump>  [app]   hide_tabs: 1
    <dump>  [app]   scan: 1
    <dump>  [app]   arg_add_virtual: [empty]
    <dump>  [app]   arg_add_device: [empty]
    <dump>  [app]   arg_gdk_scale: nan
    <dump>  [app]   arg_gdk_dpi_scale: nan
    <dump>  [app] LibDebug options:
    <dump>  [app]   levels_enabled: 11111
    <dump>  [app]   debug_colorize: false
    <dump>  [app] {anonymous}::app_init_config(): Global config file: "gsmartcontrol.conf"
    <dump>  [app] {anonymous}::app_init_config(): Local config file: "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    <dump>  [app] {anonymous}::app_init_config(): Old local config file: "\gsmartcontrol.conf"
    <dump>  [rconfig] /                    [3] /
    config               [4] /config
    default              [4] /default
    <info>  [rconfig] Setting autosave config file to "X:\windows\system32\config\systemprofile\AppData\Roaming\gsmartcontrol\gsmartcontrol.conf"
    <info>  [rconfig] Starting config autosave with 180 sec. interval.
    <dump>  [gtk] Collecting capable appnames: 0ms
    <dump>  [gtk] Allocating hashtables:...... 0ms
    <dump>  [gtk] Reading capable apps:        0ms
    <dump>  [gtk] Reading URL associations:... 0ms
    <dump>  [gtk] Reading extension assocs:    0ms
    <dump>  [gtk] Reading exe-only apps:...... 0ms
    <dump>  [gtk] Reading classes:             31ms
    <dump>  [gtk] Reading UWP apps:            16ms
    <dump>  [gtk] Postprocessing:..............0ms
    <dump>  [gtk] TOTAL:                       47ms
    <info>  [app] Current C locale: C
    <info>  [app] Current C++ locale: C
    <dump>  [gtk] _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ÔÇÿgio-vfsÔÇÖ
    <dump>  [app] Current GTK theme: Adwaita
    
    (gsmartcontrol.exe:288): Gdk-WARNING **: 13:19:02.824: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000200c4) failed: 80263001
    <info>  [app] get_smartctl_binary(): Smartmontools installation not found in "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartmontools\InstallLocation".
    <dump>  [default] ENTER: "Cmdex::execute()"
    <info>  [app] Cmdex::execute(): Executing "'smartctl-nc.exe' -V".
    <dump>  [default] EXIT:  "Cmdex::execute()"
    
    (gsmartcontrol.exe:288): Gdk-WARNING **: 13:19:04.890: ../gtk/gdk/win32/gdkwindow-win32.c:527: DwmEnableBlurBehindWindow (00000000000200be) failed: 80263001
    <info>  [app] bool CmdexSync::execute(): execute_tick slot returned false, trying to stop the program.
    <dump>  [default] ENTER: "Cmdex::try_stop()"
    <error> [hz] Error: errno: Operation not permitted
    <dump>  [default] EXIT:  "Cmdex::try_stop()"
    <warn>  [app] bool CmdexSync::execute(): cmdex_.try_stop() returned false.
    <dump>  [default] ENTER: "Cmdex::set_stop_timeouts()"
    <dump>  [default] ENTER: "Cmdex::unset_stop_timeouts()"
    <dump>  [default] EXIT:  "Cmdex::unset_stop_timeouts()"
    <dump>  [default] EXIT:  "Cmdex::set_stop_timeouts()"
    <dump>  [default] ENTER: "cmdex_on_kill_timeout()"
    <dump>  [default] ENTER: "Cmdex::try_stop()"
    <error> [hz] Error: errno: No such process
    <dump>  [default] EXIT:  "Cmdex::try_stop()"
    
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    Thanks. Strange that you can successfully run the exe from Explorer++.
     
  21. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    Go figure.
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    I made a TBWinRE UFD containing GSmartControl. I got the same errors you described.
     
  23. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,535
    Location:
    U.S.A. (South)
    I finally found the only system i have with TBWin.

    I hope to build a RE installed WinRE wim file using the techniques in @Mr.X's tutorial here.

    sshot-2024-08-23-18-29-03.jpg
     
    Last edited: Aug 23, 2024
  24. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,257
    Location:
    .
    I'd like to see a winre.wim with patched binaries to have a dark theme :cool:
    Otherwise usual light theme is too bright for me.
     
    Last edited: Aug 24, 2024
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,560
    Location:
    NSW, Australia
    One item to check in the Builder.
    Settings, IFW WinRE tab.
    Allow BuildScript to run (script should not require user interaction)

    Make sure this item has a tick.
     
  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.