Hello,
I get this error message in puppet log when I launch a powershell script
via puppet:
*Script Task:Error: Retrieving the COM class factory for component with
CLSID {0000000-0000-0000-0000-000000000000} failed due to the following
error: 80040154 Class not registered (Exception from HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG)).*
*+ $net = new-object -ComObject WScript.Networkdir+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo :
ResourceUnavailable: (:) [New-Object], COMException +
FullyQualifiedErrorId :
NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand *
I don't see the source of the error, is it linked to 32 bit puppet, however
it is the 64 bit version which is installed on the computer.
I don't get the error when I run the script by hand on the PC.
The script mount a samba share and call application installation scripts
which are stored on this share.
Is there another solution to mount and unmount a share under Windows with
puppet that works with Windows 11?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/puppet-users/b078a0fa-65d5-4ccb-b279-39f996fca532n%40googlegroups.com.