smc -stop in a batch file with password.
Created: 30 Jun 2010 | Updated: 02 Aug 2010 | 9 comments
This issue has been solved. See solution.
when I use smc -stop command it asks me for password and after supplying password sep stops.
Now I want to create a batchfile in which i can set the password for smc -stop command which will not ask me the password to enter and stop sep.
something like this where my password is password
smc -stop pass:password
can anyone create this . please helpme.
Discussion Filed Under:
Comments 9 Comments • Jump to latest comment
there should be a way in terms of changing in registry, however just entering passwor din the script may not ehlp ( my understanding) since its interface where you type in password, the script may not fulfil.
Me too curious to know
Cheers!
Pete
Help Link: http://www.symantec.com/business/support/overview.jsp?pid=54619
I am not so good with scripts
but create script and to add a password to stop smc add this line to the script
"%programfiles%\symantec\symantec endpoint protection\smc.exe" –stop – p ******** ( where ******* is your password)
Prachand MCSE-2012 Symantec Technical Specialist (SCTS)
Hi Prachand
smc.exe –stop – p ********
Not working as it still asking for password
Bijay,
Have you tried -p without a space, because it looks like there is a space between - and p. The space should not be there.
Thanks & Regards,
Mudit Kumar
Try this
@echo off
echo.
"%programfiles%\symantec\symantec endpoint protection\smc.exe" -stop -p *******
echo End of script.
echo.
Prachand MCSE-2012 Symantec Technical Specialist (SCTS)
Thanks Prachand
It Worked great.
yes, there are no arguments associated with smc
Cheers!
Pete
Help Link: http://www.symantec.com/business/support/overview.jsp?pid=54619
I created a batch file like this
Password I kept as passw0rd for stopping the smc service.
@echo off
cd c:\Program Files\Symantec\Symantec Endpoint Protection
smc -stop -p passw0rd
echo "smc service stopped"
pause
exit
It worked for me.....
Please don't forget to mark your thread solved with whatever answer helped you : ) Thanks & Regards Aravind
kudos!
it worked.
Cheers!
Pete
Help Link: http://www.symantec.com/business/support/overview.jsp?pid=54619
Would you like to reply?
Login or Register to post your comment.