I have lost my script source code. What now?

If you ever find yourself unable to locate your valuable source code for a packaged script, there is no need to worry. SAPIEN Technologies offers a Code Recovery service for our PrimalScript, PowerShell Studio, and DevOps Suite customers.

In this article we will walk you through the process of submitting a Code Recovery request. The instructions will vary depending upon your support level:

During the Code Recovery process, we will extract the source code from your executable. Please note that the extracted code will be obfuscated if your code was obfuscated prior to packaging.

Premium Support Users

To begin, navigate to your account page; click Code Recovery under the Support Links section on the left-hand side of the page.

With Premium Support, Code Recovery comes at no additional cost. You will be immediately directed to the Code Recovery upload page.

Enter some details about your upload (optional), then attach a .zip file containing the executable from which you need the source code extracted. Click the Upload button when you have finished.

You will be redirected back to your account page, and a banner will confirm that you have successfully uploaded your file.

As stated in the banner, we will send an e-mail to the address associated with your account when your extracted source code is ready for download.

An alert banner will also display on your account page.

Please note: You will have 30 days to download your extracted source code before it is deleted from our servers.

Non-Premium Support Users

To begin, navigate to your account page; click Code Recovery under the Support Links section on the left-hand side of the page.

You will be directed to the Code Recovery store page.

The cost of Code Recovery will vary depending on whether or not the activation key is in its maintenance period.

If you have registered activation keys for PrimalScript, PowerShell Studio, or DevOps Suite, the Activation Key field will be pre-filled.

Upon completing checkout, you will be directed to the Code Recovery upload page.

Enter some details about your upload (optional), then attach a .zip file containing the executable from which you need the source code extracted. Click the Upload button when you have finished.

You will be redirected back to your account page, and a banner will confirm that you have successfully uploaded your file.

As stated in the banner, an e-mail will be sent to the address associated with your account containing a download link to the extracted source code.

An alert banner will also display on your account page.

Please note: You will have 30 days to download your extracted source code before it is deleted from our servers.

Non-Premium Support Users without an Activation Key

For users who do not have an activation key registered to their account, we understand that personnel changes, lost passwords, and other unexpected circumstances can prevent access to an account that created an executable. However, the security of our users is of utmost importance. Therefore, if you use an activation key that does not belong to your registered account, you will be required to explain why you are requesting the source code after you complete your Code Recovery purchase. If you do not have an activation key or do not have access to an activation key, please contact sales@sapien.com.

Lost, then Found

Our Code Recovery process makes recovering your script from your executable as easy as that!

SAPIEN Technologies always recommends that our customers use a version control system to prevent the loss of source code and other important files. We think that VersionRecall is a great choice.

If you have any questions about the Code Recovery process, please send an email to sales@sapien.com.