It will filter the running processes for excel and the current logged user.
So it should kill excel only for the current user, if multiple users are logged in on the server using excel.
Still it fails with access denied, only now and then, and not consistent, and also if that user is the only one logged in on the server at that time.
If we are using the option ‘OnlyCurrentUser’ then it will close the instance for only that user without affecting or closing other machine instances.
For ‘OnlyCurrentSession’ I feel only close those instance which got opened for particular session ex - If we are running bot through PIP mode