From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-10-2016 06:33 AM - edited 02-10-2016 06:36 AM
Hi all,
I'd like to run my application at Window start-up but I need to prevent users clicking (and viewing) desktop icons, taskbar, desktop, and other user interface features.
In other words, after Windows login I'd like to prevent explorer.exe from loading at start-up.
Is it possibile?
Thanks all
Solved! Go to Solution.
02-10-2016 06:40 AM - edited 02-10-2016 06:42 AM
There is a registry key to do that, by default the value is explorer.exe, if you change it to abc.exe, abc.ex will be laucnhed at startup instead of explorer.exe.
Can't remember the key path though but a quick google search should help you.
EDIT :
try that one : HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
02-10-2016 06:40 AM
You can put your application into the Windows Startup.
However, this does not directly provide the feature you are looking for:
- No control over additional startup applications
- Even if you have a full-screen UI and make it non-resizable and non-minimizable, there are options to start new applications (e.g. Windows Start button)
- Beware window modality and "activation"
From the sound of your question, you want to have deep control over windows and reduce interaction options for specific users. This has to be done in the OS itself. Therefore i recommend you to consult Microsoft (MSDN) or Google for further information.
Norbert
02-10-2016 06:57 AM - edited 02-10-2016 06:58 AM
The best/most comprehensive way to do this is to use Windows Embedded (e.g. WES7), it allows you to fully customise the OS including removing explorer.exe (e.g. taskbar etc.) and set it up to run in a kiosk-mode.
There was a presentation about it at NI Week 2012 - I can't find the actual presentation but there's a writeup about it here - you might be able to get the presentation from the author.
Edit: Another link/discussion is here: https://decibel.ni.com/content/message/119979
02-10-2016 07:55 AM
02-10-2016 07:55 AM
try that one : HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell
Yep,
Replacing "explorer.exe" with application full path in register key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell works fine
02-10-2016 08:00 AM
I totally agree with you Mike... Most the time it's delusional thinking, this idea that somehow if you don't see the the task bar at the bottom of the screen thenm there is no Windows on the computer and then you're safe. Nonesense!
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
02-10-2016 08:20 AM
02-10-2016 08:35 AM - edited 02-10-2016 08:36 AM
@AC_85 wrote:try that one : HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell
Yep,
Replacing "explorer.exe" with application full path in register key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Shell works fine
It may seem to get you there, but it just is enough to fool the real inexperienced. Try Alt-Tab, Ctrl-Alt-Esc, and Ctrl-Alt-Del etc. while your kiosk app is supposedly blocking users from doing anything but interact with your application and you will see that some still work and allow you to run any executable including explorer.exe from there and then you are back at square one. Those key shortcuts can be disabled too, but that makes an awkward debugging experience and still doesn't prevent someone from plugging in a bootable USB stick and restart the system and then do whatever that bootable image provides, for instance a nice Linux based Windows recovery tool that can be used to clean various settings on the internal boot drive.
02-10-2016 09:01 AM
Yes,
I know that a "semi-expert" user can do evertything (he can run task manager, launch any process included explorer.exe and, then, restore normal Windows settings); but I simply need a sort of deterrent, not an expert-proof solution. I think that to prevent explorer process launching a start-up is a good trade-off.