I need to develop a java program that is able to eliminate user session from a windows server. For that I am using the java commands: Runtime.getRuntime (). Exec ("reset session").
When I run on my windows user, it works perfectly because my user is adm, but I would like any user to be able to run my program without these being adm, is there any configuration in the code that allows this?