Disabling the real-time protection of MSE from the Command Prompt

Discussion in 'Windows 7' started by balubeto, Oct 27, 2014.

  1. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    468
    9
    10
    Hi

    From the Command Prompt of Windows 7 SP1, is there a way to disable the real-time protection of Microsoft Security Essentials?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. steven4554

    steven4554 MDL Addicted

    Jul 12, 2009
    927
    1,306
    60
    You can switch off real-time protection inside MSE:-

    http://forums.mydigitallife.net/attachment.php?attachmentid=31903&stc=1&d=1414403531
     

    Attached Files:

    • MSE.png
      MSE.png
      File size:
      180.2 KB
      Views:
      85
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    468
    9
    10
    From the Command Prompt of Windows 7 SP1, is there a way to disable this?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. zahnoo

    zahnoo MDL Senior Member

    Feb 2, 2011
    387
    35
    10
    #4 zahnoo, Oct 27, 2014
    Last edited: Oct 27, 2014
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,696
    15,683
    340
    #5 Tito, Oct 27, 2014
    Last edited by a moderator: Apr 20, 2017
    Enable:
    Code:
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Real-Time Protection" /V "DisableRealtimeMonitoring" /T "REG_DWORD" /D "0" /F
    
    Disable:
    Code:
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Real-Time Protection" /V "DisableRealtimeMonitoring" /T "REG_DWORD" /D "1" /F
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. CaptainKirk1966

    CaptainKirk1966 Former MDL Guru

    Oct 31, 2009
    1,966
    935
    60
    #6 CaptainKirk1966, Oct 27, 2014
    Last edited by a moderator: Apr 20, 2017
    fwiw: various things that I have tried ... (from adm cmd prompt)

    I would imagine that it should not be an easy thing to do.

    Code:
    C:\Users\Boss1\Desktop>REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Real-Time Protection" /V "DisableRealtimeMonitoring" /T "REG_DWORD" /D "1" /F
    ERROR: Access is denied.
    
    C:\Users\Boss1\Desktop>sc stop "MsMpSvc"
    [SC] OpenService FAILED 5:
    
    Access is denied.
    
    
    C:\Users\Boss1\Desktop>sc stop "NisSrv"
    [SC] OpenService FAILED 5:
    
    Access is denied.
    
     
  7. rjk123

    rjk123 MDL Member

    Apr 29, 2011
    101
    42
    10
    I would stop using MSE as soon as someone posts a method for doing it. ;)
     
  8. balubeto

    balubeto MDL Senior Member

    Dec 22, 2009
    468
    9
    10
    If I create a scheduled task and I imposed it to run at system startup with the rights of the System, the value of the DisableRealtimeMonitoring item will be changed?

    Thanks

    Bye
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...