Client Management Suite

 View Only
  • 1.  stop and start the altiris agent service

    Posted Jul 24, 2014 04:11 AM

    how can i stop  and start the altiris agent service on remote system



  • 2.  RE: stop and start the altiris agent service
    Best Answer

    Posted Jul 24, 2014 04:16 AM

    Use the psexec tool to run the command

    Download the psexec tool from article

    http://technet.microsoft.com/en-in/sysinternals/bb897553.aspx

    psexec \\computer name NET STOP AeXNSClient

    https://www-secure.symantec.com/connect/forums/altiris-client-service-related-query

     

     



  • 3.  RE: stop and start the altiris agent service
    Best Answer

    Broadcom Employee
    Posted Jul 24, 2014 04:18 AM

    There is already existing "Restart Symantec Management Agent" task in SMP Console. You can use it for defined managed endpoint to restart SMA there.

    RestartSMATask.jpg



  • 4.  RE: stop and start the altiris agent service
    Best Answer

    Posted Jul 24, 2014 04:21 AM

    second way is

    run services.msc on your system

    Right click on Services (local)

    Click on connect to another computer

    Enter the ip address/computer name in the box and ok.

    After that you can view the services of that computer

    stop/start the service of agent from there.

     



  • 5.  RE: stop and start the altiris agent service

    Posted Jul 24, 2014 09:52 AM

    Just or the fun of doing things unnecessarily complicated I will tell you how to use powershell for this.

    • Create a "run script" task with ScriptType "Command Script" and the code block
      "powershell "Enable-PSRemoting -force"
    • Run this on the target client machine to enable powershell remoting.
    • Open a powershell as administrator.
    • Run this command to stop a service:
    invoke-command -ComputerName name -ScriptBlock {stop-service AeXNSClient} -credential domain\user
    • Run this command to start the service:
    invoke-command -ComputerName name -ScriptBlock {start-service AeXNSClient} -credential domain\user

    References for self-help:

    http://technet.microsoft.com/en-us/magazine/ff700227.aspx

    http://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/



  • 6.  RE: stop and start the altiris agent service

    Posted Jul 24, 2014 11:02 AM

    Get-Service -ComputerName computer1 -name AexNSclient | Start-Service



  • 7.  RE: stop and start the altiris agent service

    Posted Jul 25, 2014 08:04 AM

    Doesn't work for me. The service remains in this state.