I wanted to logoff the users from the server who have logged in using terminal services, sorry for not mentioning this earlier...Ankit