P

Pep

Member

Last active 4 weeks ago

  1. 4 weeks ago
    Fri May 25 15:37:53 2018
    P Pep posted in disk image Schema errors.

    Powershell script is able to detect multiple disks, and it creates their corresponding WIM files, apparently ok.
    The problem is how JSON file is created, and ended.
    Take a look to the schema file, you will see that second disk is added behind the closed bracket "]" of the first disk.
    I've I manually removed the second disk entry from Json schema file, and then Web page is able to read schema file easily, if not you will see the error in the attached image.

    Regards

  2. Fri May 25 07:54:28 2018
    P Pep started the conversation WinPE Scripts bugs.

    Hello,
    Working with the latest winpe scripts I've found some minor bugs.
    I'll have to assign static IP to my systems because I don't have DHCP

    wie_start.ps1 ->
    I had to replace $nicSelection.Add("$($nic.index)","$($nic.Description)")
    by $nicSelection.Add("$($nic.Interfaceindex)","$($nic.Description)")

    And, at least in my case I've uncommented the following
    wie_task_select.ps1
    $nicList = Get-WmiObject -Class "Win32_NetworkAdapterConfiguration" # -Filter "IpEnabled = TRUE"
    by:
    $nicList = Get-WmiObject -Class "Win32_NetworkAdapterConfiguration" -Filter "IpEnabled = TRUE"

    If is not commented 'debug' interface shows In the list, and some non physical are also checked

    Regards

  3. Fri May 25 07:46:35 2018
    P Pep started the conversation disk image Schema errors.

    Hello,
    I've just start testing Clonedeploy 1.3.3 using Winpe.

    I've was able to create a new image and upload to 'CloneDeploy', but I was unable to deploy. The error was related to schemas, and it is unable to re-apply it.
    CloneDeploy Web page was also unable to read the schema file associated to the image due malformed schema file.
    After investigation I've found that schema file (JSON) was not correctly formed, script closes with entries "]}" and then adds the second disk.
    As workaround, and allow working I had to edit it and correct manually, but It only worked when I leaved 1 single disk entry, because Web page seems that doesn't like when it has more than one disk. Json file was verified with some online JSON checker like (https://jsonlint.com/ )
    My Windows system is a Windows 2012 with 2 Hard disks, but the problem is not with the exportation, the problem is JSON file creation.

    Regards

  4. Fri May 25 07:32:20 2018
    P Pep joined the forum.