You can loop thru the ShellWindows collection and kill them all: import win32com.client shellwindows_guid='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}' for sw in win32com.client.Dispatch(shellwindows_guid): sw.Quit() Roger