Windows 11 IoT in Kiosk mode FORCE allow web cam access - windows

We have a Kiosk machine configured with Windows 11 IoT Enterprise running in Kiosk mode and everything is good. Windows creates specific Kiosk user to run in Kiosk mode which will start Edge browser and load our app. The app needs access to the webcam attached to the Kiosk so that it can do QR code scanning and face recognition.
The issue we are having is that every time the app needs access to the webcam it asks the users permission if they would like to Allow access to webcam (through a small pop-up on the top left hand side corner of the browser). The user can either 'Allow' or 'Deny' access.
Ideally, we don't want our end users to see this pop-up as we would like to 'force' allow the app access to the web cam without keep asking permission from the end users (it just does not add up to a great user experience in a Kiosk mode).
We have searched and tried few ideas we found online about changing REG keys and Local Policy settings but non of them seem to work when Windows starts in 'Kiosk' mode. They work for normal Windows users (like local users or admin users) but not for the Kiosk user.
Any help, suggestions, recommendations would be appreciated.

Found the solution. I hope this will help anyone else facing the same issue.
I had to create new key in the Windows 11 IoT registry under the following structure:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\VideoCatpureAllowedUrls
After you create the key above, I then added new String value of '1' so the Reg path looks like this"
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\VideoCatpureAllowedUrls\1
Then I double clicked on the 1 and added the value of my app URL which needs access to the web cam. For example:
https://www.myapp.com/
Restart my Windows 11 IoT which booted in Kiosk mode and I was able to access the web cam via my web app without getting the popup asking me to 'Allow' or 'Deny' access.
this site helped me alot

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

Windows 10 Authentication Provider Setup

Can anybody point out to me how I can enable Windows 10 to display multiple Authentication Providers? For some reason, I am not able to see the "Switch Users" button on the login screen.
I do understand that there are options to change authentication providers in the system registry and gpedit.msc. However, any changes I make seem to not make a difference and the default userid/password login keeps displaying. I can disable the default userid/login but nothing else comes up as a choice if I have it enabled.
Does Windows 10 work like Windows 7 in this regard or is it completely different? I have been able to get it to work on Windows 7...just not 10.
Any feedback, examples, instructions, would be greatly appreciated.

Automation of a graphical app in a windows VM

I need to automate a windows only java graphical app in a cloud vm.
I'm currently trying with windwos server 2008 and robotJS in node, if I'm connected to the VM in RDP and showing the screen, all is good and it work, but it's no real automation.
If managed to launch the user session at start, and added the app and my script in the startup dire to have them launched when the user logon, but when I do that, the robot only see a black screen with the start button when I'm taking a screenshot, and it can't interact with the app.
As someone already try to do that ?
Any insight would be good, I can change the server version, use another automation tool, anything if it work.
I let that here because it might one day help someone.
The trick was to use keyboard shortcut instead of mouse, not sure why.

Running Internet Explorer on LocalSystem Account on Windows 2012

I'm setting up Selenium Grid. We have a separate machine for each version of the browser.
Each node is started as System Service running on LocalSystem account with interactions with user desktop enabled.
This is required because Selenium Grid node starting Internet Explorer have problems making screenshots and transferring them when there was no interaction with user desktop.
As far as I was able to check, it looks like that interactions with user desktop for service are only allowed for LocalSystem account. Event changing manually flags in registry does not seem to works (as it was in windows 2008)
Everything is working fine except the test where I need to perform upload of the file. When there is an action to open dialog for file browsing, following popup appears
Is there any way to prevent this (creation of folder Desktop does not seem to work) ?
From the other hand, if there is a way to run service under different account with interactions with user desktop enabled, that would also be a case.
I would appreciate any help because I'm stuck with the problem
I have checked some additional solutions, like running selenium grid nodes via PowerShell Invoke-Command and this did not worked too.
I have managed to run selenium grid nodes as Windows Service with desktop interactions using 3rd party tool FireDaemon Pro Service Manager.
I didn't try this but PsExec -s should work
https://technet.microsoft.com/en-us/sysinternals/bb897553

one device controlling a number of devices actions

I am making an app in which the administrator controls other devices in the same wi-fi network and controls the actions like viewing a document by the others,which, is the same as what the administrator is viewing....i need the code for this using zero-configuration networking
The Developer Docs on the palm developer center are very good. This is the service you probably need to read up on and understand...
https://developer.palm.com/content/api/reference/services/zeroconf.html

Resources