We use Openkiosk ( Firefox browser Based ) - credits MDG for kiosk operation of our web application running through IIS ( MVC web app) and SQL Serever . We have configured it to automatically start on windows log in by using the GPO - custom User Interface and it works perfectly fine.
The purpose of launching the web application in full screen is to prevent Desktop access to the user and also disable all short cut keys .
Of late we have received a new requirement where we have to Launch another desktop app ( exe. ) on demand when the Openkiosk is open and switch in between both the Openkiosk app as well as the exe app whenever the user requires . Since the desktop is not visible how we launch the Desktop is the question and also ,Since the Key board is disabled Alt Tabs wont work. Kindly advise and guide how we can achieve this ?
Still figuring it out how to achieve this
Related
I am trying to build application which is show form when a user clicks on it but not when the windows started up like many applications that run in the background without showing gui on desktop for example, how application can recognize when a user clicks on application and when windows startup do that?
I tried notifyicon and other things but did not help so any reference to the tutorial or help is welcome.
How did I hear I need to build a service application or application with the installation, is that correct?
I have a requirement to host a WCF service to receive responses from a service. As UWP app doesn’t have wcf hosting capabilities, I chose this system tray component where I will host my service so that I get responses and communicate to UWP app via app service and show toasts.
But the systray component terminates immediately after the launch. To be clear on my systray integration with uwp I already tested it and is working and then extended it with WCF hosting.
Later I tried adding debugs showing message box on exceptions and found out that WCF service open call throwing below exception.
"System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http::1234"
Later understood that the sys tray app requires admin rights to register the URL that is hosted as part of the service and as UWP app launches sys tray via full trust API and it doesn't do through admin elevation.
So to solve this I got 2 approaches and tried as mentioned below:
1)
So I tried adding URL reg manually using netsh and same program works. Just to tweak I tried running the "same netsh command in sys tray app itself with admin priv" and only launched the tray app and i could see no exception and could see my service hosted, checked in browser.
Now I'm stuck with providing admin privileges while launching the sys tray app via UWP app.
But if tray app is launched by UWP, even though I included the netsh command it still shows the same exception. (Might be parent process (as run as admin is N/A UWP apps) is not having admin rights so even my netsh cmd in sys tray app is not working??? )
OR is there any way to provide arguments or any other API to run the tray app with admin via full trust api's from UWP app???
2)
Tried adding app manifest file to the tray app and modified as below
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
But this also shows a error box saying this requires elevation and exited.
Kindly Help.
Requesting elevated privileges is currently not supported for desktop-bridge processes. So what you are seeing here is currently expected. The good news is that we are adding a new capability in RS5 (Fall 2018 update) called 'allowElevation', which will enable scenarios that require elevation.
You should be able to start testing the new capability with the latest Windows Insider Preview build and the corresponding SDK.
UPDATE 10/1/2018: I have posted a sample for this new capability
https://stefanwick.com/2018/10/01/app-elevation-samples-part-1/
I'm using Windows Server 2016 for Remote Desktop Services (RDS) the applications I've published are working fine. I've created a logon script so that my windows application starts when a user establishes RDS session. My problem is when a user logs in and my application runs automatically it doesn't show icon notification in system tray. I've gone through the below link and added the registry key which fixed the issue but it had also shown all unwanted application's icon as well.
https://social.technet.microsoft.com/Forums/lync/en-US/4122521f-7896-4098-a723-858077a243f1/remoteapp-notification-area-icons-not-visable?forum=winserverTS
Is there any way that I could programmatically dictate "rdpshell" to show only my application icon? or if there is any registry key specifically I could use for my application? or anything that I could use to show my application icon only?
Thanks.
I have an application written in VB.NET that I want to move to Win10. It will always be a desktop application, however I would like it to have a start icon / tile in Win 10. Looking around I found this exact question which suggests to create a Metro App (now I believe called Windows App) which launches the desktop app. This is also discussed in this thread. So the questions;
These threads are a little old is the best way in Win10 to give a desktop app a Windows App Tile by using a Windows App as the Launcher for the desktop app?
It appears that in Win10 Microsoft has now allowed non-store apps to be installed in Update Security > SideloadApps. This needs to be enabled to install the App, but does this need to be always enabled. For example what happens after install if the user turns it off, will the app then not start?
For example I see in this link that there are 2 Registry keys to change, basically AllowAllTrustedApps and AllowDevelopmentWithoutDevLicense. Is it possible for my desktop installer to change these keys, install the Windows App (and everything else) and then change the keys back again?
Uninstalling? If I created a Windows App which only launched my desktop app then there is a possibility that the user uninstalls or deletes the Windows App, meaning my desktop app would be orphaned and lost. Any suggestion on solving this?
According to your description, I think what you need is Desktop Bridge. There is no need to use a Windows App as the Launcher for the desktop app.
You can try with Desktop App Converter, with this you can bring your existing desktop apps written for .NET 4.6.1 or Win32 to the Universal Windows Platform (UWP).
And after converting, you can replace the Assets generated by Desktop App Converter (DAC) automatically to provide custom Tiles/Icons. For more, you can refer to Manually convert your app to UWP using the Desktop Bridge.
It seems to me that if the user installs another browser on Windows 8, the default tile for Internet Explorer should change to that new browser. However, it doesn't seem like Chrome or Firefox currently does this. Is it even possible to replace the IE tile with the tile for another app programmatically?
You can't do that.
All Windows store applications work in a sandbox environment and doesn't have access to core OS api's. App's are restricted to core OS api's so that malicious applications cannot change system setting without user knowing about it.
Start Screen is OS level, and Apps do not have acces to the order of tiles. If they had, user would loose all personalization made as every App would move itself to the first row and column, as Raymond Chen stated.