Jump to content


  • 0
Mavtech

QuestionDistributing a wireless network profile no longer installs in Win7 x64: Exit Code 1, FailureNonRetry

Question

I've been searching forums all day. I can't find an answer to my issue. I had our wireless network on my reference computer for OSD. But, Sysprep deletes it. So, the consultant (from Catapult) and I previously had this working successfully. We exported the wireless network profile from Windows 7 and created a program to install it (through advertisement and in Task sequence). But, for some reason, it no longer works on my test computers (it works locally but not through an advertisement). In the execmgr log, I am seeing this:

 

Looking for MIF file to get program status

 

Script for Package:VPK00019, Program: Create Corp1 failed with exit code 1

 

a couple lines down:

 

Execution is complete for program Create Corp1. The exit code is 1, the execution status is FailureNonRetry

 

I have the program set to always rerun. The below command works from Windows.

 

cmd.exe /C netsh wlan add profile filename="CTM-CORP1.xml" user=all

 

Where do I go from here? Thanks!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

error 1 usually means 'incorrect function'

 

can you post the log file of this install ? if the program installs in windows then it's user based and when being installed via osd it's being installed as SYSTEM (system context)

that could be the cause of the failure, if so, you'll have to edit the script to take account of this,

Share this post


Link to post
Share on other sites

  • 0

error 1 usually means 'incorrect function'

 

can you post the log file of this install ? if the program installs in windows then it's user based and when being installed via osd it's being installed as SYSTEM (system context)

that could be the cause of the failure, if so, you'll have to edit the script to take account of this,

 

Do you mean the execmgr log from the client? If so, here it is:

 

This was previously working in the "install software" part of the task sequence during OSD.

 

EDIT: I changed the program to run with the user's rights (mine) and updated the DPs. Same exact error happens. I verified in the log that it tried to install as me.

execmgr.txt

Share this post


Link to post
Share on other sites

  • 0

can you run the program on a virtual machine using PSEXEC as system account and tell me what the output error says

 

You mean running it in the PSEXEC command line? Isn't running it on a VM going to be a problem with no wireless chip present? There is no "Manage Wireless Networks". I have 2 laptops here that I am testing it on. I'll run it on one of those.

 

EDIT: I copied the xml file to C:\temp on the test computer and then cd'ed to that directory using the PSEXEC Command line in ConfigMgr Console on my computer. The Wireless profile created perfectly fine using:

 

cmd.exe /C netsh wlan add profile filename="CTM-CORP1.xml" user=all

 

EDIT2: I just ran the OSD (with this install in the task sequence) on a computer that has never been connected to SCCM. The wireless profile created perfectly. So, this seems to have something to do with the computers previously being known to SCCM. How do I change this?

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.