Jump to content


mkuriel

Established Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by mkuriel

  1. I am failing to run diskpart on a device via SCCM TS, it is a standard SCCM TS - I am booting from pxe and trying to wipe the disk with no luck....

    the Device is hp elitebook 830 g5 and I see the same issue with Lenovo m710q

     

    here is the error that i am getting

    <![LOG[==============================[ OSDDiskPart.exe ]==============================]LOG]!><time="11:59:19.319-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:1078">
    <![LOG[Command line: "osddiskpart.exe"]LOG]!><time="11:59:19.319-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:1079">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL']LOG]!><time="11:59:19.319-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="util.cpp:972">
    <![LOG[Reading partition size info for partition 0]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:461">
    <![LOG[Remaining size before partition: 512105932800]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:465">
    <![LOGLOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:483">
    <![LOG[Set partition size: 367001600]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:541">
    <![LOG[Remaining size after partition 0: 511738931200]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:618">
    <![LOG[Set an environment variable for partitions 0-1 without drive letter]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:641">
    <![LOG[Reading partition size info for partition 1]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:461">
    <![LOG[Remaining size before partition: 511738931200]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:465">
    <![LOGLOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:478">
    <![LOG[99% size specified.]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:528">
    <![LOG[Calculated partition size: 506621541888]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:530">
    <![LOG[Remaining size after partition 1: 5117389312]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:618">
    <![LOG[Set an environment variable for partitions 0-2 with drive letter]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:641">
    <![LOG[Reading partition size info for partition 2]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:461">
    <![LOG[Remaining size before partition: 5117389312]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:465">
    <![LOGLOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:478">
    <![LOG[100% size specified.]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:524">
    <![LOG[Remaining size after partition 2: 0]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:618">
    <![LOG[Set an environment variable for partitions 0-1;0-3 without drive letter]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:641">
    <![LOG[Checking volume 'X:' for BitLocker]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="main.cpp:317">
    <![LOG[S partition is not used, will use it.]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="diskutils.cpp:98">
    <![LOG[Diskpart: list volume 
    select disk 0
    clean
    create partition Primary size=350
    assign letter=S
    format quick fs=ntfs label="System Reserved"
    active
    create partition Primary size=483151
    assign
    create partition primary id=27
    format quick fs=ntfs label="Recovery"
    rescan
     list volume
    ]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="diskutils.cpp:2600">
    <![LOG[Executing diskpart script: list volume 
    select disk 0
    clean
    create partition Primary size=350
    assign letter=S
    format quick fs=ntfs label="System Reserved"
    active
    create partition Primary size=483151
    assign
    create partition primary id=27
    format quick fs=ntfs label="Recovery"
    rescan
     list volume
    ]LOG]!><time="11:59:19.350-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="diskutils.cpp:1968">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="11:59:19.366-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="CommandLine.cpp:229">
    <![LOG[Set command line: "X:\WINDOWS\system32\diskpart.exe" /s "X:\WINDOWS\TEMP\DiskPartScript.txt"]LOG]!><time="11:59:19.366-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="CommandLine.cpp:723">
    <![LOG[Executing command line: "X:\WINDOWS\system32\diskpart.exe" /s "X:\WINDOWS\TEMP\DiskPartScript.txt"]LOG]!><time="11:59:19.366-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="CommandLine.cpp:819">
    <![LOG[Process completed with exit code 2147755013]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="1" thread="1640" file="CommandLine.cpp:1115">
    <![LOG[Diskpart.exe STDOUT: 
    Microsoft DiskPart version 10.0.17134.1

    Copyright (C) Microsoft Corporation.
    On computer: MININT-8J6SRFR

    There are no volumes.

    Disk 0 is now the selected disk.

    DiskPart succeeded in cleaning the disk.

    Virtual Disk Service error:
    The object is not found.

     ]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="3" thread="1640" file="diskutils.cpp:1910">
    <![LOG[Diskpart.exe STDERR:  ]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="3" thread="1640" file="diskutils.cpp:1911">
    <![LOG[Diskpart.exe failed (2147755013).  Script file, stdout, and stderr saved in TS log directory.]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="3" thread="1640" file="diskutils.cpp:1939">
    <![LOG[0, HRESULT=80042405 (main.cpp,1270)]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="0" thread="1640" file="main.cpp:1270">
    <![LOG[OSDDiskPart.exe failed: 0x80042405]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="OSDDiskPart" context="" type="3" thread="1640" file="main.cpp:1330">
    <![LOG[Process completed with exit code 2147755013]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="TSManager" context="" type="1" thread="1432" file="CommandLine.cpp:1115">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:59:19.413-180" date="07-10-2018" component="TSManager" context="" type="1" thread="1432" file="instruction.cxx:814">

     

     

    this is the Diskpart Output:

     

    Microsoft DiskPart version 10.0.17134.1

    Copyright (C) Microsoft Corporation.
    On computer: MININT-8J6SRFR

    There are no volumes.

    Disk 0 is now the selected disk.

    DiskPart succeeded in cleaning the disk.

    Virtual Disk Service error:
    The object is not found.

     

    this is the script that SCCM tries to run on the device

    list volume 
    select disk 0
    clean
    create partition Primary size=350
    assign letter=S
    format quick fs=ntfs label="System Reserved"
    active
    create partition Primary size=483151
    assign
    create partition primary id=27
    format quick fs=ntfs label="Recovery"
    rescan
    list volume

     

     

    any idea why i am crashing ???

     

    I am attaching the full logs also for reference.

     

    Thank you in advance 

     

     

    diskpart_err.log

    diskpart_out.log

    diskpart_script.log

    smsts.log

  2. Hello to all,

    I have a customer that is asking how he can deploy the drivers like SCCM task sequence step is doing it but via command line...

    where can I find the command that explain how the task sequence step is querying the drivers folders and applying them ? 

     

    what is the task sequence variable that represents the driver library \ drive packages locations ???

    and how are they applied to the system ? do we know the exact command string ? 

     

    thank you all in advance.

  3. I am creating a WIP rule and deploying it to a Windows 10 machine 1703.

    my SCCM CB is 1702 ...

    I follow the rules and i see the WIP rule in my sccm client but it is shown as not applicable :

    Summary:

    Name Revision Type Baseline
    Policy
    Compliance
    State
    Non-Compliance
    Severity
    Discovery
    Failures
    Non-Compliant
    Rules
    Remediated
    Rules
    Conflicting
    Rules
    WIP
     1  Baseline   Compliant None 0 0 0 0
     1  General
    Configuration Item
    Required Not Applicable None 0 0 0 0

     

    Details:

    Name: WIP
    Type: Baseline
    Revision: 1
    Compliance State: Compliant
    Non-Compliance Severity: None
    Description:  
    Name: Wip Demo With Cloud
    Type: General Configuration Item
    Revision: 1
    Compliance State: Not Applicable
    Non-Compliance Severity: None

    Description:

    I attached the logs files that i believed to be relevent... 

    what am i missing ? what I did wrong ?

    CcmExec.log

    CIAgent.log

    DCMAgent.log

    DCMReporting.log

    DCMReporting-20171107-130752.log

    DcmWmiProvider.log

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.