Portable Repackager

<< Click to Display Table of Contents >>

RayPack > 7.3 > User Guide > Utilities and Standalone Tools 

Portable Repackager

The portable repackager is a general-purpose, standalone, and license-free executable which can be used to:

 

Snapshot the current state of the machine.

Compare two snapshots to produce RCP files.

 

The tool rps.exe can be found in subfolder Tools/Repackaging.

 

Creating Snapshots with RPS.EXE

Syntax:

rps.exe snapshot -snap <snap_file> [DRIVE1: [DRIVE2: ....]] [HKLM|HKCU|HKCR] [-permissions <True|False>] [-services <True|False>] [-ini <True|False>]

 

Parameters:

-snap <snap_file>

(required) The full path to a snapshot file, for example C:\snapshots\snapshot.rcs.

 

DRIVE1: [DRIVE2: ....]

(optional) A list of drives to scan separated by space, for example C: D: E:. By default nothing is scanned.

 

HKLM|HKCU|HKCR

(optional) A list of registry root nodes to scan, separated by space, for example HKLM HKCU. By default nothing is scanned.

 

-permissions <True|False>

(optional) A boolean value determining whether permissions are scanned. Default: False.

 

-services <True|False>

(optional) A boolean value determining whether services are scanned. Default: False.

 

-ini <True|False>

(optional) A boolean value determining whether INI files are scanned. Default: False.

 

Examples

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: HKLM

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: D: HKLM HKCU -permissions True

rps.exe snapshot -snap C:\temp\snapshot1.rcs C: -permissions True -services True -ini True

 

Comparing Snapshots

Syntax:

rps.exe compare <snapshot1> <snapshot2> <output_file> [-copyFiles <True|False>] [-discardExcluded <True|False>]

 

Parameters:

<snapshot1>

(required) The full path to the first snapshot file, for example C:\snapshots\snapshot1.rcs.

 

<snapshot2>

(required) The full path to the second snapshot file, for example C:\snapshots\snapshot2.rcs.

 

<output_file>

(required) The full path to the output file, for example C:\snapshots\comparisonResult.rcp.

 

-discardExcluded <True|False>

(optional) Determines whether to discard excluded items. Default: <False>.

 

-copyFiles <True|False>

(optional) Determines whether new or changed files are copied. Default: <False>.

 

Examples

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp"

rps.exe compare "C:\temp\snapshot1.rcs" "C:\temp\snapshot2.rcs" "C:\temp\result.rcp" -copyFiles True -discardExcluded False