
On this page
If you ran the classic EnvKit on Windows, it changed your Microsoft Defender settings. It added folders and process names to Defender's exclusion lists, so Defender skipped them when scanning. EnvKit 1.0 doesn't do that any more, and its installer removes most of what the old app added.
This post lists what the classic app changed and why, what 1.0 does instead, and how to check your own machine.
What the classic EnvKit added
There were two places that wrote exclusions.
The installer added one path exclusion for the app's own install folder.
The app itself added more every time it started on Windows:
- three folders: the app folder again,
<data>\services(where PHP, MySQL, nginx and the other services are installed) and<data>\tools(Composer, cloudflared, Git, the GitHub CLI, Cmder) - 20 process names:
php.exe,php-cgi.exe,nginx.exe,caddy.exe,frankenphp.exe,httpd.exe,mysqld.exe,mariadbd.exe,redis-server.exe,memcached.exe,postgres.exe,mongod.exe,mailpit.exe,mercure.exe,rustfs.exe,node.exe,go.exe,gofmt.exe,bun.exeanddeno.exe
<data> is EnvKit's data folder. Classic EnvKit ran elevated on Windows, which is why it could write these settings at all.
Why it did that
Each exclusion fixed a real problem.
- The app folder. The classic installer put a self-signed exe of about 220 MB on disk. Defender scanned it as soon as it landed and held it locked, so the first launch after an install or update could fail. Excluding the folder let it start right away.
- The tools folder. Defender sometimes quarantined a freshly downloaded tool in the middle of an install. Tunnel clients like cloudflared were a common false positive. EnvKit added the exclusion before downloading, so the file was covered the moment it was written.
- The services folder and the process names. Real-time scanning slowed services down.
php-cgi.exewas the worst case: under Apache with mod_fcgid a new one can start for a request, and Defender scanned every launch.
Why that was the wrong trade
With a process exclusion, Defender skips the files that process opens. Given as a bare name, it matches any process with that name, not only EnvKit's. So every node.exe on the machine, wherever it came from, could read and write files without Defender scanning them. The same went for php.exe, go.exe and the rest of the list. That is a lot to ask of a local dev tool, and most people never knew it happened.
The path exclusions were narrower, but they still turned off scanning for folders full of downloaded executables.
Each exclusion made one symptom go away by making the machine a bit less protected. The better fix was to remove the causes.
What EnvKit 1.0 does instead
The new EnvKit doesn't need the exclusions, for two reasons.
First, the app is much smaller. The Windows 1.0.0 installer is 14.7 MB, where the classic one was about 100 MB. The new app doesn't drop a 220 MB exe for Defender to chew on at first launch.
Second, EnvKit's own programs are now signed with a Certum code-signing certificate. That covers EnvKit.exe, envkitd.exe, envkit-cli.exe, envkit-mcp.exe, envkit-helper.exe and the uninstaller. In the last betas the installer itself was already Certum-signed, but the programs it put on disk were signed with EnvKit's own self-signed certificate. Windows 11 Smart App Control blocks programs it has no reputation for, so it sometimes blocked EnvKit after an update ("An Application Control policy has blocked this file"). With the Certum signature that stops.
We also ran every 1.0.0 installer through VirusTotal. None of them had a detection.
So in 1.0:
- The installer adds no Defender exclusions.
- The app adds none when it starts, and it doesn't add one before downloading a tool either.
- The installer removes the path exclusion for its own install folder, the one the classic installer added.
- The installer removes all 20 process exclusions listed above.
The removal runs on every install and update, and it does nothing when there is nothing to remove. Installing 1.0 over the classic app cleans up a classic machine.
What stays for now
The <data>\services and <data>\tools folder exclusions are not removed yet. If your machine ran the classic app, they are probably still there. They are narrower than the process names, since they only cover EnvKit's own folders, but they are still exclusions you didn't ask for.
You can remove them yourself. Open PowerShell as administrator and list your path exclusions:
Get-MpPreference | Select-Object -ExpandProperty ExclusionPathLook for the two entries that end in \envkit\services and \envkit\tools, then remove them with the exact paths from that list. For example:
Remove-MpPreference -ExclusionPath 'C:\ProgramData\envkit\services', 'C:\ProgramData\envkit\tools'Use the paths your machine shows. If you moved EnvKit's data folder, they won't be under C:\ProgramData.
To check that the process exclusions are gone after installing 1.0:
Get-MpPreference | Select-Object -ExpandProperty ExclusionProcessNone of the 20 names above should be in the output, unless another program added them.
What Defender may still flag
Removing the exclusions means Defender scans what EnvKit downloads again, so the old trade-off can come back in small ways. A service may start a little slower on first launch, and a tool can still be a false positive. If Defender quarantines something EnvKit installed, it is better to report it than to exclude the folder again. Open an issue on Env-Kit/envkit-releases with the file name and the Defender message.
Smart App Control is a separate case. The Certum signature covers EnvKit's own programs, but the runtimes EnvKit installs, such as PHP and Node.js, come from their upstream projects. Some of their files aren't signed by a publisher Smart App Control trusts. When Smart App Control is on, EnvKit shows a warning that says so. If a service or tool doesn't start because of it, the fix Windows offers is turning Smart App Control off in Windows Security → App & browser control. Windows only lets you turn it back on by resetting or reinstalling.
Getting 1.0
EnvKit 1.0 is free, with no account. The Windows, macOS and Linux installers are in the download section. If you're on the classic app, click "Move to the new EnvKit" in it. Your sites, databases and settings stay where they are. The rest of what changed in 1.0 is in EnvKit 1.0: what a free local dev stack looks like in 2026.
Try it on your own projects
EnvKit is free, with no account. nginx or Apache, several PHP versions, MySQL, PostgreSQL, Redis, Node and trusted .test HTTPS from one app.
irm https://envkit.net/install.ps1?c=blog-envkit-1-0-windows-defender | iex