Subscribe to Feed


How to Use Windows 7 “Problem Steps Recorder” from command line?

Posted by admin as Microsoft, Windows


Problem Steps Recorder is a cool Windows 7 tool that can record your actions as a series of images.  Refer earlier post here for more information about the tool. In this post I will explain how to use this tool from a command line window (cmd.exe).


psr.exe [/start |/stop][/output <fullfilepath>] [/sc (0|1)] [/maxsc <value>]
    [/sketch (0|1)] [/slides (0|1)] [/gui (o|1)]
    [/arcetl (0|1)] [/arcxml (0|1)] [/arcmht (0|1)]
    [/stopevent <eventname>] [/maxlogsize <value>] [/recordpid <pid>]

/start            :Start Recording. (Outputpath flag SHOULD be specified)
/stop            :Stop Recording.
/sc            :Capture screenshots for recorded steps.
/maxsc            :Maximum number of recent screen captures.
/maxlogsize        :Maximum log file size (in MB) before wrapping occurs.
/gui            :Display control GUI.
/arcetl            :Include raw ETW file in archive output.
/arcxml            :Include MHT file in archive output.
/recordpid        :Record all actions associated with given PID.
/sketch            :Sketch UI if no screenshot was saved.
/slides            :Create slide show HTML pages.
/output            :Store output of record session in given path.
/stopevent        :Event to signal after output files are generated.

PSR Usage Examples:

psr.exe /start /output /sc1 /gui 0 /record <PID>
    /stopevent <eventname> /arcetl 1

psr.exe /start /output fullfilepath.xml /gui 0 /recordpid <PID>
    /stopevent <eventname>

psr.exe /start /output fullfilepath.xml /gui 0 /sc 1 /maxsc <number>
    /maxlogsize <value> /stopevent <eventname>

psr.exe /stop

1.    Output path should include a directory path (e.g. '.\file.xml').
2.    Output file can either be a ZIP file or XML file
3.    Can't specify /arcxml /arcetl /arcmht /sc etc. if output is not a ZIP file.

6 Responses to How to Use Windows 7 “Problem Steps Recorder” from command line?


September 29th, 2011 at 11:35 am

Thanks for your post.

Do you know how to put any comment during runtime with command line ?


PSR can be evil « annoyedadmin

December 2nd, 2011 at 6:42 pm

[...] The psr switches are kind fun too: [...]


September 21st, 2014 at 10:07 am

1000 thanks!

Jule T. Okeefe

September 26th, 2014 at 9:22 am

It is actually a great and useful piece of information. I’m happy that you simply shared this helpful information with us.
Please keep us up to date like this. Thanks for sharing.

detroit lions collar medium

October 22nd, 2014 at 9:18 pm

Aw, this was an incredibly good post. Taking a few minutes and actual effort to produce
a great article_ but what can I say_ I hesitate
a lot and never seem to get anything done.


August 22nd, 2015 at 1:12 am

Just wish to say your article is as amazing.
The clarity in your post is just excellent and
i could assume you are an expert on this subject.
Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post.
Thanks a million and please keep up the enjoyable work.

Comment Form