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 Addicted

    Dec 22, 2009
    580
    10
    30
    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 Expert

    Jul 12, 2009
    1,428
    2,610
    60

    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 Addicted

    Dec 22, 2009
    580
    10
    30
    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
    18,681
    18,587
    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
    
     
  6. CaptainKirk1966

    CaptainKirk1966 Former MDL Guru

    Oct 31, 2009
    2,549
    1,377
    90
    #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 Addicted

    Dec 22, 2009
    580
    10
    30
    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...