Tools · Windows
Excel Trusted Locations Setup v4.4
Excel blocking macros in .xlsm files? Adds the folders you pick to Trusted Locations, with dry-run preview, undo, audit log, and live trusted-locations list. No hardcoded branding,
One-time licence, no subscription. Pay by bank transfer or PayPal.
Buy now →- Download immediately after payment
- Lookup code sent by email
- Refunded if the file is broken
AI summary
AI-generatedA utility that adds the folders you choose to Excel Trusted Locations to unblock macros in .xlsm files, with dry-run, undo, an audit log and a live trusted-locations list; no Administrator rights needed.
AI-generated summary. It may be incomplete — verify and read the full article below.
Features
- Three modes: Auto (from .ini), Drive, Folder — you pick the target
- Cross-platform launchers: .bat, .ps1, .sh, .command
- Live trusted-locations list after every add/delete
- Shows [tool]/[legacy]/[other] tags for each entry
- Downloads is never trusted silently: red warning, explicit confirmation
- Network drives are asked for one at a time, default NO, unless autoTrustMapped=1
- Removes an entry only when it carries this tool's fingerprint: the SV_ prefix, or a Trust_ name with the tool's own Description
- Entries an IT admin configured are left untouched, including the ones older versions of this tool left behind
- Leftover folders go to the Recycle Bin, never deleted permanently
- Registry snapshot before every real run; undo via /undo or a helper file
- /dryrun previews every change and writes nothing
- System directories refused: Windows, Program Files
- Refuses to run while Excel is still open (Excel overwrites the changes)
- Detects Excel 16.0, 15.0, 14.0, 12.0 automatically
- Audit log reports how many entries were removed and how many were left
- No hardcoded branding — descriptionPrefix in .ini (default "Excel Trusted Locations Tool:")
- No administrator rights needed — writes to HKCU only
System requirements
Windows 10/11, Microsoft Excel installed. No administrator rights needed. Must exit Excel completely before running.
Download file size
14.0 KB
Legal Disclaimer
SonVuDev is an independent developer. Not affiliated with, endorsed by, or sponsored by Microsoft. Windows, Excel and .NET are trademarks of Microsoft Corporation.
Run this file to make your Excel workspace stop blocking macros. Excel blocks macros and files arriving from internal shares and mapped drives by default. Editing the settings by hand means nobody remembers what was changed, and the guides you find online switch off Protected View entirely. This script only adds the folders you pick to the trusted-locations list — exactly where trust is needed, without widening the attack surface. v4.4 highlights: - Cross-platform launchers: Windows (.bat/.ps1), macOS (.sh/.command), Linux (bash) - ANSI escape codes fixed (PowerShell $ESC = [char]27) - No hardcoded branding: descriptionPrefix in .ini (default "Excel Trusted Locations Tool:") - PowerShell /auto bug fixed; /undo CLI support added - Trusted-locations list shown after every add/delete with [tool]/[legacy]/[other] tags - Runtime artifacts (.log, .snapshot.reg.*) excluded via .gitignore WHEN YOU NEED IT - Opening a .xlsm or .xlsb at work reports that macros are disabled - Files on a mapped drive (Z:, or a network path) open blocked - You do not want to edit Excel Options by hand or drop Protected View WHAT THIS TOOL DOES 1. Adds the folder you choose to Excel Trusted Locations 2. Enables Trusted Locations for the Excel version installed 3. Cleans entries carrying this tool's own fingerprints, including the ones older releases left behind 4. Records every action to a log for later review 5. Shows live trusted-locations list after every operation WHAT THIS TOOL DOES NOT DO - Does not create macros - Does not disable Protected View, unless the ini says disable-network - Does not trust Downloads or Temp automatically - Does not delete files or folders permanently - Never removes entries an IT administrator configured SAFETY MAP: FOUR GATES Gate 1, system directories are blocked. C:\Windows, C:\Program Files, C:\Program Files (x86) and everything underneath them. Choosing any of those is refused outright, even with /yes. Gate 2, Downloads is never trusted automatically. Downloads is where malware is most often delivered. Trusting it means every .xlsm dropped there runs macros immediately, including files sent by strangers. A silent run refuses completely; an interactive run shows a red warning and requires you to type y before it continues. Gate 3, network drives are asked for one at a time, default no. Every mapped drive found is asked about separately, and the default answer is no. Only autoTrustMapped=1 in the ini skips the prompt, and that is a choice you explicitly own. Gate 4, Excel must be closed. Excel writes back its security settings on exit, so any entries added while Excel is running get overwritten. The tool detects EXCEL.EXE and refuses to run if it is still open. OPERATION MODES Auto mode (from .ini): Create trusted_locations_excel_safe.ini with a [TrustedLocations] section listing paths. Run the launcher with /auto. Great for silent deployment. Drive mode: Pick a drive letter (D:, E:, ...). The tool scans common folders and asks about each one. Default answer is NO — you stay in control. Folder mode: Pick a specific folder containing your .xlsm files. The tool auto-detects the installed Excel version (16.0, 15.0, 14.0, 12.0) and writes to the correct registry key. LIVE TRUSTED-LOCATIONS LIST (v4.4+) After every add/delete (including dry-run), the tool displays the current Trusted Locations list with tags: - [tool] — entries added by this tool (SV_ prefix or matching Description) - [legacy] — entries from older versions of this tool (Trust_* with old Description) - [other] — entries from IT admin or manual setup This makes it trivial to audit what the tool manages vs. what your IT department manages. UNDO & SNAPSHOT Before every real run, the tool snapshots the registry keys it will touch. Use /undo to revert the last run, or run the generated undo helper file. The audit log records how many entries were added, removed, and left intact.
Frequently asked questions
- How do I receive the file?
- PayPal: the lookup code and download link are emailed immediately. Bank transfer: sent once the transfer is confirmed, usually within business hours.
- How many times can I download it?
- As many as you like. The lookup code in your email makes a fresh download link on demand; links expire quickly, the number of downloads does not.
- Which platforms does it run on?
- Windows. Windows 10/11, Microsoft Excel installed. No administrator rights needed. Must exit Excel completely before running.
- What if the file is broken?
- Email hello@sonvudev.com with your order code and the file is replaced or refunded under the Refund Policy.
- How long do I have to pay?
- An unpaid order is cancelled after 24 hours, so pay inside that window and nothing happens to it.