Windows Security/Protection history


  1. Posts : 43
    Windows 10
       #1

    Windows Security/Protection history


    Happy Holidays to All.
    Nov 5th 2019: Windows 10 Pro version Winver 18362.449, I have since updated to 1909, winver 18363.476. But since Nov 5th I have had random shutdown of Outlook.com mail, either using Firefox or EDGE. Microsoft opened a case number and promptly closed it.
    Today: 2 Dec 2019 I found these settings shown in the uploaded snips. I am signed into the account as the administrator, but cannot gain access to remove these 2 "Protected Files"...in fact I cannot even go back and find them again!!
    I want to believe that these 2 folders are the source of my problems...the real problem is that this failure of Outlook.com has migrated across several windows 10 platforms, without any prompting.

    If this is posted in the incorrect forum title I would appreciate it be moved to its correct location.
    Any help would be appreciated.
    Stu

    Windows Security/Protection history-problem-1.pngWindows Security/Protection history-problem-2.png
      My Computer

  2. bro67's Avatar
    Posts : 8,370
    Mac OS Catalina
       #2

    Make both of those set as exceptions. This works just like any other type of protection software that learns by interaction with A.I.
      My Computers

  3. FreeBooter's Avatar
    Posts : 4,055
    Windows 10 Pro 64-bit
       #3

    Add "Allow App through Controlled Folder Access" context menu in Windows 10


    Code:
    ::  Add "Allow App through Controlled Folder Access" context menu in Windows 10
    
    @Echo Off
    
    net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit)
    
    :_Start
    Cls & Mode CON  LINES=11 COLS=90 & Color 0E 
    Echo.
    Echo.       
    Echo         Type (R) to Remove "Allow app through Controlled folder access" Context Menu  
    Echo.       
    Echo.
    Echo.
    Echo.         
    Echo         Type (E) to Add "Allow app through Controlled folder access" Context Menu    
    Echo.       
    
    
    
    Set /p input= RESPONSE: 
    If /i  Not %input%==R (Goto :_Ex) Else (Goto :_Disable)
    
    :_Ex
    If /i  Not %input%==E  (Goto :_Start) Else (Goto :_Enable)
    
    
    
    
    
    :_Enable
    
    Reg.exe add "HKCR\comfile\Shell\AllowControlledFolderAccess" /ve /t REG_SZ /d "Allow app through Controlled folder access" /f
    Reg.exe delete "HKCR\comfile\Shell\AllowControlledFolderAccess" /v "Extended" /f
    Reg.exe add "HKCR\comfile\Shell\AllowControlledFolderAccess" /v "HasLUAShield" /t REG_SZ /d "" /f
    Reg.exe add "HKCR\comfile\Shell\AllowControlledFolderAccess" /v "Icon" /t REG_SZ /d "%%ProgramFiles%%\Windows Defender\EppManifest.dll,-101" /f
    Reg.exe add "HKCR\comfile\Shell\AllowControlledFolderAccess\command" /ve /t REG_SZ /d "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/c,start PowerShell.exe Add-MpPreference -ControlledFolderAccessAllowedApplications \"\"%%1\"\"'  -Verb RunAs\"" /f
    Reg.exe add "HKCR\exefile\Shell\AllowControlledFolderAccess" /ve /t REG_SZ /d "Allow app through Controlled folder access" /f
    Reg.exe delete "HKCR\exefile\Shell\AllowControlledFolderAccess" /v "Extended" /f
    Reg.exe add "HKCR\exefile\Shell\AllowControlledFolderAccess" /v "HasLUAShield" /t REG_SZ /d "" /f
    Reg.exe add "HKCR\exefile\Shell\AllowControlledFolderAccess" /v "Icon" /t REG_SZ /d "%%ProgramFiles%%\Windows Defender\EppManifest.dll,-101" /f
    Reg.exe add "HKCR\exefile\Shell\AllowControlledFolderAccess\command" /ve /t REG_SZ /d "PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/c,start PowerShell.exe Add-MpPreference -ControlledFolderAccessAllowedApplications \"\"%%1\"\"'  -Verb RunAs\"" /f
    
    Cls & Mode CON  LINES=5 COLS=90 & Color 0E 
     Echo.
     Echo. 
     Echo            Adding "Allow app through Controlled folder access" to Context Menu
    
    Ping -n 5  localhost > Nul
    
    Exit
    
    
    
    
    
    :_Disable
    
    Reg.exe delete "HKCR\comfile\Shell\AllowControlledFolderAccess" /f
    Reg.exe delete "HKCR\exefile\Shell\AllowControlledFolderAccess" /f
    
    Cls & Mode CON  LINES=5 COLS=90 & Color 0E 
     Echo.
     Echo. 
     Echo            Removing "Allow app through Controlled folder access" from Context Menu
    
    Ping -n 5  localhost > Nul
    Add Turn On or Off Controlled Folder Access context menu Windows 10

    Add Allow App through Controlled Folder Access context menu Windows 10
      My Computer


  4. Posts : 1,544
       #4

    Freebooter, you should be teaching classes about Windows!
      My Computer

  5. bro67's Avatar
    Posts : 8,370
    Mac OS Catalina
       #5

    RolandJS said:
    Freebooter, you should be teaching classes about Windows!
    They are. They like Kari, and Brink reach a wider audience using this site to educate and introduce others to these tools.
      My Computers


  6. Posts : 1,544
       #6

    bro67, you're right, community college classes would not be as wide an audience as sevenforums.
    Meanwhile, Freebooter, do you have a toolkit, a pot, of BATs, CMDs, EXEs, ZIPs that we can hoard on our respective HDDs?
      My Computer

  7. FreeBooter's Avatar
    Posts : 4,055
    Windows 10 Pro 64-bit
       #7

    RolandJS said:
    bro67, you're right, community college classes would not be as wide an audience as sevenforums.
    Meanwhile, Freebooter, do you have a toolkit, a pot, of BATs, CMDs, EXEs, ZIPs that we can hoard on our respective HDDs?
    I have many batch scripts if you want i can give it to you.
      My Computer

  8. bro67's Avatar
    Posts : 8,370
    Mac OS Catalina
       #8

    FreeBooter said:
    I have many batch scripts if you want i can give it to you.
    We need to have the owners setup a folder that allows those like you to place your tools in there, even with a Subscription by paying it forward would allow those creating and managing the tools to keep being able to help benefit others.
      My Computers


  9. Posts : 1,544
       #9

    FreeBooter said:
    I have many batch scripts if you want i can give it to you.
    Freebooter, I just invited you to the two geek stuff categories in GoogleMyDrive college cafe, if you accept, I will add you as an editor, you can upload all you want. Meanwhile, definitely add your great stuff into both seven and ten forums! :)
    Last edited by RolandJS; 05 Dec 2019 at 10:16.
      My Computer


 

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

Designer Media Ltd
All times are GMT -5. The time now is 07:14.
Find Us




Windows 10 Forums