LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable the windows key?

Solved!
Go to solution

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!

 

Message Edited by ScooterInMN on 12-17-2008 10:20 AM
0 Kudos
Message 1 of 7
(4,316 Views)

I think you have to restart windows before the change in keybord settings take place

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 7
(4,300 Views)

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.

0 Kudos
Message 3 of 7
(4,267 Views)

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



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 7
(4,250 Views)
This is the article that I followed.  The problem is that I can't get LabVIEW to correctly write the value to the registry.
0 Kudos
Message 5 of 7
(4,230 Views)

What happens when you try? Is the key not written? Written but not correct? Error messages?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 7
(4,202 Views)
Solution
Accepted by topic author ScooterInMN
Thanks to you I have no windows key (until I reboot Smiley Very Happy ). Change the setting for the string const. Then you can write pure hex values. Go to the msdn web site and cut and paste the values .Worked for me. Then I came to work today I had no windows key


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 7 of 7
(4,189 Views)