To save Blender user preferences in Blender's own installation folder, also known as a portable install, start by navigating to the place where you installed or unpacked the Blender archive.
Once there open the Blender folder and search for the version number folder (commonly
2.## ) inside the root directory, and inside it create a new directory called
Config such that it stays
If you now run Blender from this location and press Ctrl+U
recent-files.txt will be placed under this config folder by default.
If you already had any previously customized config files under your Windows profile you can manually copy them from the default profile location (generally under
C:\Users\$USERNAME$\AppData\Blender Foundation\Blender\2.##\) to this new location to bring back your previously saved preferences.
When using this method make sure Blender is not "formally installed" into one of the default system locations like
C:\Program Files or
C:\Program Files (x86) or any other place in the file system with restricted access or requiring administrator privileges to write to, otherwise saving preferences may fail or trigger UAC prompts.
This method is suitable if you install Blender in some removable media like a thumbdrive, external hdd, USB device, memory cards, or similar, and useful if you jump around devices frequently (between work, home or school). This way you can keep you settings and user preferences with you and carry them around wherever you go, without changing system installed or local defaults.