Task Sequence Issues with Command Line + Boolean Logic RRS feed

  • Question

  • I'm currently on MDT 2013 Update 2, and there's some longtime existing logic in many of our Task Sequences that goes something like this:

    Type: Run Command Line

    Name: Create Local User if != domain

    Command Line: cmd.exe /c net user "%NAME%" /add

    Options -> Condition: If all conditions are true -> Task Sequence variable OSDNetworkJoinType equals 1

    A lot of this existing logic looks to be basing true and false on a 1 or 0 value... did some of the more recent upgrades perhaps deprecate this? For example, when this command encounters a domain machine it's still creating the local user account, which we do not want. Any ideas/suggestions/info? Thank you!

    Wednesday, July 13, 2016 7:45 PM