Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a USB flash drive with a nightly version of Chromium on it. It's meant to run on somebody's computer without the need of installing Chromium on it.

The problem is that it's still saving the settings on the user's hard disk (e.g. in C:\Users\...\AppData\... on Vista). I'd like to keep the user's computer completely clean.

How can I prevent this storage? Is there a way to make Chromium either not save any settings, or save the settings on the flash drive instead?

share|improve this question
Changing %UserProfile% to a directory on the flash drive before starting Chromium might do it. – user55325 Dec 7 '11 at 10:18
@user55325: Searching for UserProfile revealed the answer, thanks! – pimvdb Dec 7 '11 at 11:54
up vote 2 down vote accepted

I should have searched a little more, since I eventually found the answer here:

You can also start Chromium with a custom user data directory in order to run multiple instances at the same time.


To do this, add the --user-data-dir flag to chrome.exe, like this:

chrome.exe --user-data-dir=c:\foo

So for my scenario I have to run:

chromium\chrome.exe --user-data-dir=%cd%\userdata

after creating a directory userdata on my flash drive. (This command is inside a batch file located in the same directory as the userdata directory is located.)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .