Ask Your Question

Unattend installation of Windows puppet agent version 3.6.2 is failing with error code 0X643

asked 2015-06-10 07:34:51 -0600

raisushil gravatar image

updated 2015-06-10 08:15:36 -0600

csharpsteen gravatar image

We are trying to install Windows Puppet agent using the unattend.xml as listed below. The installation is failing with error code 0X643 and I can see errors in the Windows Event viewer. When I copy paste the same command on the Windows Command prompt after windows installation is completed, it is working fine.

<RunSynchronousCommand wcm:action="add">
          <Description>Install Puppet Agent from razor server</Description>
          <Path>msiexec /i \\\razor\puppet-agent\windows\puppet-3.6.2.msi /qn PUPPET_MASTER_SERVER=username PUPPET_AGENT_CERTNAME=agent-windowsvm4 PUPPET_AGENT_ACCOUNT_USER=Administrator PUPPET_AGENT_ACCOUNT_PASSWORD=xxxxx</Path>

Installation of puppet version 3.3.2 works fine from unattend aswell as from power-shell

edit retag flag offensive close merge delete


Please post all of the related errors that appear in the Event Viewer.

GregLarkin gravatar imageGregLarkin ( 2015-06-10 15:10:13 -0600 )edit

Error in the event viewer show Product: Puppet -- Error 26405. Failed to grant 'logon as service' right to user. (-2147023564 Administrator)

raisushil gravatar imageraisushil ( 2015-06-11 06:10:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-11 09:49:19 -0600

GregLarkin gravatar image

I'm not a Windows expert, but based on the error message displayed in the Event Viewer, it appears that the user needs to be granted "logon as service" permissions.

If that's not sufficient to fix the problem, there are some tips on the Puppet Labs documentation site for troubleshooting. In particular, you can add an option to write to a log file, and that may provide some additional information.

Please see:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-10 07:34:51 -0600

Seen: 411 times

Last updated: Jun 11 '15