# Gmt.exe disappears on Win10 and Win11

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618>\
**Category:** Q&A\
**Created:** [January 20, 2023, 4:57am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618 "2023-01-20T04:57:31Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 20, 2023, 4:57am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/1 "2023-01-20T04:57:31Z")

</div>

Hello,  
Has anyone heard instances of gmt.exe disappearing on windows installs? I have been using gmt for many years, and just this week I have run into gmt.exe disappearing from C:\programs\gmt6\bin\ on several of my computers.  
I wonder if this is due to a new security update to Windows or possibly my institution’s antimalware software?  
This is a shot in the dark, but I figured if anyone would know, it would be someone here.  
None of the other .exe files seem to be gone, although there are many, so I didn’t count each one. gmt.exe is not in the recycle bin. Strange!

Any ideas?

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 20, 2023, 5:17am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/2 "2023-01-20T05:17:48Z")

</div>

Update: Yes, it appears that my institution’s antimalware software, Cisco Secure Endpoint, has deemed gmt.exe as malware. I will work with my institute’s IT team to get an exclusion made.

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [January 20, 2023, 7:39am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/3 "2023-01-20T07:39:00Z")

</div>

Maybe the executable isn’t signed? And then flagged, @Joaquim?

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 20, 2023, 1:18pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/4 "2023-01-20T13:18:36Z")

</div>

Yes, the gmt binaries are not signed (no idea on how to do that). And yes, AVs are a plague.

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 20, 2023, 3:17pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/5 "2023-01-20T15:17:05Z")

</div>

I think only device drivers can be signed? but I may be mistaken.  
Cisco endpoint has flagged gmt.exe as  
Gen:variant.Lazy.286216  
I am working with our IT staff to get an exception made. Hopefully we can get a solution quickly.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 20, 2023, 4:26pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/6 "2023-01-20T16:26:51Z")

</div>

I believe installers can be signed too but I have some distant idea that it implies buying a license somewhere.

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 20, 2023, 4:43pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/7 "2023-01-20T16:43:02Z")

</div>

Here is what my IT folks said. Their fix was successful for me.  
“We can exclude the gmt.exe process by its hash, and then have additional processes it creates be excluded, but we wouldn’t do that full path because \gmt\gmt.exe is also the executable path for the executable that the Gator adware network uses. I suspect that’s why it’s flagging it as malicious, it’s doing a filename check before checking the hash.”  
So, I consider this thread solved. If anyone else has similar problems hopefully this will help.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 20, 2023, 5:03pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/8 "2023-01-20T17:03:50Z")

</div>

Semi good I’d say as it will break on next GMT version.  
But `gmt.exe` is one source of the problem, remember that on Windows and classic mode the individual modules still _reply_ by their names. _i.e._ we can do `psxy ...` instead of `gmt psxy ...`

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [January 20, 2023, 5:16pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/9 "2023-01-20T17:16:37Z")

</div>

Compel IT dept. to install WSL, and you can easily compile and upgrade gmt when you feel for it!

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 21, 2023, 12:55am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/10 "2023-01-21T00:55:44Z")

</div>

… and pull your hairs with file permissions if you mix those two faces of the window.

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 21, 2023, 4:07am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/11 "2023-01-21T04:07:24Z")

</div>

The IT folks put in an exception for gmt.exe today and I am back up and running. I am a classic mode user, but the other exe files were not flagged so there are no issues now. When I update GMT someday and the hash changes, I will know what to request from IT to get it to not be flagged.

I have WSL, but this is why I still use cygwin for most of my scripting (bash/perl). Cygwin is far from perfect, but it allows one to mix the Linux and Windows environments and directories. I wish GMT would compile in cygwin. I have had no luck with getting version 6 to compile. I understand that GMT can only support so many different environments, so I just use the windows binaries with cygwin and it works fine.

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [January 21, 2023, 6:25am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/12 "2023-01-21T06:25:56Z")

</div>

Would be helpful if you could post all the output that occurs when you do try to build in Cygwin. GMT has supposed Cygwin for many years but given the fewer and fewer people who bother it is possible we have not kept up with the hassle. But there are tons of #ifdef **CYGWIN** statements in GMT so we are interested to see what fails (none of us have cygwin at the moment).

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [January 21, 2023, 9:53am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/13 "2023-01-21T09:53:22Z")

</div>

I use gmt on WSL every day without any file permission- or directory issues. Accessing `windows drive(s)`, e.g C: is trivial.

If cygwin users are so few; why not remove the ifdef`s?

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 21, 2023, 6:53pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/14 "2023-01-21T18:53:28Z")

</div>

@Andreas: According to Microsoft, using WSL in the windows directory system (outside of the WSL environment) results in a performance penalty and is not recommended.

> **[File storage and performance across file systems - Working across file systems](https://learn.microsoft.com/en-us/windows/wsl/filesystems#file-storage-and-performance-across-file-systems)**
>
> There are a number of considerations to keep in mind when working between Windows and Linux file systems. We have outlined a few of them for you in this guide, including some examples of interoperability support for mixing Windows and Linux-based...

I use a cloud storage system and I don’t want to have to duplicate my files on WSL and windows. Have you noticed any performance or file permission issues when working outside of the WSL native directory structure?

---

<div class="post-metadata">

**Author:** ![marshallst](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@marshallst](https://forum.generic-mapping-tools.org/u/marshallst)\
**Post date:** [January 21, 2023, 6:56pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/15 "2023-01-21T18:56:19Z")

</div>

@pwessell - I will do that someday and post in a new thread. My recollection was that there were many warnings, but it did compile. Then when I went to execute anything, I got errors related to gmt.conf and things related to the gmt set command. I also had to rename the main gmt dll file as it was looking for the wrong file. Someday, I will start a thread. Thanks for the interest!

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [January 21, 2023, 8:41pm UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/16 "2023-01-21T20:41:24Z")

</div>

@marshallst: Not really; I have not thought about any performance difference if I’m working inside or ‘outside’ the WSL native directory. I spend most time outside of the WSL native directory.  
That said, comparing the performance of WSL compared to a machine running Linux on the metal, there is a big difference. I’m forced to use WSL1 - I think WSL2 is noticeable faster, so maybe the difference is smaller in those cases. I tried Cygwin some years ago (maybe 10) and that felt awfully slow. Maybe it’s better now.

I’m forced to use Windows on my work laptop. WSL works great in that case, and although it’s not lightning fast, it’s sure alot better than to have to deal with Windows’ command prompt and have access to ~everything a Linux distribution has to offer.

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [January 22, 2023, 2:43am UTC](https://forum.generic-mapping-tools.org/t/gmt-exe-disappears-on-win10-and-win11/3618/17 "2023-01-22T02:43:47Z")

</div>

My previous and quite unpleasant experience was that if I touched _WSL files_ (delete/copy) with the Windows file manager then I was screwed with file permissions. Since there is really nothing I can’t do on the Windows side alone (with occasional bash help), WSL remains for me as a test ground for the plethora of my source builds.
