Any recommendations for a good (and free) utility to lock the position and size of multiple application windows?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Windows Position and Size (Windows 7)
Home » Forums » AskWoody support » Windows » Windows – other » Windows Position and Size (Windows 7)
- This topic has 12 replies, 6 voices, and was last updated 8 years, 9 months ago.
Viewing 6 reply threadsAuthorReplies-
RetiredGeek
AskWoody_MVPJuly 28, 2016 at 12:47 pm #1572152Zeno,
Have a look at this thread and the PowerShell Code which allows you to setup different “Work” setups.
HTH :cheers:
-
WS_Zeno_
AskWoody LoungerAugust 1, 2016 at 12:04 pm #1572941Thanks for the feedback but unfortunately, your response is way over my head.
I’m looking for a utility that can save (and lock) the window size and positions for three applications running.
I work in a manufacturing plant and want to prevent our machine operators from re-sizing or moving how their screens are setup. Ideally, it should be a free app. And even better, it would let me start open and lock those applications directly at logon.
-
Rick Corbett
AskWoody MVPAugust 1, 2016 at 12:22 pm #1572944Thanks for the feedback but unfortunately, your response is way over my head.
I’m looking for a utility that can save (and lock) the window size and positions for three applications running.
I work in a manufacturing plant and want to prevent our machine operators from re-sizing or moving how their screens are setup. Ideally, it should be a free app. And even better, it would let me start open and lock those applications directly at logon.
Have a look at AutoHotkey (free, open source) and, in particular, its WinMove command that moves windows to X,Y co-ordinates you specify.
With any scripting language there’s always a learning curve but IMO the AHK support forum is usually very helpful to ‘newbies’ and contributors quite often write the code that ‘newbies’ have trouble with.
Alternatively, DonationCoder has a ‘Coding Snacks – New Requests’ forum which may be able to help with a specific freeware utility (which may be written in AutoHotkey).
Hope this helps…
-
RetiredGeek
AskWoody_MVPAugust 1, 2016 at 3:23 pm #1572965it would let me start open and lock those applications directly at logon.
Zeno,
Neither my code or AHK will LOCK the window location. They can both set it up initally at logon via a Scheduled Task but once that is done I don’t know of any way to prevent the user from moving or resizing the windows. However, you have piqued my interest and I’ll look into this functionality.
HTH :cheers:
-
WSgsmith-plm
AskWoody LoungerAugust 3, 2016 at 8:07 am #1573188I work in a manufacturing plant and want to prevent our machine operators from re-sizing or moving how their screens are setup. Ideally, it should be a free app. And even better, it would let me start open and lock those applications directly at logon.
I haven’t been involved with something like this for a very long time, but I used to use Citrix and thin clients for similar situations and it allowed you to do this. But that’s an expensive solution.
What you may want to do is look into “Kiosk” software, which is designed to do things like this. There are also some things you can do in Windows 10 to lock things down somewhat, but I haven’t spent much time looking at them.
-
-
-
WS_Zeno_
AskWoody LoungerAugust 1, 2016 at 3:36 pm #1572967 -
Rick Corbett
AskWoody MVP -
WS_Zeno_
AskWoody Lounger
-
-
RetiredGeek
AskWoody_MVPAugust 1, 2016 at 7:58 pm #1572987Hey Y’all,
Interestingly, this question has been being asked for quite a few years w/o any satisfactory answers.
What we do know:
-
[*]You can use a variety of programs free and paid to do the initial sizing and placement of the program windows.
[*]This process can be started with a scheduled task initiated at logon.
[*]There is no way, it just isn’t provided by windows, to “LOCK” the setup in place.
[*]If you are writing the code you CAN simulate the LOCK function via an endless loop with a timer.That said you could take code (like what I posted earlier) and modify it along these lines:
Code:Do { Open program(s) if closed. (my code already does this) Position the windows as desired (my code already does this) Start-Sleep -minutes $Interval } Until ($False) #i.e. do it all again in case they moved or were closed.
Of course, if the “I don’t want them messing with things” users decide to close the PowerShell program it’s all for naught!
But wait! there’s more… I found this little gem:
If you schedule the powershell job and run it under the system ID it
will be totally invisible. Unfortunately, because it is invisible, it
has no window title.Thus the only way to shut it down is via the Task Scheduler or system reboot/shutdown but for this task that’s not a biggie.
So in the end this thing is doable if a bit kludgy!
HTH :cheers:
-
RetiredGeek
AskWoody_MVPAugust 2, 2016 at 8:23 pm #1573091Zeno,
Ok, based on my post #8 here’s my code modified to “enforce” the windows size/position.
Features:
[List=1]
[*]Create configuration files using a spreadsheet like MS Excel. This allows multiple configurations.
[*]Set the interval, in seconds, that the program will “enforce” the configuration.
[*]Supports multiple screen setups (it does take some math but just addition, subtraction, and division and you can use Excel to do the work!).
[*]Includes complete Comment-Based help file. Access this using Get-Help drive:pathSet-WorkEnv.ps1 -full in PowerShell. *** PLEASE READ THE HELP! ***
[/List]I hope you find this useful and easier to use as I’ve included in the .zip file a sample excel file and .csv file created from Excel.
In any event I enjoyed the challenge. I always enjoy bending the machine to my will. To bad it doesn’t work with my Wife!
ZipFile: 45168-Set-WorkEnv
Zip File Contents:
Function-Set-WindowSizePosition.ps1
Set-WorkEnv.ps1
WorkEnv1.csv
WorkEnv1.xlsxNote: the PS1 files are both new versions so make sure you overwrite your previous versions! Also the program looks for those files in your DocumentsScripts folder. This can be changed if you want to adjust the $BasePath variable in the Set-WorkEnv.ps1 file.
Enjoy!
P.S. I haven’t tried the Scheduled Task as System yet but that’s for tomorrow!
HTH :cheers:
-
WS_Zeno_
AskWoody Lounger -
AC641
AskWoody Plus
Viewing 6 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
28 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
6 hours, 15 minutes ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
5 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
8 hours, 55 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
1 hour, 11 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
6 hours, 7 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
3 hours, 7 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
18 hours, 24 minutes ago -
Sometimes I wonder about these bots
by
Susan Bradley
14 hours, 42 minutes ago -
Does windows update component store “self heal”?
by
Mike Cross
4 hours, 44 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
1 day, 8 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 day, 7 hours ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
5 hours ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
1 day, 11 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
1 day, 11 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
23 hours, 39 minutes ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
1 day, 19 hours ago -
0Patch, where to begin
by
cassel23
1 day, 13 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
2 days, 8 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
1 day, 20 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
2 days, 17 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
1 day, 19 hours ago -
Installer program can’t read my registry
by
Peobody
12 hours, 17 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 days, 6 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
2 days, 13 hours ago -
False error message from eMClient
by
WSSebastian42
3 days, 4 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
3 days, 13 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
3 days, 14 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
12 hours, 22 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.