Error Code | Error Name | Remedial Tip |
0 | Ok | |
-1 | InvalidArguments | Provide valid arguments / Run limit has been hit. To continue, delete HKLM:\SOFTWARE\Lenovo\Udc\Status\ScriptRunCount registry. |
-2 | InvalidPrivileges | Run the script as an administrator |
-4 | PortalUnreachable | Ensure network connectivity and check the connection to the UDS portal. |
-5 | CertificateMismatch | Portal certificate is not valid. Check for https proxy (like Fiddler) that overrides server certificate. Otherwise, contact Lenovo since server certificate could have been changed. |
-6 | UdcSetupFileNotFound | When defining -UdcFilename parameter, it is necessary to provide the file. |
-7 | InvalidInfSetupPackage | UDC setup file does not contain files needed for the installation. Check if a valid file is provided. |
-8 | UntrustedSetupFiiles | UDC installation files doesn't have a valid issuer certificate. Check if a valid file is provided. |
-9 | TokenExpired | LDI portal token has expired, or the device registration limit set for this token is over. Request for a new provisioning package with a new token. |
-10 | TokenNotValidated | UDS does not accept provided token. Create another provision package or contact the administrator. |
-11 | RegisteredToAutomaticOrg | The device was registered to an automatic organization. Restart UDCService and try again. If it fails, contact the administrator. |
-12 | DeviceAlreadyRegistered | This device was already registered in the portal. No other action may be needed, but to use the script registration, delete the device from the portal. |
-13 | Unable to RetrieveClaimCode | The script /UDC was not able to retrieve the activation code required for registration of the device in the portal. Restart UDCService and try again. If it fails, contact the administrator. |
-14 | UdcInstallationFailed | UDC installation failed, check the script log file for details |
-99 | AnotherInstanceRunning | Another script instance is running. Wait for it to finish. |