Aller au contenu principal

acrocmd add machine Build 50073 , software distribution (solved)

Thread needs solution

I tried on the machine where AMS is running:

acrocmd add machine --machine_address="machineNAME" --credentials="domain\administrator","admin-pw" --host=AMS-Name --credentials="domain\administrator","admin-pw" --service=ams

 

and got a Crash: i only can choose "search online for a solution" or "Close Program" ..

What can i do ?

 

 

0 Users found this helpful

I found some Backgrounds:

After installing AcronisAgentWindows.msi and AcronisAgentCore.msi the Service MMS did not start, because "Wrong Password" ...

 

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Contributions: 22
Commentaires: 3800

Hi,

There are no known issues related to "acrocmd add machine" command recorded so far, so your issue is likely related to particular environment specifics (likely to the agent machine specifics) which need to be investigated with our support team involved. Remember to capture system reports from both agent and AMS machines (see https://kb.acronis.com/content/58301)

Thank you.

Now i found my own way:

- Installing AcronisAgentCore.msi,AcronisAgentWindows.msi on commandline ( or Software Distribution System)

- Creating user: net user AcrServ AcrServPW /ADD

- creating group: net localgroup "Acronis Remote Users" /ADD ( often available, but not always !)

- modifying group: localgroup "Acronis Remote Users" AcrServ /ADD

- modifying group: localgroup "administratoren" AcrServ /ADD

- modifying group: localgroup "Sicherungs-Operatoren" AcrServ /ADD

modifying user rights with script:

-----------Batch Start ----------------

rem Name LogonAsService
rem for CMD-Shell
rem Parameter %1 = userid (=ArcServ)
Rem
setlocal enabledelayedexpansion
c:
cd \temp

secedit /export /cfg configAlt.txt
type configAlt.txt > config.txt
del configNeu.txt > nul 2>nul

for /F "tokens=*" %%i in (config.txt) do (
    set vgl=%%i
    set vgl1=!vgl:SeIncreaseQuotaPrivilege=!
    set vgl2=!vgl:SeServiceLogonRight=!
    set vgl3=!vgl:SeSystemEnvironmentPrivilege=!
    set vgl4=!vgl:SeAssignPrimaryTokenPrivilege=!
    set vgl5=!vgl:SeDenyInteractiveLogonRight=!

    if not "%%i"=="!vgl1!" (
        echo %%i,%1>>configNeu.txt
    ) else (
        if not "%%i"=="!vgl2!" (
            echo %%i,%1>>configNeu.txt
        ) else (
            if not "%%i"=="!vgl3!" (
                echo %%i,%1>>configNeu.txt
            ) else (
                if not "%%i"=="!vgl4!" (
                    echo %%i,%1>>configNeu.txt
                ) else (
                    if not "%%i"=="!vgl5!" (
                        echo %%i,%1>>configNeu.txt
                    ) else (
                        echo %%i>>configNeu.txt
                    )
                )
            )
        )
    )
)

secedit /import /cfg configNeu.txt /db database.sdb
secedit /configure /db database.sdb /cfg configNeu.txt
Exit

---------Batch Ende ------------

Service auf host umstellen

VERY IMPORTANT: %1=HostName
sc \\%1 config MMS type= own obj= "%1\AcrServ" password= AcrServPW
sc \\%1 stop MMS (Errors can be ignored!)
sc \\%1 start MMS

Now the MMS is running stable on host ...

On Server:

acrocmd add machine --machine_address="HostName" --credentials="Domain\user","UserPW" --host=AMSServerName --credentials="Domain\user","UserPW" --service=ams

 

At this step your next Targets are in Acronis Console:

- assign a license to the host

- assign a backup-plan

 

tested with: Acronis 11.7 Build 50073

Status: solved (for me)