Jump to content


  • 0
Mike S

SCCM 2007 Task Sequence Command Line Failing

Question

I am having difficulty pinpointing why I cannot run a command line task sequence. I am running the following command:

 

cmd /c "setup.exe -quiet -wait -responsefile \\srv252\SAS Software Depot 9.2\responsefiles\onlyEG.properties"

 

Not matter how I change the command line, the install always returns the following error:

 

(Error: 8007010B; Source:Windows)

Install Software failed to run command line, hr=0x8007010b. The operating system reported error 2147942667: The directory name is invalid.

 

I have disabled 64-bit redirection, stripped down the command line to only run "setup.exe", Mapped a network drive before running the command line (I changed the path to match the mapped drive, Used the "Start In" field, etc.

 

I know the command line works, I have ran it successfully from the "run" field.

Why won't it work in SCCM 2007?

 

I am pulling my already scarce hair out trying to figure this one out.

 

Thanks,

Mike

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I am having difficulty pinpointing why I cannot run a command line task sequence. I am running the following command:

 

cmd /c "setup.exe -quiet -wait -responsefile \\srv252\SAS Software Depot 9.2\responsefiles\onlyEG.properties"

 

Not matter how I change the command line, the install always returns the following error:

 

(Error: 8007010B; Source:Windows)

Install Software failed to run command line, hr=0x8007010b. The operating system reported error 2147942667: The directory name is invalid.

 

I have disabled 64-bit redirection, stripped down the command line to only run "setup.exe", Mapped a network drive before running the command line (I changed the path to match the mapped drive, Used the "Start In" field, etc.

 

I know the command line works, I have ran it successfully from the "run" field.

Why won't it work in SCCM 2007?

 

I am pulling my already scarce hair out trying to figure this one out.

 

Thanks,

Mike

 

Are you running this command from a package? If not make sure you run the command from the correct folder.

Another easy fix would be to just create a .cmd file with your command and call the .cmd from your TS.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • 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.