RUN AS LOCALSYSTEM USER
Please use this script to configure security settings in Google Chrome, Microsoft Edge, and Mozilla Firefox.
This script has been scanned with Virustotal.com and Xcitium Verdict Cloud.
PYTHON SCRIPT FILE SHA1 VALUE - 42af9200bb4f62bcbefbd35f6d3f201ccec12a74
JSON FILE SHA1 VALUE - 2fc34b0c468d143946add9d84aafc6f90c62a573
NOTE:
IMPORTANT - BROWSER RESTART:
When this script finishes, it force-closes Microsoft Edge, Google Chrome and Mozilla Firefox (taskkill) so the new settings apply immediately. Any open browser windows/tabs will close without saving.
Run this during a maintenance window or when the browsers are not in active use.
GOOGLE CHROME:
1. Safe browsing
give 0 in the chrome_safe_browsing_options if you want to set the safe browsing to "NO PROTECTION"
give 1 in the chrome_safe_browsing_options if you want to set the safe browsing to "STANDARD PROTECTION"
give 2 in the chrome_safe_browsing_options if you want to set the safe browsing to "ENHANCED PROTECTION"
2. Always use secure connections
give 0 in the chrome_HTTPS_Only_Mode_options if you do not want to allow users to enable "Always use secure connections"
give 1 in the chrome_HTTPS_Only_Mode_options if you want to enable "Always use secure connections"
3. Warn if a password was compromised in a data breach
give 0 in the chrome_PasswordLeakDetection_options to disable
give 1 in the chrome_PasswordLeakDetection_options to enable
4. Incognito mode
give 0 in the chrome_Incognito_options if you want to allow "Incognito mode"
give 1 in the chrome_Incognito_options if you want to disable "Incognito mode"
MICROSOFT EDGE:
1. TrackingPrevention:
give 0 in the TrackingPrevention_options if you want to set the TrackingPrevention to "disable"
give 1 in the TrackingPrevention_options if you want to set the TrackingPrevention to "Basic"
give 2 in the TrackingPrevention_options if you want to set the TrackingPrevention to "Balanced"
give 3 in the TrackingPrevention_options if you want to set the TrackingPrevention to "Strict"
2. Enhance your security on the web:
give 0 in the EnhanceSecurityMode_options if you want to set "Enhance your security on the web" to "disable"
give 1 in the EnhanceSecurityMode_options if you want to set "Enhance your security on the web" to "Balanced"
give 2 in the EnhanceSecurityMode_options if you want to set "Enhance your security on the web" to "Strict"
3. Microsoft Defender SmartScreen:
give 0 in the MD_SmartScreen_options if you want to disable "Microsoft Defender SmartScreen"
give 1 in the MD_SmartScreen_options if you want to enable "Microsoft Defender SmartScreen"
4. Block potentially unwanted apps:
you need to enable Microsoft Defender SmartScreen in order to use this option.
give 0 in the BlockPotentiallyUnwantedApps_options if you want to disable "block potentially unwanted apps"
give 1 in the BlockPotentiallyUnwantedApps_options if you want to enable "block potentially unwanted apps"
5. Website typo protection:
give 0 in the WebsiteTypoProtection_options if you want to disable "Website typo protection"
give 1 in the WebsiteTypoProtection_options if you want to enable "Website typo protection"
6. SiteSafetyServices:
give 0 in the SiteSafetyServices_options if you want to turn off site safety services to get more info about the sites you visit
give 1 in the SiteSafetyServices_options if you want to turn on site safety services to get more info about the sites you visit
7. Scareware Blocker:
give 0 in the Scareware_Blocker_options if you want to disable "Scareware Blocker"
give 1 in the Scareware_Blocker_options to enable (Protection + Block Detected Sites)
8. HTTPS-Only Mode (force enabled in UI):
give 0 in the Edge_HTTPS_Only_Mode_options = disallowed = Don't allow users to enable any HTTPS-Only Mode
give 1 in the Edge_HTTPS_Only_Mode_options = force_enabled = Force enable HTTPS-Only Mode in Strict mode
give 2 in the Edge_HTTPS_Only_Mode_options = force_balanced_enabled = Force enable HTTPS-Only Mode in Balanced mode
9. InPrivate mode:
give 0 in the edge_InPrivate_options if you want to allow "InPrivate mode"
give 1 in the edge_InPrivate_options if you want to disable "InPrivate mode"
10. Share detected scam sites with Microsoft Defender SmartScreen:
give 0 in the ShareDetectedScamSites_options if you want to disable sharing detected scam sites
give 1 in the ShareDetectedScamSites_options if you want to enable sharing detected scam sites
MOZILLA FIREFOX:
1. TrackingProtection:
give 0 in the EnableTrackingProtection_options if you want to disable the Enhanced Tracking Protection
give 1 in the EnableTrackingProtection_options if you want to enable the Enhanced Tracking Protection
2. HTTPS-Only Mode:
give 0 in the Https_Only_Mode_options if you want to disable the HTTPS-Only Mode
give 1 in the Https_Only_Mode_options if you want to enable the HTTPS-Only Mode
3. SafeBrowsing:
give 0 in SafeBrowsing_options if you want the following things to be disabled,
|*| Block dangerous and deceptive content
|*| Block dangerous downloads
|*| Warn you about unwanted and uncommon software
give 1 in SafeBrowsing_options if you want the following things to be enabled,
|*| Block dangerous and deceptive content
|*| Block dangerous downloads
|*| Warn you about unwanted and uncommon software
4. PrivateBrowsing:
give 0 in PrivateBrowsing_options if you want to enable private browsing
give 1 in PrivateBrowsing_options if you want to disable private browsing
DEVICE MANAGEMENT MARKER:
give 0 in the FakeMDMEnrollment_options if you do not want to add the marker
give 1 in the FakeMDMEnrollment_options if you want to add the marker only when the device is NOT domain joined, Entra (Azure AD) joined, or enterprise joined (checked using "dsregcmd /status")
give 2 in the FakeMDMEnrollment_options if you want to always add the marker
Comments