Windows printscreen not working on Software Installation - windows

I am trying to take screenshots of the license information of the application before installing it onto my test window os.
When I click on the installer, the publisher window pops up asking me whether I want to launch the installer or not; But when I want to take screenshots or printscreen using keyboard shortcuts it doesn't work.
It seems that the keyboard shortcuts is disabled during this pop up install dialog.
All I want is to take screenshots at the publisher certificate information before installing the application.
Can anyone with experience on windows help?

UAC: If you are referring to the UAC prompt that shows up first to ask for elevation, then it happens on a secure desktop separate from your main one and hence the screen shot appears impossible. This separate desktop is a security measure. In actual fact it is perhaps the core security measure added to Windows in recent years (don't turn it off permanently).
Disable UAC Temporarily: You can disable this security measure temporarily so you can take a screenshot as described here: How to get a UAC screenshot. Here is a sample screen shot of a UAC prompt for an MSI installation: Numeric file name for msi created with Wix
Here is the essential procedure inlined:
Run gpedit.msc
Locate: Computer Configuration\Windows Settings\Security Settings\Local Policies\SecurityOptions:
Change "User Account Control: Switch to the secure desktop when prompting for elevation" to disabled
Undo this change after the screenshot or your system will be very insecure!

Related

RunAs/Remote Desktop Windows Security - A Device attached to this device is not functioning correctly

Good Afternoon, never seen this one before in my years of working with Windows but im at a loss to try and find the solution to this one.
When users log on to their desktops as Non-Admin accounts, there are particular applications they need to run as different users due to the way some of the systems work. A load of system policies where updated for security at group policy level however now something strange is happening when the user initiates a RunAs by holding the shift key down or if they attempt to remote desktop to another machine, the NLA Windows Security box that prompts for credentials takes 5/10 minutes to appear.
When the user hovers over the taskbar icon, then over the window without clicking the Windows Security box displays as full screen missing the username and password box but when you click on it nothing happens and just disappears. Eventually after a few minutes the windows security box will appear and can log in as normal however the users jump into systems adhoc and cant be waiting for minutes at a time to put their credentials in which could cost a lot of user down time during the day.
I have tried looking at the security log but as you can imagine its filled with all sorts and trying to locate one specifically without knowing the issue is difficult at best. Has anyone had this issue before that can point me in any direction. I have to assume this is permission related on the devices trying to access something locally because when i log on to the devices with an account in the administrators group all these issues disappear and the windows security works as normal. Also, if they click "Run as administrator" they get the UAC credential box so i don't believe this is UAC related as its working by design just anything with "Windows Security" prompts. I should point out that whilst this is waiting - the File Explorer icon highlights under "Run As" like the explorer is waiting to do something.
OS - Windows 10 Pro
Acc - Domain Joined
Group policy enabled
Local Policy Disabled
Update: 21H2
Never seen this before but hoping one of you legends has!
Dev
Full Screen Box - Screenshot
For anyone reading this - although bizzare as it is...
It turns out it was McAfee Disk Encryption - there was a bug in the local FDE security provider causing it to hang every time it was accessed.
Update your McAfee FDE Client/Agent to the latest version

Why application that require administrative privileges cannot run automatically on Windows startup(windows 7)?

I have a application(which runs on windows7 and requires run as administrative) that need to run automatically when windows starts up, so i added a registry key under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" as usual, but my application won't startup automatically even the UAC dialog doesn't promtp, after search from google. I know i can use task scheduler to workaround this, but is there anyboday can tell me why the "run" registry way doesn't work? why the UAC dialog doesn't promtp? it is better if you can help to find a article from microsoft to explain this issue, many thanks in advance!
It is for making the machine usable as quick as possible after booting.
Microsoft Whitepaper: Developing Applications that Run at Logon on Windows Vista
When Windows starts, there is no user to show the UAC prompt to, so your process would have to be held up until an administrative user logs in.
The Task Scheduler is the right way to do what you want.

Security center symbol shield with my Application Icon

I have developed an application that needs admin rights to execute. Running the application on Windows 7, the user always have to launch the application as "Run as Administrator" otherwise my application prompts the user that "you don't have administrative rights etc...". This is OK and understandable because of UAC in windows 7.
To get rid that the user have to set the application as "Run as Administrator". I updated my application's "app.manifest" and set
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Which done the job for me.
But now, a security center symbol shield appears with my application's icon.
Now my question is "Why does this icon appear on my application, and what does it indicate?"
I tried marking another of my applications to "Always Run as Administrator" via windows but the same icon wouldn't appear with that application.
I want to understand the reasons and scenarios.
The shield is there to remind the user that if they double-click the exe to run it, they will get a UAC dialog. These dialogs should never be a surprise and if you get one you weren't expecting, you should really not consent to it.
The shield appears if you have a manifest that requests elevation (requireAdministrator or highestAvailable, but not if your manifest specifies asInvoker), and for certain file names. For more details see my blog entry (written at Vista time, but still applies to Windows 7) and MSDN articles on UAC and UI guidelines.

Windows UAC, Admin prompt, Run Application with current user rights

I want to use a Application on Windows 7 without Admin priviliges.
(Sure for the install process i used Admin priviliges)
Now i had following problem:
When i want to start the application the UAC popup ask for an Admin Account to run the program. But the User had no Admin account and can only click "No" so the Application is closed.
Is it possible to use this application with the rights from the current user and deactivate the UAC prompt?
On Win XP, only popup a error message that the application had no admin priviliges.
But by selecting "Ok" the application is starting and working.
You need to create and embed a manifest into your application. This tells the operating system that your program was written to be compatible with the UAC built into Windows Vista (and later), and therefore does not need to be run as Administrator. Set the requested execution level to asInvoker.
See this article on MSDN for more details.
There's also a helpful, though somewhat more general, article that appeared in the MSDN Magazine regarding UAC: Teach Your Apps To Play Nicely With Windows Vista User Account Control

How to turn off McAfee programmatically

I am running McAfee VirusScan Enterprise 8.7i on my Windows 7 machine.
I am writing this utility to configure McAfee. Now how do I turn off McAfee programmatically (using C++ or C#)?
The only ways I can do it right now are:
Manually opening the McAfee Virusshield icon from the system tray and then selecting Exit.
Run a command prompt under SYSTEM account (using System internals tool psexec) and then issue the command "sc stop McShield"
I guess the point of virus scanners is that they CANNOT be switched off by other software (at least not easily)
Right click on the VShield icon in the system tray and choose Manage features and the VirusScan Enterprise
Double click on Access Protection to get to the properties
Un-check the option for "Prevent McAfee services from being stopped"
You should now be able to stop the McAfee services

Resources