LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling access to windows while a labview program runs.

Hi
 
At present were designing a new ATE.  On our previous ATE's We found problems were operators deleted requiredd files which we couldn't make read only as the labview logged data to them and if they were read only we got errors..
 
we also had problems were operators were smart enought to figure out the proxy settings for the internet and enable internet useage and surf and download instead of doing
there work..
 
I want to if possible as soon as the machine starts automatically load the labview program and from there on the user has no access to any of the windows environment.
 
Eg the labview program running is the only thing the user can use until the labview program is exited via a special password or something..
 
Any help is much appreciated.
0 Kudos
Message 1 of 7
(3,383 Views)
There is somewhere a registry setting that describes your windows explorer executable.
Replace this with your executable. After finishing your program you can load explorer.exe

I think tweakUI reveals this.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 7
(3,371 Views)

Thanks Ton.

I found another Thread which detailed how to do simalar thought the group policies editer and by changing the custom user interface from explorer to a labview exe..

Think its the same thing as you suggested just a different way.

Thanks

0 Kudos
Message 3 of 7
(3,343 Views)
Could you link this thread?

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 7
(3,332 Views)
To disable CTRL-ALT-DEL:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentValue\Policies\system\D
isableTaskMgr=1". This isn't perfect. It will block ctrl-alt-del and
ctrl-shift-esc, but it will popup a messagebox. If you press 50 times,
you'll have 50 popup messageboxes, behind your application....

Another way is to remap your keys. If you map your ctrl key to F12 or
something, you can't press ctrl-alt-del anymore, but you can't press ctrl-C
either...

To set a program as replacement shell has concequences. Starting
exlporer.exe after your application does not do the same as starting it as
shell. On thing I've noticed is that the login screen of windows isn't
working. This is because a proccess called WinLogin.exe isn't started. So
you also need to start that proccess. And perhaps some other proccesses...
Anti virus programs won't be started, for example.

If your program is your new shell, you'll notice that the program will not
start untill after 30 seconds. That is because you need to send a
ShellReadyEvent.

If you want to do it good, you'll need winxp embedded. Or Linux.

Just some thoughts.

Regards,

Wiebe.


0 Kudos
Message 5 of 7
(3,306 Views)

Hi Ton

The link for the Thread i mentioned yesterday.

http://forums.ni.com/ni/board/message?board.id=170&message.id=31179&query.id=14303#M31179

Thanks

0 Kudos
Message 6 of 7
(3,298 Views)
Hi Wiebe.
 
Thanks for the info.
 
I'll check it out today or next week.
 
Regards
 
Barry
0 Kudos
Message 7 of 7
(3,297 Views)