Prerequisites
Steps to Use RepCLI Repro
- Log into the desired device (either directly or via RDP) with a user account that matches the User or Group SID configured for RepCLI Authentication OR open Command Prompt and type the following to run cmd as a user configured for RepCLI Authentication
>runas /user:<repcli auth domain\repcli auth username> cmd
press ENTER
>Enter the password for <repcli auth domain\repcli auth username>:
type password and press ENTER
Example:
>runas /user:vmware\juser cmd
press ENTER
>Enter the password for vmware\juser:
type password and press ENTER
- Open a Command line from the Confer Directory 'C:\Program Files\Confer'
- Run the following command repcli repro <LocalOutputPath>
C:\Program Files\Confer>repcli repro C:\<LocalOutputPath>
Example
repcli repro C:\Windows\temp
NOTE: Any existing psc_sensor.zip in the output directory will be overwritten when repcli repro is started. Make sure that any needed sensor capture that was saved in that location is renamed or moved to a new location prior to command run.
OPTIONAL: Configure the
Delay=[1-60] parameter specifies the number of minutes that the sensor will wait for the issue to be reproduced before the post-reproduction log collection and cleanup. Some commands like procmon and WPR will enforce a cap on this value to prevent collected logs from being too large. It is possible to manually stop RepCLI repro logging at any point using
CTRL+C regardless of what the delay is set to. If this value is not specified, it defaults to 5 minutes. Example:
repcli repro C:\Windows\temp Delay=10
- If RepCLI Authentication is enabled, RepCLI will display a prompt to begin capturing. Example:
C:\Program Files\Confer>repcli repro C:\users\joeuser\desktop
Delay parameter not set - defaulting to 5 minutes of reproduction time
Restoring sensor's baseline configuration...
WARNING: Sensor not unlocked - will skip policy operations
Press enter to begin capturing:
- Press the Enter key on your keyboard when ready to begin reproducing the issue.
NOTE: Keyboard input to CMD can sometimes miss key presses. If RepCLI repro does not respond to pressing enter, it can be pressed multiple times with no negative effects until RepCLI repro continues.
- Once the sensor displays a message 'Waiting for X minutes', begin reproducing issue. DO NOT begin reproducing issue until RepCLI repro displays message 'Waiting for X minutes' otherwise data capture will be missed.
Enabling sensor...
Sensor is fully enabled
Waiting for 5 minute(s) (CTRL+C to stop waiting earlier)
NOTE: The number of minutes that the sensor will wait for the issue to be reproduced before the post-reproduction log collection and cleanup depends on whether the Delay=[1-60] parameter was used. Refer to Step 2 for details.
- Press CTRL+C if the issue has been reproduced before the "Waiting for X minutes" delay period has ended otherwise sensor will automatically collect diagnostic data once the delay period has ended. Example:
Capturing...
Sensor is in bypass mode
Collecting diagnostic data (this may take a few minutes)...
............
Captured diagnostic data in C:\Windows\Temp\psc_sensor.zip
Finished
CheckProtectedServiceStatus: Service[CbDefense] Protection[0x00000003]Restarting the sensor to finish restoring service state...
Starting the sensor...
Waiting for sensor...
DebugPortClient::Connect: Failed to connect: Port not found in registry: 2
No connection yet...
DebugHandler::CheckConnection: Successfully connected
Sensor is fully enabled
- Rename the zip file to match the name of the device.
- Upload the file to CB Vault or upload link provided by Support.