While generating a compiled Process through WinAutomation, the following error message is being encountered

In the WinAutomation Logs, the following message appears: GetTempFileName() IO Exception

To resolve the issue, we proceed by deleting the .tmp files in C:\Windows\Temp after verifying that the number of files is 65535.

More information regarding the error can be found on this article.