Preventing the Microsoft Antimalware Service to start automatically

Page 1 of 2 12 LastLast

  1. Posts : 106
    Windows 7
       #1

    Preventing the Microsoft Antimalware Service to start automatically


    Hi

    From the Command Prompt, what would be the proper procedure to prevent the Microsoft Antimalware Service (the latest version) to start automatically during startup of Windows 7 SP1?

    Thanks

    Bye
      My Computer


  2. Posts : 20,583
    Win-7-Pro64bit 7-H-Prem-64bit
       #2

    Hi and welcome to SevenForums,
    Do you have MSE Microsoft security essentials installed ?
    Or is this related to windows defender ?
    Which security suite do you use ?
    Filling in your system spec's page would help :/
    Cheers.
      My Computer


  3. Posts : 106
    Windows 7
    Thread Starter
       #3

    ThrashZone said:
    Hi and welcome to SevenForums,
    Do you have MSE Microsoft security essentials installed ?
    Or is this related to windows defender ?
    Which security suite do you use ?
    Filling in your system spec's page would help :/
    Cheers.
    I turned off Windows Defender and Windows Firewall and I have no antivirus installed.

    I installed the latest version of MSE but I would like to start it manually. So, how do I do this?

    Thanks

    Bye
      My Computer


  4. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #4

    Why do you want to start it manually?
      My Computer


  5. Posts : 106
    Windows 7
    Thread Starter
       #5

    Jacee said:
    Why do you want to start it manually?
    Because I do not want any antivirus from starting automatically.

    So, how do I do this?

    Thanks

    Bye
      My Computer


  6. Posts : 106
    Windows 7
    Thread Starter
       #6

    Hi

    How do I disable the latest version of Microsoft Security Essentials on startup of Windows 7 SP1?

    Thanks

    Bye
      My Computer


  7. Posts : 106
    Windows 7
    Thread Starter
       #7

    To try to disable MSE when Windows starts, I created this bat file:

    Code:
    @echo off
    taskkill /im msseces.exe /f /t
    taskkill /im MsMpEng.exe /f /t
    net stop MsMpSvc
    sc config "MsMpSvc" start= disabled
    Next, I created a scheduled task

    Code:
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2014-10-26T11:08:46.4219135</Date>
        <Author>Pippo\Balubeto</Author>
      </RegistrationInfo>
      <Triggers>
        <BootTrigger>
          <Enabled>true</Enabled>
        </BootTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>D:\Users\Public\Documents\balubeto\MSE_disabled.bat</Command>
        </Exec>
      </Actions>
    </Task>
    so that it goes running with the System's rights when the system starts up.

    When, however, I rebooted the system, the MSE service is still active. How come?

    Where did I do wrong?

    Thanks

    Bye
      My Computer


  8. Posts : 2,465
    Windows 7 Ultimate x64
       #8

    You may try disabling the real-time scanning if you really want to disable it from startup and re-enabling it when you want it to run, but disabling again before shutdown.

    You can't simply disable the antivirus killing its processes because antiviruses use a kernel-mode driver, which Windows don't provides an interface for disabling (you can do it with third party software however). This driver is also responsible for preventing you from killing its user-mode processes as you want.

    What I don't really get is the reason for doing all this.
      My Computer


  9. Posts : 10,994
    Win 7 Pro 64-bit
       #9

    Same here. I don't understand why you wouldn't want your AV to run at boot. You're leaving your computer completely open to malware. IMHO
      My Computer


  10. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #10

    I keep checking in on this thread and I'm still wondering why one would want to do such a thing.
    Just a guess but it might be interfering with a torrent program.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:55.
Find Us