Any recommendations for a good (and free) utility to lock the position and size of multiple application windows?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
1 hour, 43 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 hours, 25 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
7 hours, 11 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
11 hours, 44 minutes ago -
May preview updates
by
Susan Bradley
13 hours, 22 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 hour, 18 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
3 hours, 55 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
1 hour ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 hour, 3 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 3 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
49 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 15 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 8 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 4 hours ago -
Another test post
by
gtd12345
2 days, 5 hours ago -
Connect to someone else computer
by
wadeer
1 day, 23 hours ago -
Limit on User names?
by
CWBillow
2 days, 2 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 16 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day ago -
Who are you? (2025 edition)
by
Will Fastie
23 hours, 25 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 18 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 15 hours ago -
Woody
by
Scott
3 days ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days, 14 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 8 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 5 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
23 hours, 50 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
4 days, 23 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
4 days, 23 hours 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.