Portable inventory of Windows devices
This document describes how to set up RayVentory Portable on a USB drive in case the target device is not reachable out of the network
Requirements
- RayVentory_Portable_2.0.zip Sources
- USB drive with at least 1GB storage capacity
- Access to the target system
- Admin privileges on the target system
Downloadlocation
FTP Server: | file.raynet.de |
User: | rayventory-kd |
Password: | QLMwJ2! |
File: | Toolbox / LocalScan / RayVentory_Portable_2.0.zip |
Preparation
Extract the ZIP archive and copy the contents directly to the “root” level of the USB drive.
In this example the path looks like this:
{USB drive letter}:\RayVentory_Portable_2.0\Windows
The following files and folders must be present:
folder:
- Inventory
- Plugins
files:
- getSystemId.exe
- mgscmn.dll
- ndtrack.exe
- RunNdTrackWindows_Local.cmd
- RunNdTrackWindows_Upload.cmd
- uploader.dll
- wmitrack.ini
Create a local inventory
- Once the USB drive is connected to the computer, open a CMD window with admin privileges and navigate to the folder
{USB drive letter}:\RayVentory_Portable_2.0\Windows\
- Execute
.\RunNdtrackWindows_Local.cmd
Do not close the CMD window until the process is finished. The inventory process has started and can take several minutes depending on the system.
- Unmount and remove the USB drive after the inventory process
- Copy the newly created .NDI file from following directory
{USB drive letter}:\RayVentory_Portable_2.0\Windows\inventory
to the "Results" folder of RayVentory ScanEngine
%ProgramData%\Raynet\RayVentoryScanEngine\Results - RayVentory ScanEngine will upload the .NDI file to the to the RayVentory Server.
Creating and uploading the inventory
If uploading of the inventory to a server is desired, proceed as follows:
1. Navigate to the folder
{USB drive letter}:\RayVentory_Portable_2.0\Credential Store Writer\
2. Execute
{USB drive letter}:\RayVentory_Portable_2.0\Credential Store Writer\credstoregui.exe
add your credentials for the target system and click „Save“. The "uploadercreds.dat" file with your credentials will be generated in the folder.
3. Navigate to the folder
{USB drive letter}:\RayVentory_Portable_2.0\Windows\
4. The folder contains the file
RunNdTrackWindows_Upload.cmd
5. Open the file in an editor and change the following line to the desired FQDN of the target server.
6. Open a CMD window with admin privileges and navigate to the folder
{USB drive letter}:\RayVentory_Portable_2.0\Windows
7. Execute
.\RunNdTrackWindows_Upload.cmd
Do not close the CMD Window until the process is finished. The inventory process has started and can take several minutes depending on the system. Once the creation of the inventory is finished the upload begins.
8. Unmount and remove the USB drive, once the inventory and upload are finished.
Result
After the local inventory process is completed, the inventory file (NDI) appears in the subfolder
{USB drive letter}:\RayVentory_Portable_2.0\Windows\inventory
If using scan with upload to server, all .NDI will be copied to the “Incoming” folder below the reporting location “{InstallDrive}\RayVentory\ManageSoftRL”.
Please be aware, that .NDI files should disappear at the server after a while, once they are processed by the inventory import task.
Comments