none
Task Sequence error

    Pergunta

  • Hi,

    I am running a task sequence.

    The condition which i mentioned is if the computer as total physical memory more than 7GB then olny it should run

    The query is below

    Select * from Win32_ComputerSystem WHERE TotalPhysicalMemory < 7516192768

    But even the machine has more than 8 GB memory,still the TS fails.

    Any idea

    Thanks,

    Prajith

    terça-feira, 30 de janeiro de 2018 13:53

Todas as Respostas

  • Hi jith1,

    Did you test your WMI query by creating a new collection and check if you see all the computers with less than 8GB?

    Regards

    Simon

    terça-feira, 30 de janeiro de 2018 14:15
  • >>Select * from Win32_ComputerSystem WHERE TotalPhysicalMemory < 7516192768

    Less than 8 GB memory?

    Also take a look at smsts.log.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    quarta-feira, 31 de janeiro de 2018 03:19
  • You query indicates, run TS only if memory is less than 7GB.

    You need to change the query to:

    Select * from Win32_ComputerSystem WHERE TotalPhysicalMemory > 7516192768

    Before running query, just verify the query by running in "wbemtest " through cmd prompt, click on "Query" and type Select * from Win32_ComputerSystem WHERE TotalPhysicalMemory > 7516192768

    if 1 row is fetched, then query has returned true, and TS will run on this system.  


    MANISH BANGIA

    segunda-feira, 26 de março de 2018 00:19