mr_vico

Feature request: Command-line / CLI support for saving & restoring Fences layouts

Feature request: Command-line / CLI support for saving & restoring Fences layouts

Hello Stardock team,

I’m a long-time Windows power user and Fences user, and I’d like to ask whether it would be possible to add command-line (CLI) support for Fences, specifically for saving and restoring desktop layouts.

I’m using a multi-monitor setup, and occasionally Windows temporarily disconnects a secondary display (for example due to DisplayPort handshake or power-state changes). When this happens, Windows moves all desktop icons to the primary monitor. Fences already solves this perfectly by restoring the layout — but currently this can only be triggered manually via the UI.

What would be extremely useful is a simple, documented CLI interface, for example:

  • fences.exe /saveLayout

  • fences.exe /restoreLayout

  • or any equivalent supported mechanism (CLI, COM, or PowerShell-friendly API)

This would allow advanced users to:

  • Automatically restore layouts after display reconnect events

  • Integrate Fences into scripts or scheduled tasks

  • Eliminate the need for UI automation or workarounds

I understand that Fences is primarily a GUI-driven product, but even a very minimal CLI surface for layout management would add a lot of value for power users, especially in multi-monitor environments.

Thanks for a great product, and for considering this request.

 

Best regards,
mr_vico

 
43,206 views 52 replies
Reply #52 Top

Woooooo!!!! Huge! Yup confirmed in that log that refreshing the handle resolved issue in full.

Thank you again, and, other silent Fences users thank you for your patience as well 🙏🙏

+1 Loading…