12-17-2008 10:19 AM - edited 12-17-2008 10:20 AM
Task manager can easily be disabled by changing a registry value. I also need to lock out the Windows keys. Since NI claims that LabVIEW is Part 11 compliant, I would have assumed that this function would be standard but I digress.
I have found the registry value but for some reason, the value does not get written into the registry correctly:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5B,E0,00,00,5C,E0,00,00,00,00
I have also tried to write the binary value (0000 0000 0000 0000 0300 0000 0000 5BE0 0000 5CE0 0000 0000) as well with no luck.
Any ideas??
Thanks all!
Solved! Go to Solution.
12-17-2008 11:22 AM
I think you have to restart windows before the change in keybord settings take place
12-17-2008 04:09 PM
The problem isn't the restarting of the PC. The problem is writing the correct value to the registry. I already have in other pieces of my code to reboot after any security change. Check out the VI I attached.
12-18-2008 03:10 AM
This web site has some info
http://msdn.microsoft.com/en-us/library/aa460734(WinEmbedded.5).aspx
It is also a lt of code examples out there for C++ and VB. Perhaps a frind of yours may write a simple dll. But I can not help you out. I have not written C code for 10 years now
12-18-2008 08:35 AM
12-18-2008 09:13 PM
What happens when you try? Is the key not written? Written but not correct? Error messages?
Mike...
12-19-2008 01:51 AM