Endpoint Protection

 View Only
  • 1.  Batch file to run stop and start smc service

    Posted Jan 22, 2018 05:06 PM

    Hi, I've written a batch file to stop the smc service, but each time I run it, there is a User Account Control pop-up that asks for permission to stop the service.  Is there a way on my command line that I can prevent this pop-up from occurring?  I want the procedure to be silent.

    Thanks



  • 2.  RE: Batch file to run stop and start smc service

    Posted Jan 23, 2018 12:00 AM
    Can you please share the batch code with us for the betterment of the community ? Thanks


  • 3.  RE: Batch file to run stop and start smc service

    Trusted Advisor
    Posted Jan 24, 2018 02:53 AM

    This is by design. I would strongly advise not to disable UAC unless you restrict it to specific program. And test, test & test.