How to start KMeleon with high priority?
Posted by: J.G.
Date: March 05, 2018 12:06PM

I have tried everything but I have been unable to start Kmeleon with high priority. According to some info available at Internet, a *.bat file is needed with mostly this: start "KM-Goanna" /high "C:\KM-Goanna\k-meleon.exe", but it doesn't work. :s



Edited 2 time(s). Last edit at 03/05/2018 12:17PM by J.G..

Re: How to start KMeleon with high priority?
Posted by: roytam1
Date: March 05, 2018 03:45PM

You can't do this because it set itself to normal priority when respawning itself with restricted user right.
https://github.com/roytam1/kmeleon/blob/master/k-meleon/app/MfcEmbed.cpp#L195

But if you don't mind about security, you may try running start /high k-meleon.exe -norestrict instead.



Edited 2 time(s). Last edit at 03/05/2018 03:49PM by roytam1.

Re: How to start KMeleon with high priority?
Posted by: J.G.
Date: March 05, 2018 04:19PM

Quote
roytam1
You can't do this because it set itself to normal priority when respawning itself with restricted user right.
https://github.com/roytam1/kmeleon/blob/master/k-meleon/app/MfcEmbed.cpp#L195

But if you don't mind about security, you may try running start /high k-meleon.exe -norestrict instead.

@Roytam1 thank you very much, your trick about -norestrict is working like a charm! smiling smiley

K-Meleon forum is powered by Phorum.