When using a Settings.settings file in .NET, where is the config actually stored? I want to delete the saved settings to go back to the default state, but can\'t find where
It is in a folder with your application's name in Application Data folder in User's home folder (C:\documents and settings\user on xp and c:\users\user on Windows Vista).
There is some information here also.
PS:- try accessing it by %appdata% in run box!
All your settings are stored in the respective .config file.
The .settings file simply provides a strongly typed class for a set of settings that belong together, but the actual settings are stored in app.config or a .config file in your application.
If you add a .settings file, an app.config will be automatically added to house the settings if you don't already have one.
It depends on whether the setting you have chosen is at "User" scope or "Application" scope.
User scope settings are stored in
C:\Documents and Settings\ username \Local Settings\Application Data\ ApplicationName
You can read/write them at runtime.
For Vista and Windows 7, folder is
C:\Users\ username \AppData\Local\ ApplicationName
or
C:\Users\ username \AppData\Roaming\ ApplicationName
Application scope settings are saved in AppName.exe.config
and they are readonly at runtime.
I know it's already answered but couldn't you just synchronize the settings in the settings designer to move back to your default settings?