Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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.

Windows

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.