What determines which screen the account control popup will appear on? - windows

I'm running a Windows 10 system with one touch screen, one normal screen and no mouse or keyboard. I need to run an application with administrator privileges.
I'm worried about which screen the Account Control popup will appear on - if it appears on the non-touch screen then users will have no way to allow the program to run.
I know that:
It runs on screen 2 on my development PC (with mouse and keyboard, no touch screen), regardless of whether screen 2 is on the left or right
It runs on the same screen regardless of whether the application was launched by a shortcut on the left or right screen.
I tried to google this, but the only things that came back were links on how to disable User Account Control, which we really don't want to do.
What is the logic that determines which screen the popup appears on?
[Edit for new things I have tried]
Unplugging screen 2, running the application, closing the application, plug screen 2 back in.
Dragging the UAC popup to screen 1, clicking details, changing UAC settings and returning them to the original state.
[SOLVED]
I figured it out (at least partially) but I can't mark it as answered for at least two days.
Basically, after unplugging and replugging screens the other way around, changing the primary display worked. This didn't work until after I did the plug/unplug, but there's no guarantee that was the thing that did it, since I'd tried a few other things.

So after physically unplugging and replugging monitors so that screen one became screen 2 and the reverse, switching which screen was the primary display works to control the popup now.
Changing the primary display didn't work before. But it does now. I have no idea why - there's no guarantee that it was to do with switching them around.

I would suspect it to pop up by default on the primary display, but remember its last position. This would appear to be confirmed by TechNet: UAC Prompt displays on 2nd monitor only RRS feed:
escknx:
Regardless of what I try, UAC prompts display only on 2nd monitor, while everything else works fine on primary monitor.
Stereoman:
drag the UAC Prompt to your Primary Monitor and click show more details on the prompt then click change when these notifications appear, another UAC window will open up with a vertical bar with 4 different settings, just drag the bar setting down and then back up to it's original setting position then click ok, this will re trigger UAC's screen position to your primary monitor.
So: upon deployment, make sure the touch screen is your primary display, and position the UAC popup there if it isn't.

Related

Debugview application not displaying properly

Good day,
I'm currently experiencing a weird phenomena, this morning as I open the dbgview application an error message popped out(kernel related), couldn't remember much about the details.
Although the dbgview was showing at the task bar but as I clicked on it, it will jump out to no where.
It was as if I have 2nd monitor and it jump out to other screen.
I checked with 2nd monitor and it was not there..
I tried to install the latest version.
System recovery back to few days before which was still in working condition. But it doesn't help.
Hope someone here could show me some clue.
07/07/2020
I discovered it might not related to debugview this app. As I opened up task bar and select the debugview application and maximize the window size it is showing up. However as long as I click restore button at the right top corner of the app it flew out to the universe again....
Thank you
DbgView remembers its last position, so what likely happened is that you disconnected a monitor while DbgView was running on it, or maybe you accidentally dragged DbgView offscreen, and now it opens in a position that's no longer visible. Try either of the following.
With DbgView running, Alt-TAB to it then press Alt-Space, M (which opens the system menu and selects Move). While the "move" cursor is showing, use the arrow keys to bring the window back onto the active screen.
With DbgView closed, run regedit, navigate to HKCU\Software\Sysinternals\DbgView and delete (or rename) the Settings value, then run DbgView again. Since it no longer finds the old saved position in the registry, it will now open in the default position on the active monitor.
Try this:
start dbgview
hold the left 'Windows key'
while still holding the windo

App don't work correctly on another Computer

