Learn how to deploy and remove NetLock RMM agents on Windows, Linux, and macOS
Refer to supported operating systems: Supported OS/Distributions
netlockrmm.com:7443, demo.netlockrmm.com:7443
server_config.json file to the target machine."C:\Users\Administrator\Desktop\installer\NetLock_RMM_Agent_Installer.exe" clean "C:\Users\Administrator\Desktop\server_config.json"sudo chmod +x NetLock_RMM_Agent_Installer3. Execute it:
sudo ./NetLock_RMM_Agent_Installer clean path/to/server_config.json4. All set! Once installation is complete, the device should appear shortly in the web console under "Unauthorized." Simply approve it to grant access.
If you don't want to use the server_config.json with parameters installation method, you can generate a single installer file.
The server_config.json is now embedded into the installer executable.
You can now run the installer by right-clicking on it and selecting "Run as administrator."
Or with CMD & PowerShell:
"C:\Users\Administrator\Desktop\installer\NetLock_RMM_Agent_Installer.exe"4. All set! Once installation is complete, the device should appear shortly in the web console under "Unauthorized." Simply approve it to grant access.
sudo chmod +x path/to/installer3. Execute it:
sudo ./NetLock_RMM_Agent_Installer4. All set! Once installation is complete, the device should appear shortly in the web console under "Unauthorized." Simply approve it to grant access.
After authorizing the device, it may take up to two minutes for it to start gathering information and updating in the web console. Remote features will become available approximately 3 minutes after initial authorization. To enable remote control (TeamViewer alternative), make sure to reboot the machine, and ensure the user you want to control is logged in.
cleanfixuninstall--hidden -h--no-log / --nolog--temp <path> / -t <path>--temp / -tAllows you to specify a custom temporary directory. Useful when:
Default Temp Directories:
| OS | Default Path |
|---|---|
| Windows | C:\temp |
| Linux | /tmp |
| macOS | /tmp |
The specified directory must exist or the installer must have write permissions to create it.
--hidden / -hHides the console window during installation. Only available on Windows. Useful for automated/silent installations.
--no-log / --nologDeletes all installer logs after successful installation. Useful for installations where no log files should remain on the system.
Installation with Custom Temp Directory
./NetLock_RMM_Agent_Installer clean /home/user/server_config.json --temp /mnt/custom/tempNetLock_RMM_Agent_Installer.exe clean C:\configs\server_config.json --temp D:\CustomTempSilent Installation (Windows)
NetLock_RMM_Agent_Installer.exe clean C:\configs\server_config.json --hidden --no-logAll Options Combined
sudo ./NetLock_RMM_Agent_Installer clean /etc/netlock/server_config.json --temp /var/tmp/netlock --no-logNetLock_RMM_Agent_Installer.exe clean C:\configs\server_config.json --temp E:\Temp --hidden --no-logRepair Installation
./NetLock_RMM_Agent_Installer fix /path/to/server_config.json| Operating System | Architecture |
|---|---|
| Windows | x64, ARM64 |
| Linux | x64, ARM64 |
| macOS | x64, ARM64 |
Administrative privileges required: The installer must be run with Administrator (Windows) or root privileges (Linux/macOS). A network connection to the update and trust servers must be available.
Note: Using the one-click installer always cleans previous installations if no parameter is supplied.
The NetLock agent installer retrieves the agent packages and the NetLock agent uninstaller from the backend. Ensure it has access to these resources.
NetLock agents automatically configure the required exceptions in Windows Firewall (no port forwarding, only outgoing) according to your server settings, eliminating the need for manual configuration on Windows.
Once the installation is complete, you should be able to see the device listed under unauthorized devices in the system. It may take a minute for it to appear. Once it does, you will need to authorize the device, after which it will be listed under authorized devices.

# NetLock RMM Agent Installation Script
# This script downloads and installs the NetLock RMM Agent
$packageUrl = "replace with your own"
# Check if the service NetLock_RMM_Agent_Comm exists
$serviceName = "NetLock_RMM_Agent_Comm"
$service = Get-Service -Name $serviceName -ErrorAction SilentlyContinue
if ($service) {
Write-Host "Service '$serviceName' already exists. Installation will not proceed." -ForegroundColor Yellow
exit 0
}
Write-Host "Service '$serviceName' not found. Proceeding with installation..." -ForegroundColor Green
# Package download URL
$tempFolder = "C:\temp"
$zipFile = "$tempFolder\NetLock_Agent.zip"
$extractFolder = "$tempFolder\NetLock_Agent"
# Create temp folder if it doesn't exist
if (-not (Test-Path -Path $tempFolder)) {
Write-Host "Creating folder: $tempFolder" -ForegroundColor Cyan
New-Item -ItemType Directory -Path $tempFolder -Force | Out-Null
}
# Download the ZIP file
Write-Host "Downloading NetLock RMM Agent package..." -ForegroundColor Cyan
try {
Invoke-WebRequest -Uri $packageUrl -OutFile $zipFile -UseBasicParsing
Write-Host "Download completed successfully." -ForegroundColor Green
} catch {
Write-Host "Error downloading package: $_" -ForegroundColor Red
exit 1
}
# Unzip the package
Write-Host "Extracting package to $extractFolder..." -ForegroundColor Cyan
try {
# Remove existing extract folder if it exists
if (Test-Path -Path $extractFolder) {
Remove-Item -Path $extractFolder -Recurse -Force
}
Expand-Archive -Path $zipFile -DestinationPath $extractFolder -Force
Write-Host "Extraction completed successfully." -ForegroundColor Green
} catch {
Write-Host "Error extracting package: $_" -ForegroundColor Red
exit 1
}
# Find and execute the installer
$installerPath = Get-ChildItem -Path $extractFolder -Filter "NetLock_RMM_Agent_Installer.exe" -Recurse | Select-Object -First 1
if ($installerPath) {
Write-Host "Running installer: $($installerPath.FullName)" -ForegroundColor Cyan
try {
Start-Process -FilePath $installerPath.FullName -Wait -NoNewWindow
Write-Host "Installation completed successfully." -ForegroundColor Green
} catch {
Write-Host "Error running installer: $_" -ForegroundColor Red
exit 1
}
} else {
Write-Host "Installer executable 'NetLock_RMM_Agent_Installer.exe' not found in the extracted package." -ForegroundColor Red
exit 1
}
# Cleanup
Write-Host "Cleaning up temporary files..." -ForegroundColor Cyan
try {
Remove-Item -Path $zipFile -Force -ErrorAction SilentlyContinue
Remove-Item -Path $extractFolder -Recurse -Force -ErrorAction SilentlyContinue
Write-Host "Cleanup completed." -ForegroundColor Green
} catch {
Write-Host "Warning: Could not clean up temporary files." -ForegroundColor Yellow
}
Write-Host "NetLock RMM Agent installation process completed!" -ForegroundColor GreenRefer to supported operating systems: Supported OS/Distributions
1. Execute it with your desired parameters using CMD or PowerShell.
uninstall"C:\Users\Administrator\Desktop\uninstaller\NetLock_RMM_Agent_Installer.exe" uninstallsudo chmod +x NetLock_RMM_Agent_Installer3. Execute it:
sudo ./NetLock_RMM_Agent_Installer uninstallUninstallation complete.