Bug ?

Issue #16 resolved
Former user created an issue

Hi, Under 8.1 Ancile version 1.6 don't work. After clic on "ancile.cmd" (even with administrator rights) a black window opens a short moment and that's all ! Thanks.

Comments (20)

  1. Matthew Linton

    Could you enable debugging in "config.ini" and post the output from the log file here?

    It would also be helpful if you ran Ancile directly from an Administrative prompt ("All Programs->Accessories", right click on "Command Prompt" and select "Run As Administrator" change directories to Ancile and run the command from there.) and pasted the screen output here as well.

    Thanks

  2. Former user Account Deleted

    Hi Matthew, How can I enable debugging ? I'm not familiar with this. In attach the screen output after running Ancile at the command prompt. BTW, I launched the program with success on my laptop with Win 7.Image 001.png

  3. Matthew Linton

    That's interesting, it's not even getting to the first output. I'm guessing it has something to do with non English Windows.

    Try this:

    1. Delete any old Ancile logs

    2. Open "config.ini" with a text editor (Like Notepad)

    3. Change

    #DEBUG=N
    

    to

    DEBUG=Y
    

    (To enable debugging)

    1. Save and close "config.ini"

    2. Open up "ancile.cmd" in a text editor

    3. Replace the first line

    @ECHO off
    

    with

    @REM ECHO off
    

    (To enable command echoing)

    1. Replace the last line
    PAUSE >nul
    

    with

    @REM PAUSE >nul
    
    1. Run the command "ancile.cmd > screen.out.log" (To create a log of screen output)

    2. Wait for ancile to finish

    This will create two ".log" files. Open them up in a text editor and copy and paste them as updates to this bug. I'm guessing the Ancile debug log might be empty, but "screen.out.log" should have something in it.

    Thanks

  4. Former user Account Deleted

    Oups... here is the screen.out.log :

    C:\Users\JEAN\Desktop\Ancile_1.6>SET APPNAME=Ancile

    C:\Users\JEAN\Desktop\Ancile_1.6>SET VERSION=1.6

    C:\Users\JEAN\Desktop\Ancile_1.6>FOR /F "usebackq tokens=1,2 delims==" %i IN (wmic os get LocalDateTime /VALUE 2>NUL) DO (IF '.%i.' == '.LocalDateTime.' SET ldt=%j )

    C:\Users\JEAN\Desktop\Ancile_1.6>SET UNIDATE=~0,4ldt:~4,2ldt:~6,2

    C:\Users\JEAN\Desktop\Ancile_1.6>SET CURRDIR=C:\Users\JEAN\Desktop\Ancile_1.6\

    C:\Users\JEAN\Desktop\Ancile_1.6>SET DATADIR=C:\Users\JEAN\Desktop\Ancile_1.6\data

    C:\Users\JEAN\Desktop\Ancile_1.6>SET LIBDIR=C:\Users\JEAN\Desktop\Ancile_1.6\lib

    C:\Users\JEAN\Desktop\Ancile_1.6>SET SCRIPTDIR=C:\Users\JEAN\Desktop\Ancile_1.6\scripts

    C:\Users\JEAN\Desktop\Ancile_1.6>SET TEMPDIR=C:\Users\JEAN\AppData\Local\Temp\Ancile

    C:\Users\JEAN\Desktop\Ancile_1.6>SET LOGFILE=C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-1.6_~0,4ldt:~4,2ldt:~6,2.log

    C:\Users\JEAN\Desktop\Ancile_1.6>SET USERCONFIG=C:\Users\JEAN\Desktop\Ancile_1.6\config.ini

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini" (FOR /F "eol=# delims=" %i in ('TYPE "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini"') DO (CALL SET %i ) ) ELSE ( ECHO User config "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini" does not exist.
    ECHO Using default configuration. )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET SYSTEMRESTORE=A )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET TIMESYNC=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODWINUPDATE=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET DISABLEWINUPDATE=N )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET UNINSTALLUPDATES=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET REMOTEREGISTRY=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET DISABLEIE=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODHOSTS=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODROUTES=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODFIREWALL=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>IF NOT "" == "32" (IF NOT "" == "64" ( SET SYSARCH=32
    wmic os get osarchitecture 2>&1 | findstr /I 64-bit 1>nul 2>&1 && SET SYSARCH=64 ) )

  5. Matthew Linton

    OK, it looks like it's failing when it calls "wmic"

    From the command prompt run :

    wmic os get osarchitecture
    

    copy the output of that command to this issue.

    Then

    1. Open "config.ini"

    2. Replace the line

    #SYSARCH=32
    

    with

    SYSARCH=32
    

    if your system is 32 bit.

    If you're running 64 bit Windows, replace the above line with

    SYSARCH=64
    

    Hopefully manually setting your system architecture will fix the issue

  6. Former user Account Deleted

    Command 'wmic' is not recognized... After editing the config.ini file and launching as admin, something finally happened and was fortunately stopped by Spy Shelter, so I was able to do the snapshot below. After giving permission to continue to Spy Shelter, this has somewhat continued, but only a few seconds. Nothing to do with the long process that happened under Win 7.Image 002.png

  7. Matthew Linton

    "wmic" not being found is very unusual.

    from a command prompt run "set > systemvar.log" and paste the contents of that file here. If windows can't find basic commands like "wmic" it hints that necessary default info is missing from your path.

    It may also be that SpyShelter is halting the execution of certain commands in Ancile, I'm not familiar with SpyShelter so I can't be sure. try disabling SpyShelter and see what happens. You may also want to try running Ancile in safe mode.

  8. Former user Account Deleted

    Sorry for the late answer ; i wasn’t at home and did not have access to the PC. 1) Disable Spy Shelter did not change anything at all ! 2) In safe mode, when you get to « This script requires admin privileges... press a key» … the window of the command prompt closes. 3) Here is systemvar.log : ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\JEAN\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=JEAN ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\JEAN LOCALAPPDATA=C:\Users\JEAN\AppData\Local LOGONSERVER=\JEAN MOZ_PLUGIN_PATH=C:\Program Files\Tracker Software\PDF Viewer\Win32\ NUMBER_OF_PROCESSORS=8 OnlineServices=Online Services OS=Windows_NT PATH=C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Seagate\SnapAPI\;C:\Program Files (x86)\AOMEI Backupper;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\EaseUS\Todo Backup\bin;C:\Program Files\Shield;C:\Users\JEAN\AppData\Local\Bandizip\7z PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC Platform=HPD PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=3a09 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\JEAN\AppData\Local\Temp TMP=C:\Users\JEAN\AppData\Local\Temp USERDOMAIN=JEAN USERDOMAIN_ROAMINGPROFILE=JEAN USERNAME=JEAN USERPROFILE=C:\Users\JEAN VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ windir=C:\WINDOWS

  9. Matthew Linton

    That's ok, I appreciate you sticking with this.

    I can see one potential issue here. It seems that your path variable is missing the default Windows values. On all Windows systems your PATH variable should have:

    • C:\Windows
    • C:\Windows\system32
    • C:\Windows\System32\Wbem
    • C:\Windows\System32\WindowsPowerShell\v1.0\

    These locations contain common commands that Ancile expects to be able to access without having to include their path.

    To add those directories, from an Administrator command run:

    SET PATH="%PATH%;C:\Windows;C:\Windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\"
    

    Then change directories to the Ancile Directory and run "ancile.cmd" from that Administrator command window.

    If Ancile runs correctly, you may want to permanently change your path to include those directories.

  10. Matthew Linton

    Well, it looks like we got further than we did before.

    What happens when you run:

    net session
    echo %ERRORLEVEL%
    
  11. Former user Account Deleted

    Here is the content of the file "testing.out.log" :

    C:\Users\JEAN\Desktop\Ancile_1.6>SET APPNAME=Ancile

    C:\Users\JEAN\Desktop\Ancile_1.6>SET VERSION=0.0b

    C:\Users\JEAN\Desktop\Ancile_1.6>echo This version of ancile is for testing only This version of ancile is for testing only

    C:\Users\JEAN\Desktop\Ancile_1.6>SET PATH=C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Seagate\SnapAPI\;C:\Program Files (x86)\AOMEI Backupper;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\EaseUS\Todo Backup\bin;C:\Program Files\Shield;C:\Users\JEAN\AppData\Local\Bandizip\7z;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0

    C:\Users\JEAN\Desktop\Ancile_1.6>systeminfo

    Nom de l'h“te: JEAN Nom du systŠme d'exploitation: Microsoft Windows 8.1 Version du systŠme: 6.3.9600 N/A version 9600 Fabricant du systŠme d'exploitation: Microsoft Corporation Configuration du systŠme d'exploitation: Station de travail autonome Type de version du systŠme d'exploitation: Multiprocessor Free Propri‚taire enregistr‚: Hewlett-Packard Company Organisation enregistr‚e: Hewlett-Packard Company Identificateur de produit: 00179-60718-71454-AAOEM Date d'installation originale: 10/12/2013, 06:30:23 Heure de d‚marrage du systŠme: 16/11/2016, 15:38:24 Fabricant du systŠme: Hewlett-Packard ModŠle du systŠme: p6-2416eb Type du systŠme: x64-based PC Processeur(s): 1 processeur(s) install‚(s). [01]ÿ: Intel64 Family 6 Model 58 Stepping 9 GenuineIntel ~3401 MHz Version du BIOS: AMI 8.15, 05/02/2013 R‚pertoire Windows: C:\WINDOWS R‚pertoire systŠme: C:\WINDOWS\system32 P‚riph‚rique d'amor‡age: \Device\HarddiskVolume1 Option r‚gionale du systŠme: fr-be;Fran‡ais (Belgique) ParamŠtres r‚gionaux d'entr‚e: fr-be;Fran‡ais (Belgique) Fuseau horaire: (UTC+01:00) Bruxelles, Copenhague, Madrid, Paris M‚moire physique totale: 16.339 Mo M‚moire physique disponible: 13.043 Mo M‚moire virtuelleÿ: taille maximale: 17.363 Mo M‚moire virtuelleÿ: disponible: 13.627 Mo M‚moire virtuelleÿ: en cours d'utilisation: 3.736 Mo Emplacements des fichiers d'‚change: C:\pagefile.sys Domaine: WORKGROUP Serveur d'ouverture de session: \JEAN Correctif(s): 383 Corrections install‚es. [01]: KB2899189_Microsoft-Windows-CameraCodec-Package [02]: KB2843630 [03]: KB2868626 [04]: KB2883200 [05]: KB2887595 [06]: KB2891214 [07]: KB2893294 [08]: KB2894852 [09]: KB2894856 [10]: KB2900986 [11]: KB2903939 [12]: KB2904440 [13]: KB2911106 [14]: KB2912390 [15]: KB2913152 [16]: KB2919355 [17]: KB2919394 [18]: KB2919442 [19]: KB2920189 [20]: KB2923528 [21]: KB2928680 [22]: KB2934504 [23]: KB2934520 [24]: KB2950153 [25]: KB2954879 [26]: KB2955164 [27]: KB2956575 [28]: KB2957390 [29]: KB2958262 [30]: KB2959626 [31]: KB2961072 [32]: KB2962140 [33]: KB2962409 [34]: KB2962806 [35]: KB2964718 [36]: KB2965142 [37]: KB2965500 [38]: KB2966826 [39]: KB2966828 [40]: KB2967917 [41]: KB2968296 [42]: KB2969817 [43]: KB2971203 [44]: KB2971239 [45]: KB2971850 [46]: KB2972103 [47]: KB2972213 [48]: KB2972280 [49]: KB2973114 [50]: KB2973201 [51]: KB2975061 [52]: KB2975719 [53]: KB2976536 [54]: KB2976627 [55]: KB2976897 [56]: KB2977292 [57]: KB2977629 [58]: KB2977765 [59]: KB2978041 [60]: KB2978122 [61]: KB2978126 [62]: KB2978668 [63]: KB2979573 [64]: KB2979576 [65]: KB2979582 [66]: KB2980654 [67]: KB2981580 [68]: KB2981655 [69]: KB2984006 [70]: KB2987107 [71]: KB2988948 [72]: KB2989647 [73]: KB2989930 [74]: KB2990967 [75]: KB2992611 [76]: KB2993100 [77]: KB2993651 [78]: KB2993958 [79]: KB2994290 [80]: KB2995004 [81]: KB2995388 [82]: KB2996799 [83]: KB2998174 [84]: KB2998527 [85]: KB2999226 [86]: KB3000850 [87]: KB3002885 [88]: KB3003057 [89]: KB3003667 [90]: KB3003743 [91]: KB3004150 [92]: KB3004361 [93]: KB3004365 [94]: KB3004394 [95]: KB3004545 [96]: KB3005607 [97]: KB3006137 [98]: KB3006178 [99]: KB3006226 [100]: KB3008188 [101]: KB3008627 [102]: KB3008923 [103]: KB3010788 [104]: KB3011780 [105]: KB3012199 [106]: KB3012235 [107]: KB3012702 [108]: KB3013172 [109]: KB3013531 [110]: KB3013538 [111]: KB3013769 [112]: KB3013791 [113]: KB3013816 [114]: KB3014442 [115]: KB3015696 [116]: KB3018133 [117]: KB3018467 [118]: KB3019215 [119]: KB3019978 [120]: KB3020338 [121]: KB3020370 [122]: KB3021910 [123]: KB3021952 [124]: KB3022777 [125]: KB3023219 [126]: KB3023222 [127]: KB3024751 [128]: KB3024755 [129]: KB3029432 [130]: KB3029603 [131]: KB3029606 [132]: KB3030377 [133]: KB3030947 [134]: KB3032359 [135]: KB3032663 [136]: KB3033446 [137]: KB3034348 [138]: KB3035017 [139]: KB3035126 [140]: KB3035132 [141]: KB3035487 [142]: KB3035527 [143]: KB3036612 [144]: KB3037576 [145]: KB3037579 [146]: KB3037924 [147]: KB3038002 [148]: KB3038562 [149]: KB3038936 [150]: KB3041857 [151]: KB3042058 [152]: KB3042085 [153]: KB3042553 [154]: KB3043812 [155]: KB3044374 [156]: KB3044673 [157]: KB3045563 [158]: KB3045607 [159]: KB3045634 [160]: KB3045685 [161]: KB3045717 [162]: KB3045719 [163]: KB3045755 [164]: KB3045992 [165]: KB3045999 [166]: KB3046017 [167]: KB3046480 [168]: KB3046737 [169]: KB3047254 [170]: KB3047255 [171]: KB3048043 [172]: KB3048778 [173]: KB3049989 [174]: KB3050267 [175]: KB3053863 [176]: KB3053946 [177]: KB3054169 [178]: KB3054256 [179]: KB3054464 [180]: KB3055323 [181]: KB3055343 [182]: KB3055642 [183]: KB3056347 [184]: KB3058168 [185]: KB3058515 [186]: KB3059316 [187]: KB3059317 [188]: KB3060383 [189]: KB3060716 [190]: KB3060746 [191]: KB3060793 [192]: KB3061493 [193]: KB3061512 [194]: KB3061518 [195]: KB3062760 [196]: KB3063843 [197]: KB3064059 [198]: KB3064209 [199]: KB3065013 [200]: KB3067505 [201]: KB3069114 [202]: KB3071663 [203]: KB3071756 [204]: KB3072019 [205]: KB3072307 [206]: KB3072630 [207]: KB3072633 [208]: KB3073874 [209]: KB3074228 [210]: KB3074232 [211]: KB3074545 [212]: KB3074548 [213]: KB3074553 [214]: KB3075220 [215]: KB3075853 [216]: KB3076949 [217]: KB3077715 [218]: KB3078071 [219]: KB3078405 [220]: KB3078601 [221]: KB3078676 [222]: KB3079318 [223]: KB3080042 [224]: KB3080446 [225]: KB3080800 [226]: KB3081320 [227]: KB3082089 [228]: KB3082353 [229]: KB3083185 [230]: KB3083325 [231]: KB3083800 [232]: KB3083992 [233]: KB3084135 [234]: KB3084905 [235]: KB3086255 [236]: KB3087038 [237]: KB3087039 [238]: KB3087040 [239]: KB3087041 [240]: KB3087137 [241]: KB3087390 [242]: KB3087418 [243]: KB30879 Carte(s) r‚seau: 3 carte(s) r‚seau install‚e(s). [01]: Ralink RT5390R 802.11bgn Wi-Fi Adapter Nom de la connexionÿ: Wi-Fi tatÿ: Support d‚connect‚ [02]: Inventec PCIe GBE Family Controller Nom de la connexionÿ: Ethernet DHCP activ‚ÿ: Non Adresse(s) IP [03]: TAP-Windows Adapter V9 Nom de la connexionÿ: Connexion au r‚seau local 3 tatÿ: Support d‚connect‚ Configuration requise pour Hyper-V: Extensions de mode du moniteur d'ordinateur virtuelÿ: Oui Virtualisation activ‚e dans le microprogrammeÿ: Oui Traduction d'adresse de second niveauÿ: Oui Pr‚vention de l'ex‚cution des donn‚es disponibleÿ: Oui

    C:\Users\JEAN\Desktop\Ancile_1.6>SET ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\JEAN\AppData\Roaming APPNAME=Ancile CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=JEAN ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\JEAN LOCALAPPDATA=C:\Users\JEAN\AppData\Local LOGONSERVER=\JEAN MOZ_PLUGIN_PATH=C:\Program Files\Tracker Software\PDF Viewer\Win32\ NUMBER_OF_PROCESSORS=8 OnlineServices=Online Services OS=Windows_NT PATH=C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Seagate\SnapAPI\;C:\Program Files (x86)\AOMEI Backupper;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\EaseUS\Todo Backup\bin;C:\Program Files\Shield;C:\Users\JEAN\AppData\Local\Bandizip\7z;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0 PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC Platform=HPD PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=3a09 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\JEAN\AppData\Local\Temp TMP=C:\Users\JEAN\AppData\Local\Temp USERDOMAIN=JEAN USERDOMAIN_ROAMINGPROFILE=JEAN USERNAME=JEAN USERPROFILE=C:\Users\JEAN VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ VERSION=0.0b windir=C:\WINDOWS

    C:\Users\JEAN\Desktop\Ancile_1.6>powershell -executionpolicy remotesigned -Command $PSVersionTable Rename-Item : Impossible de renommer l'‚l‚ment situ‚ … l'emplacement ® Function:\Prompt¯, car il n'existe pas. Au caractŠre C:\Users\JEAN\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:2 : 1 + Rename-Item Function:\Prompt PoshGitPrompt -Force + ~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation : (:) [Rename-Item], PSInvalidO perationException + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.R enameItemCommand

    Name Value
    ---- -----
    PSVersion 4.0
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.42000
    BuildVersion 6.3.9600.17400
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion 2.2

    C:\Users\JEAN\Desktop\Ancile_1.6>wmic os get LocalDateTime /VALUE

    L o c a l D a t e T i m e = 2 0 1 6 1 1 1 6 2 2 4 0 4 7 . 5 1 6 0 0 0 + 0 6 0

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO 0 0

    C:\Users\JEAN\Desktop\Ancile_1.6>FOR /F "usebackq tokens=1,2 delims==" %i IN (wmic os get LocalDateTime /VALUE 2>NUL) DO (IF '.%i.' == '.LocalDateTime.' SET ldt=%j )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '. .' == '.LocalDateTime.' SET ldt= )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '. .' == '.LocalDateTime.' SET ldt= )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '.LocalDateTime.' == '.LocalDateTime.' SET ldt=20161116224047.875000+060 )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '. .' == '.LocalDateTime.' SET ldt= )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '. .' == '.LocalDateTime.' SET ldt= )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF '. .' == '.LocalDateTime.' SET ldt= )

    C:\Users\JEAN\Desktop\Ancile_1.6>SET UNIDATE=2016-11-16

    C:\Users\JEAN\Desktop\Ancile_1.6>SET CURRDIR=C:\Users\JEAN\Desktop\Ancile_1.6\

    C:\Users\JEAN\Desktop\Ancile_1.6>SET DATADIR=C:\Users\JEAN\Desktop\Ancile_1.6\data

    C:\Users\JEAN\Desktop\Ancile_1.6>SET LIBDIR=C:\Users\JEAN\Desktop\Ancile_1.6\lib

    C:\Users\JEAN\Desktop\Ancile_1.6>SET SCRIPTDIR=C:\Users\JEAN\Desktop\Ancile_1.6\scripts

    C:\Users\JEAN\Desktop\Ancile_1.6>SET TEMPDIR=C:\Users\JEAN\AppData\Local\Temp\Ancile

    C:\Users\JEAN\Desktop\Ancile_1.6>SET LOGFILE=C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log

    C:\Users\JEAN\Desktop\Ancile_1.6>SET USERCONFIG=C:\Users\JEAN\Desktop\Ancile_1.6\config.ini

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini" (FOR /F "eol=# delims=" %i in ('TYPE "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini"') DO (CALL SET %i ) ) ELSE ( ECHO User config "C:\Users\JEAN\Desktop\Ancile_1.6\config.ini" does not exist.
    ECHO Using default configuration. )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET SYSARCH=64 )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET SYSTEMRESTORE=A )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET TIMESYNC=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODWINUPDATE=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET DISABLEWINUPDATE=N )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET UNINSTALLUPDATES=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET REMOTEREGISTRY=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET DISABLEIE=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODHOSTS=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODROUTES=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>(CALL SET MODFIREWALL=Y )

    C:\Users\JEAN\Desktop\Ancile_1.6>wmic os get osarchitecture O S A r c h i t e c t u r e

    6 4 b i t s

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO 0 0

    C:\Users\JEAN\Desktop\Ancile_1.6>IF NOT "64" == "32" (IF NOT "64" == "64" ( SET SYSARCH=32
    wmic os get osarchitecture 2>&1 | findstr /I 64-bit 1>nul 2>&1 && SET SYSARCH=64 ) )

    C:\Users\JEAN\Desktop\Ancile_1.6>SET BINSETACL=C:\Users\JEAN\Desktop\Ancile_1.6\lib\setacl-64.exe

    C:\Users\JEAN\Desktop\Ancile_1.6>MD "C:\Users\JEAN\AppData\Local\Temp\Ancile" 1>nul 2>&1

    C:\Users\JEAN\Desktop\Ancile_1.6>SET ANCERRLVL=0

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO Starting Ancile v0.0b Starting Ancile v0.0b

    C:\Users\JEAN\Desktop\Ancile_1.6>net session 1>nul 2>&1

    C:\Users\JEAN\Desktop\Ancile_1.6>IF 0 NEQ 0 ECHO This script requires Administrative privileges. Exiting. & PAUSE & EXIT 1

    C:\Users\JEAN\Desktop\Ancile_1.6>SET OSCHECK=0

    C:\Users\JEAN\Desktop\Ancile_1.6>ver

    Microsoft Windows [version 6.3.9600]

    C:\Users\JEAN\Desktop\Ancile_1.6>echo 0 0

    C:\Users\JEAN\Desktop\Ancile_1.6>FOR /F "tokens=4-5 delims=. " %i IN ('ver') DO SET OSVERSION=%i.%j

    C:\Users\JEAN\Desktop\Ancile_1.6>SET OSVERSION=6.3

    C:\Users\JEAN\Desktop\Ancile_1.6>IF "6.3" == "6.3" SET OSCHECK=1

    C:\Users\JEAN\Desktop\Ancile_1.6>IF "6.3" == "6.2" SET OSCHECK=1

    C:\Users\JEAN\Desktop\Ancile_1.6>IF "6.3" == "6.1" SET OSCHECK=1

    C:\Users\JEAN\Desktop\Ancile_1.6>IF 1 EQU 0 ECHO This script should only be run under Windows 7 or 8. Exiting. & PAUSE & EXIT 1

    C:\Users\JEAN\Desktop\Ancile_1.6>FOR %i IN ("C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log") DO (IF NOT EXIST "%~di%~pi" ( ECHO Logging directory "%~di%~pi" does not exist.
    ECHO Please make sure the path is correct.
    SET /A ANCERRLVL=ANCERRLVL+1
    GOTO ERRCHK ) )

    C:\Users\JEAN\Desktop\Ancile_1.6>(IF NOT EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\" ( ECHO Logging directory "C:\Users\JEAN\Desktop\Ancile_1.6\" does not exist.
    ECHO Please make sure the path is correct.
    SET /A ANCERRLVL=ANCERRLVL+1
    GOTO ERRCHK ) )

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO [16/11/2016 22:40:48,78] ### Ancile v0.0b ################################# 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO [16/11/2016 22:40:48,78] Created by Matthew Linton 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO [16/11/2016 22:40:48,78] https://bitbucket.org/matthewlinton/ancile/ 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO [16/11/2016 22:40:48,78] ########################################################## 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>IF NOT "." == "." ECHO 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>IF "" == "Y" ( ECHO Collecting system information ...
    systeminfo 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"
    SET 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"
    powershell -executionpolicy remotesigned -Command $PSVersionTable 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" )

    C:\Users\JEAN\Desktop\Ancile_1.6>echo end of special debugging end of special debugging

    C:\Users\JEAN\Desktop\Ancile_1.6>GOTO ENDFAIL

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" ECHO [16/11/2016 22:40:48,78] END : Ancile v0.0b completed with 0 error(s) 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO Ancile v0.0b has completed with errors. Ancile v0.0b has completed with errors.

    C:\Users\JEAN\Desktop\Ancile_1.6>GOTO END

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" ECHO See "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" for more information. See "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" for more information.

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" ECHO [16/11/2016 22:40:48,78] ########################################################## 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" ECHO. 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>IF EXIST "C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log" ECHO. 1>>"C:\Users\JEAN\Desktop\Ancile_1.6\Ancile-0.0b_2016-11-16.log"

    C:\Users\JEAN\Desktop\Ancile_1.6>ECHO Press any key to exit. Press any key to exit.

  12. Former user Account Deleted

    The problem is indeed solved Matthew (see below). Finally, was my PC involved in this story or the problem was related to Win 8.1? Thank you very much ! Jean Image 002.png

  13. Matthew Linton

    It looks that at some point something removed default information from your system's PATH variable. I'm not sure why that would be.

    A quick fix would be to add the following line to the "config.ini" file in Ancile (Anywhere in the file will do):

    PATH=%PATH%;C:\Windows;C:\Windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    

    This will temporarily add the necessary directories to your PATH every time you run Ancile.

    A more permanent solution is to modify the system PATH variable in the registry. http://www.computerhope.com/issues/ch000549.htm

  14. Former user Account Deleted

    I have added the default info in the PATH of the System Environnement Variable. Thanks again !

  15. Log in to comment