I've two PC with dual monitors, with the same configuration (USB to VGA converter, same USB port, same VGA port on the second monitor), same drivers, same version, same Windows (Seven Professional), sames monitors with sames resolution, same on everything I know how to access to.
I've an app on which when I click on a button --> display another maximized window.
On the first PC, the app work correctly, the other maximized window display in full screen on the second monitor.
On the second PC, the app doesn't work correctly ! ):
When I click on the button the other maximized window just open (maximized) on the first monitor, the principal where the app is displayed (as same as the first PC).
So I've tried to
change the screen order (put 1 on left of 2 or 2 on left of 1)
check if the drivers have a problems, but no (no warning or interrogation sign in the "Uninstall a program" program
change size resolution on both screens but nothing
un-maximize the second window's app and close it on the correct screen, nothing, the window just maximize and display on the bad screen like before
Sooooooo I've no idea of where the problem could came...
Sorry if my English is bad and thanks in advance for your answers you're my last resort.
Have a nice day

How to move browser tabs to different monitors using a script?

I have a 3 monitor setup which is connected to a PC. It displays a Google Chrome tab on each of the screens with some dashboard. It will auto log off every night from the website (I cannot control that). So I need to manually login to it, open the tabs, then move it to each of the monitors every night. I am trying to automate this task. I am trying to use Sikuli slides to do it. Right now I am able to login, open tabs, and click on buttons. But I am not able to drag the tabs to other monitors. It doesn't matter which tab is displayed in which monitor. The PC is running Windows 7. How can I get it done ? Any scripting language or tool which is available in windows is fine. Thanks in advance.
Edit: Added an image which describes my need
You're opening the same thing on the same computer on the same screens, so it will be in the same place every time.
AutoHotKey (AHK) can do click-and-drag from a start coordinate to an end coordinate:
https://autohotkey.com/docs/commands/MouseClickDrag.htm
Run AutoHotKey, right click on the icon in the taskbar notification area (systray) and click 'Window Spy', and it will bring up AHK's helper tool. Now you can click on the Chrome tabs and look in AHK to see the coordinates of the mouse pointer, so you can plug those into the command. And drag/drop the browser and look at the mouse coordinates there, too.
(And if you weren't using Windows 7, but instead 8 or 8.1 or 10, you could use Aero Snap with Win+RightArrow, Win+RightArrow and Win+UpArrow to move the active window to the edge of the center screen, then to the right screen, then to fullscreen it).
(Or you could use Alt-Space, M, Arrow Keys to script moving the focused window around).
This is what I did to fix it:
Used MouseRecorder to record the mouse movements and keystrokes including my username and password. Using this, I logged in, opened tabs, clicked on buttons and moved them to different monitors.
Problem with this is that it is not possible to load a saved macro and run using the commandline (or I could not figure out). So I used Mouse Controller to record the mouse movement to open MouseRecorder and click on run. [It cannot record key strokes]. Mouse controller has option to run from commandline with ability to accept the filename as argument.
I wrote a batch file to open and run MouseRecorder and scheduled to run every night using task scheduler.

open browser, full screen, with on screen keyboard at startup, not closable

I need that one of our computers, when it boots, automatically opens Internet Explorer. IE should be Full screen (without the border and the address bar.. totally full screen) and open a default URL (no problem on this, just set it as homepage). Then I would need that if a textbox inside this page gets focus then the on-screen keyboard should show up.
can this be achived with standard windows settings or do i have to write my own program with browser inside? if i write my own vb.net program, can the program be totally fullscreen (without the X to close and without seeing the task bar)
what we need to do is set up a sort of a internet station where random people can browse a given page without having a keyboard and without having the possibility to access the system.
thanks
I would say it is possible - but I have no idea how to achieve this. There will be a registry setting of some sort which SHOULD enable the keyboard. Sorry - I barely touched this areas :(

Windows 7 application issue - only appears in taskbar

I have an issue where a program that runs fine under windows xp has stopped working with windows 7. The application appears to start fine then disappears with only the taskbar icon remaining. If you hover over the taskbar icon you can see the application and it kind of looks correct but selecting it does nothing. I cannot seem to get the application to actually appear. Has anyone experienced anything like this and is aware of any possible solutions?
Recent builds have worked with windows 7 in the past and I don't believe any significant changes were made before this issue arrived.
Thanks
It may be the program is running but somewhere off screen. Shift-right-click the taskbar button and select "Move." Press the arrow keys to begin the move, then move your mouse to attach the movement to the mouse cursor. See if that brings the app to the primary monitor.
If not, you may have an incompatibility issue which will require more research/investigation.
Holding down the Windows key and the letter P at the same time will allow you to change your projector settings. Select the "Duplicate" option. As mentioned above, this usually occurs when you typically use a dual monitor but switch to a single monitor.

Resources