2
This is mostly out of curiosity, but I think it could be useful some day:
As long as the UAC Administrator Elevation Prompt in Windows (Vista and laters) is supposed to be done in a different desktop, the keypressing PrtScreen does not copy the screen contents to the clipboard, as it always does on normal desktops.
Is there any workaround for this?
No. Technically, the UAC screen is a different user session with a different instance of the clipboard. I'm pretty sure that if you could paste before dismissing the UAC prompt, it would work, but never encountered a way to do that. – Frank Thomas – 2014-04-17T16:15:30.953
Since when does
PrnScreen
not capture the screen if UAC is enabled, because I can tell you, from experience that isn't the case. Your single massive statement is difficult to under to be frank. – Ramhound – 2014-04-17T16:17:00.713I'm not saying it doesnt work when UAC is enabled, but when it is prompting (the yes/no dialog, or the prompt for another accounts credentials). try it yourself. launch a program as admin, and when the UAC propmt appears, hit prntscrn. then click yes or no to dismiss the prompt, and attempt to paste. your printscreen contents will not be in the clipboard. UAC prompts run in an isolated desktop, so that malware can't manipulate the mouse to automatically click 'yes'. – Frank Thomas – 2014-04-17T16:19:45.827
op, you can try this for disabling the secure session, but Its probably not a good idea: http://www.howtogeek.com/howto/windows-vista/make-user-account-control-uac-stop-blacking-out-the-screen-in-windows-vista/
– Frank Thomas – 2014-04-17T16:25:33.1501@FrankThomas: AFAIK, it is the same session, but a different desktop. – user1686 – 2014-04-17T16:30:55.937
1@grawity, that is likely the case. unfourtunatly, desktop or session, they don't share a clipboard with the interactive users desktop process. – Frank Thomas – 2014-04-17T16:32:35.073
@FrankThomas: According to http://msdn.microsoft.com/en-us/library/windows/desktop/ms687096(v=vs.85).aspx, clipboards are per-window-station and each session has exactly one interactive window-station (WinSta0), so it must be that all desktops for that session, both the regular one and the secure ones, share the same clipboard.
– user1686 – 2014-04-17T16:35:55.373are you able to snag a prntscrn while the UAC Yes/No dialog is displaying? I cannot, unless I disable the "secure desktop". – Frank Thomas – 2014-04-17T16:37:33.833