Menu

G drive ignored in boot script

Help
2015-07-02
2015-07-03
  • Jamie R Chinn

    Jamie R Chinn - 2015-07-02

    I changed the default script to defrag G drive instead of C drive. C drive is defragged on reboot, G drive ignored. C drive is a SSD which I want left alone.
    OS: Win7 64bit Ultimate. Drivers and Windows Update current. Problem noticed with ultradefrag-6.0.2.bin.amd64.exe and ultradefrag-6.1.0.bin.amd64.exe.
    Last part of ud-boot-time.cmd:

    ...
    udefrag g:
    boot-off
    exit
    

    edit: by default, script saved in c:\windows\system32
    (I don't know if this is the correct place. Docs not clear on this.)
    Edit again: Just noticed the "must be saved in unicode (UTF-16)"
    How is this done in windows? Notepad++ only shows UTF-8.
    Notepad++ v5.9.6.2 (UNICODE), Encoding set to UCS-2 Little Endian

    edit: Apparently, UCS-2 LE in Notepad++ works the same as UTF-16.

     

    Last edit: Jamie R Chinn 2015-07-03
  • Jamie R Chinn

    Jamie R Chinn - 2015-07-03
      UltraDefrag 6.1.0 log file
      Windows NT 6.1
    

    If you'd like to report a bug, attach this file to your bug report please:

    http://sourceforge.net/tracker/?group_id=199532&atid=969870

    2015-07-03 13:21:10.763 INFO:  winx_set_dbg_log: log_path = \??\G:\p\UltraDefrag\logs\boot-startup-phase.log
    2015-07-03 13:21:10.981 INFO:  winx_get_windows_boot_options:  NOEXECUTE=OPTIN - 48
    2015-07-03 13:21:10.981 ERROR: winx_fopen: cannot open \??\C:\Windows\pending-boot-off: 0xc0000034 status: object name not found
    

    Edit: I found out that ud-boot-time.cmd file was corrupt although it looked ok in notepad++. Created new file with copied text from help. Works ok now. Thanks.
    I am now using Notepad2 64 bit, to edit my .cmd files by default. Notepad++ is a 32bit program which causes files written to the system32 directory to really go to syswow64 directory.

     

    Last edit: Jamie R Chinn 2015-07-03

Log in to post a comment.