Repository navigation
Version 1.0 worked flawlessly ... on my own test computer ... only.
When I extended testing to other machines, I quickly discovered something was seriously wrong. The LNK file would no longer launch PowerShell as expected. After some intense diffing sessions, I identified a field in the LNK format that enforces a “Drive Serial Number.” If this serial number doesn’t match the system where the LNK is run, the file fails to execute.
I tried several mitigations without success, which was frustrating, as it undermined the whole purpose of the application. Then, a miracle happened! the internet went down, and I started trying crazy things. By “crazy” I mean I simply removed that section and adjusted the header lengths. That worked and I’ve now successfully tested the solution on multiple Windows 10 PCs and a Server 2019 instance.