*** INTERNAL USE ***
Description
Instructions for how to use PSchange tool in order to manipulate files located on a remote archive server. This guide is for running the tool on a windows OS although it can still manipulate files stored on a linux archive server.
Product
PSchange.exe
Steps
- Gather current camera ID by right clicking on the live video and clicking properties. Make a note of these as they will be used later.
- Launch Exacq as Administrator on the server where the camera is located.
- Change the plugin to the one you want to use.
- Note: Exacq will now try to convert the existing local video to the new device ID. This may take some time so be patient and don’t force close the exacq client. You can check it is still working in the background by opening task manager and checking the CPU percentage for the “edvrclient” program. If it is above 0% it is still working.
- Open powershell as administrator.
- Map your remote drive to a drive letter not in use.
- Commands are:
net use P: \\NETWORK_PATH\
- This path should include everything up until but not including the date folders that are created during the archiving process. E.g. if the path is
\\192.168.1.1\StorageFolder30Days\2022\05\12\3\
then your command should look like this:net use P: \\192.168.1.1\StorageFolder30Days\
- This path should include everything up until but not including the date folders that are created during the archiving process. E.g. if the path is
- Commands are:
- Use cd to change directory to where the pschange.exe program is located.
- Run pschange in a dry run with this command:
.\pschange -v -d -o 0xXXXXXXXX -n 0xXXXXXXXX -p P:
- Pschange arguments:
-v
verbose-d
dry run-o
Old camera ID-n
New camera ID-l
(Lowecase L) Include all local Drives-p
Include the path specified in the scan.
Note: it may take pschange a couple of seconds before it gets started. Be patient.
- Pschange arguments:
- Pschange should list all files it finds and will list the new names it will give them, giving you a total files number once it finishes.
- If you are happy to proceed enter the pschange command without the dryrun argument. E.g.
- Dry run command
.\pschange -v
-d-o 0xXXXXXXXX -n 0xXXXXXXXX -p P:
Actual command should now look like this.\pschange -v -o 0xXXXXXXXX -n 0xXXXXXXXX -p P:
- Dry run command
- Once it completes it should tell you how many files it has “moved” you can go to the path and check the files to ensure it has worked.
- Once you are happy, remove the mapped network drive using this command
net use /delete P: