Resolve the "Cannot create lockfile handle" error in Snow Inventory Agent for Windows
When manually running the Snow Inventory Agent for Windows from Command Prompt, the following error may occur:
Fatal error: Cannot create lockfile handle (insufficient file access privileges?)This error can occur when the snowagent send command is executed from a Command Prompt that was not opened with administrator privileges. The command is used to manually send snowpack files for testing.
Even if you are logged in with an account that has local administrator privileges, Command Prompt must be explicitly run as an administrator.
To resolve the error:
- Right-click Command Prompt in the Windows menu or on its shortcut.
- Select Run as administrator.
- Run the
snowagent sendcommand again.
Was this helpful?
© 2026 Flexera. All rights reserved.