Before you start
- Check the server requirements for the extractor.
- Assign access capabilities in a CDF project.
- Set up a Windows Update schedule. Note that the update may reboot the machine, causing extractor downtime.
- Download and run the installation files for the extractor from CDF.
Set Modify permission under Properties in the installation folder to avoid permission issues.
- Create a configuration file according to the configuration settings. The file must be in YAML format.
Run as a Windows service
1
Start the PI extractor service
Start the PI extractor service using the Windows service or with a command line:The Windows service is named Cognite Pi Extractor 4.3.0, and the command line for the
net start and net stop commands is named PiExtractor.2
Verify service is running
Verify that the service is running.

3
Configure startup type
Open the Properties for the service and set the Startup type to Automatic (Delayed Start):

4
Verify extractor is running
If you’ve configured the extractor to log messages to a file, you’ll find the log files in the configured path, for instance, 
logs/log.txt. These should contain progress messages similar to the example below:
Run the extractor behind a proxy
1
Edit configuration file
Open and edit the
PiExtractor.exe.config file from the installation directory.2
Add system.net section
Add the
system.net section under configuration with this content:3
Configure proxy settings
Configure the proxy address and bypass rules according to the proxy server you want to use.
4
Restart the service
Restart the extractor service. Read more about the default-proxy-element.
Upgrade the extractor
To upgrade the current extractor version, download and run the .msi file for the new version. The installer detects the current installation directory, updates the software, and keeps the configuration as-is. The sample configuration file is a part of the software package and is overwritten during an extractor upgrade.1
Download installer
Download the PI extractor .msi file from CDF.
2
Note current settings
Take note of the currently installed version in case of a rollback and of the service properties in the Properties dialog.
3
Run the installer
Run the installer.
4
Update service properties
Update the custom service properties you noted in step 2.
5
Verify extractor version
Verify that the extractor is running and that the version displayed in the
Starting PI Extractor logline matches the upgraded version.6
Check metrics
Check the metrics and verify that the extractor resumes operation.

Uninstall the extractor
1
Open uninstaller
Run the installer and select Remove the extractor or open Add or remove programs from the control panel.
2
Remove extractor
Remove Cognite PI extractor.
3
Optional. Clean up files
Optionally, remove the installation directory with the configuration file and logs.
4
Optional. Delete the installer
Optionally, delete the .msi file.