ContributionsMost RecentMost LikesSolutionsRe: Rescue Script Repository Thread- Share your scripts I found this athttp://support.microsoft.com/kb/259436 and thought it might be useful for others. query session >sessions.txt for /f "skip=1 tokens=3," %%i in (sessions.txt) DO logoff %%i del sessions.txt