Maximized Citrix windows with FancyZones

Here’s a “first world” problem and my fancy solution for it. Don’t judge. πŸ˜€

We use Citrix at work. Not a big deal. But I like to hop between machines – like when I am on the couch I prefer using the laptop, in one of my rooms I have a Mac, and so on (not going into how what all devices I have, I love having multiple machines and I hate selling or throwing away older devices – am sentimental that way). ☺️ Plus, with Citrix running I am wary of closing the laptop lid momentarily or staying away from it for a while lest Citrix disconnects. (*sighs* πŸ˜‹)

It’s a bother opening Citrix on each of these so I hit upon this smart idea of launch Citrix from one of my Windows machines and basically RDPing into it. This way I can connect to work from any machine at home with a simple RDP. Smart, huh. Only catch was the resolutions – each screen has a different resolution – and I can’t do anything about it. I’d typically manually expand the window to suit each screen… if only I could do something about that extra step too.

It would be good if I could just maximize Citrix, but the stupid thing does a full screen whenever I maximize. I found some forum posts where people save the Registry keys of their resolutions and double click those to set the Citrix window size, but those didn’t work for me.

Enter FancyZones from PowerToys. I don’t use it much but I created one custom zone:

It’s basically a window that stretches the whole screen.

I also ticked these settings:

And left the default activation key setting:

Now if I drag the Citrix window anywhere and press Shift while doing so, it just maximizes it to fill the screen. (If I had more zones I might have to do something to select the right one, but I don’t have to worry about that). No more full screen, just maximize as I want.

Even better, once I do this on one machine when I RDP from anywhere else FancyZones ensures that the window is resized (thanks to those settings I ticked above). So no more resizing when I switch machines either. Awesome, huh! 😎

Update: Tick these two also in the layout so it is the default layout: