Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

stop and start the altiris agent service

Created: 24 Jul 2014 • Updated: 24 Jul 2014 | 6 comments
This issue has been solved. See solution.

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

Comments 6 CommentsJump to latest comment

Igor Perevozchikov's picture

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

  1. Don't forget that, first you can find an answer for your question in Knowledge base
  2. If answer solves your question, then please mark as solution to close a thread
SOLUTION
chin_aust's picture

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.

SOLUTION
STHN's picture

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/

PMCS GmbH & Co. KG - Consulting und Support für Altiris/SEP/EV und andere Symantec Produkte.
Please take the time and mark this post as solution if it solved your problem - thanks!

lotsill's picture

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

STHN's picture

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

PMCS GmbH & Co. KG - Consulting und Support für Altiris/SEP/EV und andere Symantec Produkte.
Please take the time and mark this post as solution if it solved your problem - thanks!