Home (All Topics) → Technology → Software → AI-Created Software
Startup Ledger keeps a record of what starts with Windows, what VirusTotal says about each file, and what you decided about it. It exports the autostart entries with Sysinternals’ Autoruns, looks up their file hashes on VirusTotal, and on each run shows what is new, what changed and what needs a look.

It needs Python 3.8 or later on Windows, and nothing else: the window uses Tkinter, which the python.org installers include. Get a free VirusTotal API key (your VirusTotal profile, under API key), get autorunsc from the Autoruns download, then:
setx VT_API_KEY YOUR_KEY
python startup-ledger.py
In the window, press Export from Autoruns (it asks for Administrator rights: without them autorunsc misses services and other users’ entries), then Check with VirusTotal. Give autorunsc’s place in Settings if it isn’t on the PATH.
The free API allows 4 requests a minute and 500 a day, so a first check of a few hundred files can take an hour or more and may need a second day; later checks only look up what’s new or due for a recheck. Stop a check at any time: every answer is already cached, and the next check carries on.
--min-detections engines (1) say malicious.--local-hashing FALSE turns this off for an export from elsewhere).virus-total-results.csv, which opens in Excel; cells that look like formulas are made harmless.
For files you trust that VirusTotal will never know, such as your own programs. Allow (or --allow) records the file’s hash and VirusTotal result; the entry then stays out of the flagged and unknown lists while both stay the same. If either changes, it’s an ALLOWLIST ALERT until you allow it again or remove it. An entry pointing to a missing file can be acknowledged the same way, and is alerted if a file appears there. Allowlisted files are looked up again weekly (--recheck-allowlisted-days).
Run the export from Task Scheduler, so a fresh one is waiting when you open the window. Tick Run with highest privileges: in the background it never shows a UAC prompt, which nobody could answer. The program is pythonw.exe, with these arguments:
"C:\Tools\startup-ledger\startup-ledger.py" --export-autoruns TRUE --check-with-virus-total FALSE
--autorunsc-file-or-folder-path "C:\Tools\autorunsc64.exe"
--autoruns-export-file-path "C:\Tools\startup-ledger\autoruns-export.csv"
Leave out --check-with-virus-total FALSE to check the new export too. A failed or empty export leaves the last good one in place, and exits with 1.
The window keeps its settings in startup-ledger.ini in its working folder, and its data files beside it (all named under Command line). Each is written in one step, so a crash never leaves half a file. A damaged JSON file is kept aside and the run starts without it; one another program holds open stops the run, and is left as it is.
With an export given, it checks it on the command line instead of opening the window:
python startup-ledger.py --autoruns-export-file-path autoruns-export.csv
python startup-ledger.py --export-autoruns TRUE --autorunsc-file-or-folder-path "C:\Tools" --quiet TRUE
python startup-ledger.py --autoruns-export-file-path autoruns-export.csv --allow "MyApp.exe,backup-helper.exe"
Every option takes a value; yes/no options take TRUE or FALSE. Relative paths are from the current folder.
--working-folder-path FOLDER: the window’s settings and data (blank: the folder holding startup-ledger.py).--show-window TRUE: open the window (blank: only when no export is given).--autoruns-export-file-path CSV: the export to check and to write (blank when exporting: autoruns-export.csv).--export-autoruns TRUE: export with autorunsc first (default FALSE).--autorunsc-file-or-folder-path PATH: autorunsc, or its folder (blank: the first on the PATH).--add-timestamp TRUE: add the date and time to the export’s file name (default FALSE).--elevate auto: ask for Administrator rights: auto only from a console, ask always, never warns.--check-with-virus-total FALSE: export only, without a check (default TRUE).--virus-total-api-key KEY: the API key (blank: VT_API_KEY).--virus-total-output-file-path CSV, --virus-total-cache-file-path JSON: the results and the cache of lookups (default virus-total-results.csv and virus-total-cache.json).--virus-total-log-file-path LOG: also write the console output here (blank: no log).--requests-per-minute 4, --max-retries 6: the pace of lookups, and retries of a failed one.--max-requests 500: stop after this many lookups (0: no limit).--recheck-older-than-days N: look again at results older than this (0: every time; blank: never).--recheck-not-found-days N, --recheck-flagged-days N: the same for unknown and flagged files (blank: never).--min-detections 1: malicious engines needed to flag a file.--compare FALSE: don’t compare with the last results (default TRUE).--compare-to-file-path CSV: the results to compare with (blank: the last ones).--local-hashing FALSE: don’t hash files Autoruns couldn’t read (default TRUE).--allow TARGETS, --disallow TARGETS: add to or take off the allowlist (comma-separated names, paths or hashes).--allowlist-file-path JSON, --first-seen-file-path JSON, --priority-file-path JSON: the allowlist, the first-seen dates and the files marked to check first (default virus-total-allowlist.json, virus-total-first-seen.json and virus-total-priority.json).--recheck-allowlisted-days 7: look again at allowlisted files (none: never).--trusted-signers NAMES: comma-separated signers trusted besides Microsoft, for the option below.--skip-trusted-signers TRUE: don’t look up files with a trusted verified signature (default FALSE).--quiet TRUE: hide clean results checked before (default FALSE).--prioritize TRUE: look up the riskiest files first (default FALSE).Exit status: 0 done, 1 couldn’t be done, 2 a command-line mistake or a check stopped early (run the same command again to continue). Earlier switches are now options with a value: --no-compare is --compare FALSE, --no-local-hashing is --local-hashing FALSE, --trusted-signer is --trusted-signers, --compare-to is --compare-to-file-path.
| Key | What it does |
|---|---|
| F5 | Import the export again. |
| Ctrl+E | Export from Autoruns. |
| Ctrl+R | Check with VirusTotal. |
| Ctrl+F | Go to Search. |
| Esc | In Search: clear it. In Settings or a column filter: close it. |
| Enter | In the export field: import it. |
| Double-click a row | Open the file’s VirusTotal page. |
| Double-click a heading’s right edge | Fit that column to its widest cell. |
VT_API_KEY (a window opened before setx doesn’t see it), or type the key in Settings.-s. Export again from the app.

