The Windows keyboard shortcuts Ctrl W and Alt F4 will perform the Close action. Depending on the application, Ctrl W is usually used for closing tabs and Alt F4 is usually used for closing windows. Close is a global keyboard shortcut that is usually located in the File menu. This keyboard shortcut for Close is available in Windows 10, Windows 8, Windows 7, Windows Vista and Windows XP. The same keyboard shortcut may also be available with other versions of Windows.