i tried -5 on a thread then the app wouldn't close not even with processhacker terminator plugin. if i set the same thread using processhacker then the app closes fine which is using the value 3 not -5. i'm pretty sure processhacker gets it done by elevating privileges on startup or something like that. so use -4, -5 at ur own risk. still a nice find tho :) Edit: knew i spoke too soon lol, seems the closing problem only happens when the app is launched from visual studio which also hangs for a while...
i tried -5 on a thread then the app wouldn't close not even with processhacker terminator plugin. if i set the same thread using processhacker then the app closes fine which is using the value 3 not -5. i'm pretty sure processhacker gets it done by elevating privileges on startup or something like that. so use -4, -5 at ur own risk. still a nice find tho :)