Quick Way to Play Without any Mods
This question came up recently and seems to bring about lots of confusion and misinformation - will I get banned going online with mods (nope), do I need to install multiple copies of GTA5 to play without mods (nope).
This of course is particularly valid as long as you don't mod your game files instead of those in your mods folder. While SH5 and OpenIV installations will prevent you from going online, if you ever disabled those files for testing purposes (or other) and left mods in your games folder - yes, then their is possibility of a ban or at least a warning.
If you do want to play online, just rename the file dinput8.dll to something else (it's in your game folder).
Here is a simple batch file that will toggle dinput8.dll on and off by renaming it. Just drop this in a text document and change the extension to .bat. For example vanilla.bat. Change the first line to match your game folder.
You can run this by doubleclicking the file and you can place the file wherever you want on your desktop or other.
set ADDON_PATH="P:\SteamLibrary\steamapps\common\Grand Theft Auto V\"
set ADDON_NAME="dinput8.dll"
set DISABLE_NAME=".dinput8.dll"
cd /d %ADDON_PATH%
Ren %ADDON_NAME% %DISABLE_NAME% 2> nul || ren %DISABLE_NAME% %ADDON_NAME% 2> nul
And if you optionally want to open the GTA5 folder to verify the change was made, add this line at the very bottom
%SystemRoot%\explorer.exe %ADDON_PATH%
Again, make sure you have your path, not mine, up to the folder where GTA5.exe is.
On Steam Versions, the default will likely look like this
set ADDON_PATH="C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\"