I have used the example "restart".
function:
ExitWindowsEx %EWX_LOGOFF OR %EWX_FORCE, 0
I have remarked that it does not work with "runas". Even if the registered user has admin rights, the function does not work with "runas".
function:
ExitWindowsEx %EWX_LOGOFF OR %EWX_FORCE, 0
I have remarked that it does not work with "runas". Even if the registered user has admin rights, the function does not work with "runas".
Comment