Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
StevePerry
Novice
Posts: 4
Liked: never
Joined: Apr 10, 2019 7:27 am
Contact:

Creating Veeam Recovery Media with Command Line Interface - RMM

Post by StevePerry »

Hello,

I am trying to use our RMM to create Veeam recovery media with command line. (Kaseya)

When I run the following command manually through a command prompt, it works, and the .iso is generated;
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.RecoveryMedia.exe" /createiso /f:c:\VeeamRecoveryMedia.iso

But when using the same command through our RMM, I can see that Veeam.EndPoint.RecoveryMedia.exe /createiso /f:c:\VeeamRecoveryMedia.iso is launched briefly, but closes shortly after, and DISM does not run.

The command is being run as SYSTEM.

the following is shown at the end of the "C:\ProgramData\veeam\endpoint\UI.RecoveryImageWizard.log" file

Code: Select all

[10.04.2019 17:23:25] <01> Info     Waiting for recovery media creation.
[10.04.2019 17:23:25] <07> Error    This access control list is not in canonical form and therefore cannot be modified. (System.InvalidOperationException)
[10.04.2019 17:23:25] <07> Error       at System.Security.AccessControl.CommonAcl.ThrowIfNotCanonical()
[10.04.2019 17:23:25] <07> Error       at System.Security.AccessControl.CommonAcl.SetQualifiedAce(SecurityIdentifier sid, AceQualifier qualifier, Int32 accessMask, AceFlags flags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
[10.04.2019 17:23:25] <07> Error       at System.Security.AccessControl.DiscretionaryAcl.SetAccess(AccessControlType accessType, SecurityIdentifier sid, Int32 accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags)
[10.04.2019 17:23:25] <07> Error       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
[10.04.2019 17:23:25] <07> Error       at System.Security.AccessControl.CommonObjectSecurity.SetAccessRule(AccessRule rule)
[10.04.2019 17:23:25] <07> Error       at Veeam.Core.Common.CWinREFilesCollector..ctor(ITaskLog taskLog)
[10.04.2019 17:23:25] <07> Error       at Veeam.Core.Common.CWinReCreator..ctor(CWimBuilderOptions options, ITaskLog taskLog, ICancelFlag cancelFlag)
[10.04.2019 17:23:25] <07> Error       at Veeam.Endpoint.RecoveryMedia.UI.CRecoveryMediaCreator.CreateImpl()
[10.04.2019 17:23:25] <07> Error       at Veeam.Endpoint.RecoveryMedia.UI.CRecoveryMediaCreator.CreateProc()
[10.04.2019 17:23:25] <07> Info     [TaskLog] 'Failed to create recovery media: This access control list is not in canonical form and therefore cannot be modified.' append, OrdinalId 1, Status EFailed, Desc ''
[10.04.2019 17:23:35] <01> Info     Operation failed.
I have tried checking permissions on the registry keys as per this article (same error) with no luck.
https://www.veeam.com/kb2009

Any suggestions?

Thanks
Dima P.
Product Manager
Posts: 14716
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Creating Veeam Recovery Media with Command Line Interface - RMM

Post by Dima P. »

Hello and welcome to the community StevePerry.

Mind me asking, which agent version you are using to test this command? Thank you!
StevePerry
Novice
Posts: 4
Liked: never
Joined: Apr 10, 2019 7:27 am
Contact:

Re: Creating Veeam Recovery Media with Command Line Interface - RMM

Post by StevePerry »

This is with the latest version.
3.0.1.1039
Dima P.
Product Manager
Posts: 14716
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Creating Veeam Recovery Media with Command Line Interface - RMM

Post by Dima P. »

StevePerry,

This command should work fine in latest agent version, so please open a support case and share your case ID as the described behavior does not look like expected. Thank you in advance!
Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests