I receive the captioned error when I try to reset my ArcGIS Enterprise Initial Administrator password with the command below.
C:\Program Files\ArcGIS\Server\tools\passwordreset>passwordreset -p mynewpassword
passwordreset Batch Script:
@echo off
rem Build the classpath
set CP=%AGSSERVER%framework\lib\server\*;%AGSSERVER%framework\lib\shared\*;
rem Invoke the PasswordReset class
"%AGSSERVER%framework\runtime\jre\bin\java" -cp "%CP%" com.esri.arcgis.discovery.tools.PasswordReset %*