How to Lock keyboard and mouse during installation?
Hi,
Basically we've got some old obscure educational packages where we use some .dlls from the discontinuted livestate (wininter) which literally pushes and clicks buttons on the setup windows. We've just upgraded to Altiris.
Does anyone know how to easily lock the keyboard and mouse to stop the user during installation of interfering with the install windows?
Thanks,
Sukh
Basically we've got some old obscure educational packages where we use some .dlls from the discontinuted livestate (wininter) which literally pushes and clicks buttons on the setup windows. We've just upgraded to Altiris.
Does anyone know how to easily lock the keyboard and mouse to stop the user during installation of interfering with the install windows?
Thanks,
Sukh
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
Timokirch
6 years ago
I've created two task which will help you.
Posted by:
anonymous_9363
13 years ago
Posted by:
JEBO
13 years ago
If you have Altiris, there is a utility called "wndctl.exe" which you can use do a lot of things, for instance lock userinput.
To lock input run "path-to-exe-file\wndctl.exe -lock"..
See the following list of commands:
-activate Make the window active
-minimize Minimize the window [for <n> seconds]
-maximize Maximize the window [for <n> seconds]
-restore Restore the window to prior state
-hide Hide the window [for <n> seconds]
-show Show the window [for <n> seconds]
-flash Flash the window title bar [<n> times (def=3, 0=forever)]
-close Close the window
-disable Disable the window [for <n> seconds]
-enable Enable the window [for <n> seconds]
-transparent[:<m>] Make the window transparent [for <n> seconds]
-opaque Make the window opaque [for <n> seconds]
-tile_h Tile all windows horizontally on desktop
-tile_v Tile all windows vertically on desktop
-cascade Cascade all windows on desktop
-center Move window to center of screen
-move:<x>,<y> Move window to <x> and <y>
-size:<w>,<h> Resize window to <w> and <h>
-top Make window topmost
-bottom Make window bottommost
-mid Make window not topmost
-title:<title> Set window title (to <title>
-poweroff[:force,noprompt] Power system off
-shutdown[:force,noprompt] Shut system down
-reboot[:force,noprompt] Reboot system
-logoff[:force,noprompt] Log user off
-lockuser[:force,noprompt] Lock workstation
-lock Lock input for all windows [for <n> seconds]
-unlock Unlock and allow input for all windows
To lock input run "path-to-exe-file\wndctl.exe -lock"..
See the following list of commands:
-activate Make the window active
-minimize Minimize the window [for <n> seconds]
-maximize Maximize the window [for <n> seconds]
-restore Restore the window to prior state
-hide Hide the window [for <n> seconds]
-show Show the window [for <n> seconds]
-flash Flash the window title bar [<n> times (def=3, 0=forever)]
-close Close the window
-disable Disable the window [for <n> seconds]
-enable Enable the window [for <n> seconds]
-transparent[:<m>] Make the window transparent [for <n> seconds]
-opaque Make the window opaque [for <n> seconds]
-tile_h Tile all windows horizontally on desktop
-tile_v Tile all windows vertically on desktop
-cascade Cascade all windows on desktop
-center Move window to center of screen
-move:<x>,<y> Move window to <x> and <y>
-size:<w>,<h> Resize window to <w> and <h>
-top Make window topmost
-bottom Make window bottommost
-mid Make window not topmost
-title:<title> Set window title (to <title>
-poweroff[:force,noprompt] Power system off
-shutdown[:force,noprompt] Shut system down
-reboot[:force,noprompt] Reboot system
-logoff[:force,noprompt] Log user off
-lockuser[:force,noprompt] Lock workstation
-lock Lock input for all windows [for <n> seconds]
-unlock Unlock and allow input for all windows
Posted by:
skhudy
13 years ago

so that the conversation will remain readable.