Sccm ошибка 0x1 1

  • Remove From My Forums
  • Вопрос

  • we are receiving error 0x1(1) Incorrect Function (Action Failed) for many of the Application deployments in the SCCM 1802 , but by checking the machine status, sccm client status — we could see the machines are active with clients. 

    Could you suggest on how to provide solution for such failed deployments


    Regards, Shanker Kumar

Ответы

  • Hi Shanker Kumar,

    Here is an easier way to confirm it:
    Do not deploy this application via SCCM, run the application directly on the client to confirm whether it can complete the installation.

    Best regards,
    Yuxiang


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

    • Изменено

      7 февраля 2019 г. 10:26

    • Помечено в качестве ответа
      Shanker Kumar
      1 марта 2019 г. 12:03

<![LOG[+++ Starting Install enforcement for App DT «Edge X64 Default Deployment Type» ApplicationDeliveryType ScopeId_3117A85B3B6E4E7F8B1922EEF62B9D80/DeploymentType_5ac6bca8772441a4b7ee1cd3a48e0ff2, Revision 1, ContentPath C:WINDOWSccmcache61, Execution Context System]LOG]!><time=«09:20:51.155-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appprovider.cpp:2094»>

<![LOG[    Performing detection of app deployment type Edge X64 Default Deployment Type(ScopeId_3117A85B3B6E4E7F8B1922EEF62B9D80/DeploymentType_5ac6bca8772441a4b7ee1cd3a48e0ff2, revision 1) for system.]LOG]!><time=«09:20:51.155-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appprovider.cpp:2516»>

<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_3117A85B3B6E4E7F8B1922EEF62B9D80/DeploymentType_5ac6bca8772441a4b7ee1cd3a48e0ff2, Revision: 1]] LOG]!><time=«09:20:51.170-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«localapphandler.cpp:291»>

<![LOG[    App enforcement environment:

Context: Machine

Command line: powershell File «.-Install-Edge.ps1» MSIName «MicrosoftEdgeEnterpriseX64.msi» ChannelID «-56eb18f8-b008-4cbd-b6d2-8c97fe7e9062»

Allow user interaction: No

UI mode: 1

User token: null

Session Id: 4294967295

Content path: C:WINDOWSccmcache61

Working directory: ]LOG]!><time=«09:20:51.170-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appcontext.cpp:85»>

<![LOG[    Prepared working directory: C:WINDOWSccmcache61]LOG]!><time=«09:20:51.186-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appcontext.cpp:189»>

<![LOG[Found executable file powershell with complete path C:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe]LOG]!><time=«09:20:51.202-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«executility.cpp:188»>

<![LOG[    Prepared command line: «C:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe» File «.Install-Edge.ps1» MSIName «MicrosoftEdgeEnterpriseX64.msi» ChannelID «{56eb18f8-b008-4cbd-b6d2-8c97fe7e9062}»]LOG]!><time=«09:20:51.202-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appcontext.cpp:338»>

<![LOG[    Executing Command line: «C:WINDOWSSystem32WindowsPowerShellv1.0powershell.exe» File «.Install-Edge.ps1» MSIName «MicrosoftEdgeEnterpriseX64.msi» ChannelID «{56eb18f8-b008-4cbd-b6d2-8c97fe7e9062}» with system context]LOG]!><time=«09:20:51.202-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appexcnlib.cpp:203»>

<![LOG[    Working directory C:WINDOWSccmcache61]LOG]!><time=«09:20:51.202-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appexcnlib.cpp:217»>

<![LOG[    Post install behavior is BasedOnExitCode]LOG]!><time=«09:20:51.217-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appcommon.cpp:1054»>

<![LOG[    Waiting for process 13684 to finish.  Timeout s 30 minutes.] LOG]!><time=«09:20:51.217-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appexcnlib.cpp:2014»>

<![LOG[    Process 13684 terminated with exitcode: 1]LOG]!><time=«09:20:51.561-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appexcnlib.cpp:2023»>

<![LOG[    Looking for exit code 1 in exit codes table...]LOG]!><time=«09:20:51.561-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appexcnlib.cpp:510»>

<![LOG[    Unmatched exit code (1) is considered an execution failure.]LOG]!><time=«09:20:51.561-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«2» thread=«7624» file=«appexcnlib.cpp:596»>

<![LOG[++++++ App enforcement completed (0 seconds) for App DT «Edge X64 Default Deployment Type» [ScopeId_3117A85B3B6E4E7F8B1922EEF62B9D80/DeploymentType_5ac6bca8772441a4b7ee1cd3a48e0ff2], Revision: 1, User SID: ] ++++++]LOG]!><time=«09:20:51.561-120» date=«04-30-2020» component=«AppEnforce» context=«» type=«1» thread=«7624» file=«appprovider.cpp:2820»>

  • #1

hello
I created OneDrive Application and it install fine but I am gating exit code 0x1(1)
I am using small batch file to install and my batch file is

@echo off

pushd «%~dp0
echo Microsoft OneDrive Client 19.232.1124.0009 install…
«%~dp0OneDriveSetup.exe» /silent
echo Running OneDrive 19.232.1124.0009 takeover…
«%localappdata%\Microsoft\OneDrive\OneDrive.exe» /takeover

my installation program is «install_OneDrive.bat» that is I gave name my batch file

any help be good

Prajwal Desai


  • #2

What do you see the status of application in Software Center. Does it show installed or failed ?.

  • Thread Starter

  • #3

Prajwal Desai


  • #4

And what is the detection method used ?.

  • Thread Starter

  • #5

this is i used
1596458761604.png

  • Thread Starter

  • #6

hello
sorry i did not received any response after that any help
thank you

Gokul


  • #7

V

this detection method looks fine. Have you tried to check the onedrive installation status locally?

  • Thread Starter

  • #8

  • Thread Starter

  • #9

Gokul


  • #10

try login to the machine and check the installation status in controlupdate->installed update. if onedrive installed, and then your program unable to detect that, then you should have a look on your batch file and TS

  • Thread Starter

  • #11

log i look in to it Transfer and data transfer log is transferring fine App Enforce log gets error is
Unmatched exit code (1) is considered an execution failure.
but installed fine and working fine but running report for managers is not good
i created so many applications no issue , but this one is driving me crazy

During the recent Mass Windows 10 application testing, few of the SCCM Application deployments failed with Exit code 1. “The software change returned error code 0x1(1).exit-code-1-1

The content was already distributed to the local distribution point, and everything appeared to be in order. Looking further into AppEnforce.log showed some interesting signs stating “The content path is not specified for DeploymentType …” and “Content is assumed to be locally available“, followed by Unmatched exit code (1) is considered an execution failure.

exit-code-1

SOLUTION: To fix the issue, simply update the content on the DP, refresh the machine policy on the local client, and you should see the content starts to download followed by triggering the installation.


Понравилась статья? Поделить с друзьями:
  • Scangear mf ошибка сканера
  • Scbs mazda cx 5 ошибка что это означает
  • Screen translator ошибка скачивания файла
  • Screen translator ошибка инициализации ocr
  • Scbs ошибка мазда cx5