windows10 restart create temp exe and new firewall rule to validate

Issues related to Enigma Virtual Box
Post Reply
christian audebert
Posts: 1
Joined: Fri Mar 13, 2020 6:40 am

windows10 restart create temp exe and new firewall rule to validate

Post by christian audebert »

my pogramm created with qt expose a websocket server.
running perfectly in virtual box, xp to win10..
so, the problem come when i try to restart program on windows 10, only on windows 10
i need to restart to apply changes..
in QT
QProcess* proc = new QProcess();
proc->start(QApplication::applicationFilePath());

at restart, the windows 10 firewall detect a new program temp instance, and ask for authorize new program to use network.
each time, the restart process create new temp instance.
if i do the same from program not embedded in virtual box, the restart run perfectly..

so, embeded in virtual box, the restart create temp instance...and new firewall rule ..
ex, starting by running my program
C:\Users\tada\Documents\UNPS\UNPSv0_5.exe
and on restart, the firewall ask to authorize
C:\Users\tada\appdata\local\temp\evb8233.tmp

any way to avoid validating each time for firewall rule.?
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: windows10 restart create temp exe and new firewall rule to validate

Post by Enigma »

Hi Christian,

Temp file is required by program to virtualize the executable file. The exe file itself does not contain any information inside, it is just used as a helper file.

I do understand the issue, but not sure what would be a solution? If we make an option to select a corresponding tmp file name to exe/dll in Virtual Box, won't it overload the current functionality, I mean this is very specific option and not sure if other users will use it.
Post Reply