Since migrating my Lansweeper server, everything is working fine except for package deployments. I consistently get the following error:
Result: Deployment ended: Incorrect function.. Stop(Failure)
Command: "\\server\share\file.exe" --mode unattended --server NEWSRV--agentkey AgentKey
Here’s what I’ve tested so far on the new server:
- ✅ If I move the package folder back to the old server, deployments work.
- ❌ If I place the same folder on the new server, I get the error above, even though I’m using the same account and have replicated the share exactly.
- ✅ If I use a virtual drive shared from the old server, deployments work.
- ❌ If I use the same shared drive from the new server, the error comes back.
Each time, I’ve updated the package path and security options accordingly to point to the correct folder.
At this point, I’m out of ideas. Has anyone encountered this kind of issue or have any suggestions?