How to: Generate Saved-State Files
The Imagegen tool, which is included with Visual Studio, generates saved-state files for the Device Emulator and performs certain other functions, such as clearing the global saved-state cache.
To start Imagegen.exe
Open a console window.
Navigate to Imagegen.exe, installed by default at drive:\Program Files\Microsoft Device Emulator\1.0.
Run the file by using your choice of options.
For command-line options, see Imagegen Command-Line Reference.