3010: The install worked and needs a restart
Not a failure. The install finished and needs a restart to complete. SCCM treats 3010 as a soft reboot code by default.
What 3010 means
Exit code 3010 means "The requested operation is successful. Changes will not be effective until the system is rebooted". The install worked. Some files or settings only take effect after a restart.
You see it in AppEnforce.log for applications and in execmgr.log for packages. A new deployment type lists 3010 on its Return Codes tab as "Soft Reboot". SCCM counts it as a success and asks for a restart.
Common causes
- The installer replaced files that were in use, so Windows swaps them at the next start.
- The installer added a driver or a service that loads only at start.
- A restart was already pending on the client before the install.
- The code is missing from the Return Codes tab, so SCCM shows a failure.
How to fix 3010
-
Restart the client
Restart the computer. Then run "Application Deployment Evaluation Cycle" from the Configuration Manager control panel applet. The deployment should show as successful in the console.
-
Check the restart behavior of the deployment type
Open the deployment type and go to the User Experience tab. Look at the setting for what SCCM should do after the install. "Determine behavior based on return codes" makes SCCM act on 3010. "No specific action" means SCCM does not restart, so the device stays in a pending state until someone restarts it.
-
Check the detection method
Some software is only complete after the restart. If the detection method checks something that appears after the restart, the client reports a failure right after the install. Open
AppDiscovery.logto see the result. Change the rule to check an item that exists as soon as the installer ends. -
Check the restart settings users see
In the console, open Client Settings and go to Computer Restart. These settings control the countdown and the prompts. Open the deployment and check the User Experience tab for restart suppression and for what may run outside a maintenance window.
-
Handle the code in a task sequence
The Install Application step understands 3010 and can restart the computer. A Run Command Line step is different. Check the success codes on the Options tab of that step and make sure 3010 is listed. The step then counts 3010 as success, but it does not restart. Add a Restart Computer step after it.
Commands that help
Invoke-CimMethod -Namespace root\ccm\ClientSDK -ClassName CCM_ClientUtilities -MethodName DetermineIfRebootPending |
Select-Object RebootPending, IsHardRebootPending
Turn any hex or decimal error code into its meaning, or search every code on this site.