Export and Import Exploit Protection Settings in Windows 10  

Page 2 of 2 FirstFirst 12

  1. Posts : 68,994
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    Paul Black said:
    Hello @Brink,

    In a Script that I am writing, I would like to check the existence of the file [ <if> <then> <else> scenario ] that is exported as per the Tutorial above, but I am having a real problem locating it anywhere on my system [ Group Policy / Registry ] !

    Have you any ideas please ?

    Thanks.
    Hello Paul,

    Are you using an environmental variable for the path since it saves to the current user's profile folder?
      My Computers


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #11

    Brink said:
    Are you using an environmental variable for the path since it saves to the current user's profile folder?
    Thanks for the reply @Brink, it is appreciated.

    The question was mainly for interest than anything else. I just wanted to know where the data source should be in order to directly query it to see if there was any data to output. Anyway, I have sorted it now by outputting the data to a %Temp% file and querying that file to see if it has any data or it is empty.

    Thanks again, and have a great weekend.
      My Computer


  3. Posts : 68,994
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #12

      My Computers


  4. Posts : 776
    Windows 7
       #13

    Code:
    $File = "$env:UserProfile\Desktop\ExploitProtectionSettings.xml"
    
    if ((Test-Path $File) -eq $false) {
        "$File not found."
    }
      My Computer


 

Tutorial Categories

Export and Import Exploit Protection Settings in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 11:24.
Find Us




Windows 10 Forums