Jump to content


  • 0
hans.swolfs

Importing wifi-xml-profiles via OSD TS

Question

Hi,

I'm creating/testing an OSD TS for our school's laptops and netbooks and I'm stuck at a certain step.

This step should import profiles of our school's wifi-networks so that the laptops & netbooks can automatically connect to them after deployment.

How should this work...

I have 2 xml profiles called "sjib_1.xml" and "sjib_2.xml".

I tried to import them with :

- a batch-file calling : netsh wlan import command (tried them standalone on a laptop and they work). I created a package with a program (the batch-file) and inserted that one in the OSD TS but no joy

- instead of a batch-file, I tried to import them via 2 command-lines in the TS : netsh wlan import profile name="sjib_1.xml" and another one for the sjib_2.xml file.

 

When the TS tries to perform this step, it exits with error "0x8007010B".

 

Any clues would be welcome!

 

This one is for real opposite to the one I mistakenly have posted about Office :s

 

best regards,

Hans

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

strange stuff... must have mistyped it when I was creating the scripts because it's indeed add instead of import.

will test that later and comeback with feedback...

 

Should I insert the %~dp0\ in the filepath of the xml's or shouldn't this be needed?

 

First finish installing SCCM 2012 after having too much problems with my current sccm 2007 setup.

 

Thanks already!

Share this post


Link to post
Share on other sites

  • 0

The %~dp0 is not needed as long you don't use a batch file or a command line task sequence step. These two will start in the home path of the user. So batch files should always contain a "pushd %~dp0" as first line and "popd" as last line.

Share this post


Link to post
Share on other sites

  • 0

CMD sessions are always executed in the home path of the user running it, also during OSD.

You only need to use the command line step if you want to apply the setting during the PE phase. If the machine is already rebooted to the installed OS you can use a regular "install software" step.

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.