What is the shortcut key for renaming files in Windows 11? The shortcut key to rename files or folders in Windows 11 is F2. Select the file or folder you want to rename and press the F2 function key.