Skip to content

Instantly share code, notes, and snippets.

@jonathansampson
Last active October 3, 2016 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathansampson/f989f8eb908ac29262f7f2c417475818 to your computer and use it in GitHub Desktop.
Save jonathansampson/f989f8eb908ac29262f7f2c417475818 to your computer and use it in GitHub Desktop.

Uninstalling Brave? You might find these files remain…

Windows Prefetcher

C:\Windows\Prefetch\BRAVE.EXE-12587E3E.pf
C:\Windows\Prefetch\BRAVEDEFAULTS.EXE-1B817C79.pf
C:\Windows\Prefetch\BRAVESETUP-X64.EXE-6C8F74DD.pf

Windows Prefetcher is a utility native to Windows that works to improve performance with frequently-used applications. This utility has been present in versions of Windows since XP. Because you have ran BraveSetup, Brave, and BraveDefaults, it will attempt to load them more quickly in the future.

Read more about Prefetcher on MSDN.

AppData\Local, and AppData\Roaming

C:\Users\<name>\AppData\Roaming\brave
C:\Users\<name>\AppData\Roaming\Microsoft\Windows\Recent Items\brave

AppData\Local, and AppData\Roaming are two directories in which software on your machine may store information. Local is for information that should persist between sessions (if you browse with Brave today, and then browse with Brave again tomorrow). Roaming is for information that should persist between devices (if you browse with Brave from your desktop, and then browse with Brave from your laptop).

You can learn more about this feature of Windows on MSDN.

Brave Developers Crashes

C:\Users\<name>\AppData\Local\Temp\Brave Developers Crashes
C:\Users\<name>\Local Settings\Temp\Brave Developers Crashes

To improve the quality of Brave over time, crash reports may be generated on failures. Brave uses Electron's built-in Crash Reporter. You'll find it in the source of crash-herald.js. The contents of this payload are shared in Electron's documentation.

Learn more about Electron's Crash Reporter via its source on GitHub.

Windows Error Reporting

C:\Users\<name>\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Brave.exe_adef2851fa...
C:\Users\<name>\AppData\Local Settings\Microsoft\Windows\WER\ReportArchive\AppCrash_Brave.exe_adef2851fa...

Introduced in Windows Vista, Windows Error Reporting is able to gather information about certain crash events. This information can then be used to look-up potential solutions to the problems encountered. If you've had the misfortune of having Brave crash on your machine, you will likely come across a handful of files like those shown above.

Read more about Windows Error Reporting on MSDN.

User Downloads

C:\Users\<name>\Downloads\BraveSetup-x64.exe

More often than not, this is the default path browsers will use when saving files to your disk. As a result, you may find that BraveSetup will hang around here. It's perfectly safe to delete files from this directory; most of them are used only once, often to install an application (like Brave).

Recent Places

C:\Users\<name>\Recent\brave

Windows XP shipped with feature that would list your most recently-accessed files, and folders. If you happen to visit one of the remaining brave folders (either via AppData\Local, AppData\Roamining, or elsewhere), you'll find a record of that visit in this list.

This feature has been modified in later versions of Windows, and may exist under slightly different names/locations.

Documents and Settings, and Access Denied!

C:\Users\<name>\Downloads\BraveSetup-x64.exe
C:\Documents and Settings\Downloads\BraveSetup-x64.exe

When searching for files on your machine, you may find redundancies. For instance, in the examples above, we see that BraveSetup-x64.exe exists in both C:\Users\<name>\Downloads, and C:\Documents and Settings\Downloads. As you might have guessed, these are actually the same file, in the same directory.

Older software may perform look-ups against hard-coded paths, and thus expect there to be a Documents and Settings directory. To avoid causing mass-anguish, Microsoft Windows ships with a C:\Documents and Settings\ directory that is nothing more than a Symbolic Link to C:\Users\<name>\.

Becausae Documents and Settings is not an actual folder, many interactions with it will result in "Access Denied!" prompts, in spite of the fact that you may be an Administrator on the machine. If you remove the file(s) from C:\Users\<name>\Downloads, you'll find that they will no longer be reported under C:\Documents and Settings\Downloads either.

Learn more about this in KB930128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment