HardenTLS.psm1 ERR - SQL Server installation failed. Exit code: -2067922935

HardenTLS.psm1 ERR - SQL Server installation failed. Exit code: -2067922935

127
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:02 PM


Symptom


PSM hardening phase HardenTLS fails with the following error in the 'C:\Windows\Temp\PSMHardening.log':
"PSMHardening log: HardenTLS.psm1 ERR - SQL Server installation failed. Exit code: -2067922935"


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM

Cause


The main issue is that the path to the installation files (setup.exe) for SQL may be too long and causing the hardening to fail.
SQL Server installation media on a network share or in a custom folder can cause installation failure if the total length of the path exceeds 260 characters. 


Resolution


To correct this issue, utilize Net Use functionality or move the installation setup or the Hardening installation folder to a shorten path.

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001FBdCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail