How do I lock down CTRL functions in IE6?

Posted on 2004-04-16
Last Modified: 2008-03-17
I am setting up a kiosk-mode PC running IE. Trouble is there are various CTRL combinations which compromise the security of the machine to a greater or lesser extent, or are just simply annoying. Examples are, CTRL-O, CTRL-P, CTRL-L and CTRL-E. I want to disable all these but can find no way to do it. I have tried keyboard remapping, and that doesn't appear to work (unless I'm doing something wrong). I can't believe these features absolutely can't be locked down so has anyone got any ideas, preferably in the form of a reg hack.

Question by:The__Saint
  • 7
  • 3

Expert Comment

ID: 10843933
You can use a registry hack to disable windows shortcut keys.

Use the following reg hack to disable shortcut keys in windows, make sure you back up first.

[Start] [Run] [Regedit]
User Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Machine Registry Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Modify or create the Dword value name: [NoWinKeys]
Enable restriction with value = 0, Disable restriction with value = 1

Use the following reg hack to disable/enable the windows logo key. Make sure you back up your registry first.

[Start] [Run] [Regedit]
Registry Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
Modify/Create the Value Name [Scancode Map] according to the Value Data listed below.
Data Type: REG_BINARY [Binary Value] // Value Name: Scancode Map
Value Data: [Enter Exactly as Shown Below]
00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00
Exit Registry and Reboot

Alternativly you can use third party software to do the job.

Some examples below but if you do a search on Google I'm sure you can come up with many more.

TweakI for power users

Cold key

Hope this helps

Expert Comment

ID: 10844363
The reg hack above may only disalbe the win logo key combinations not the ctrl key combinations. You can disalbe the ctrl key using scancode keyboad mappings. I have provided the info below to use if you wish along with a link to microsoft's website with more info on the subject.

More info and scancodes at

You can also use the scancode mapper to do this manualy yourself. You can download it at this website.

To disable both windows keys, both alt keys, both ctrl keys, the f10 key and the windows menu key save the following lines of code as a file called "SCANCODE.REG".  Then right click on the reg file and choose "merge" to add these values to your registry. Reboot your computer and those keys will be disalbed.



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,09,00,00,00,00,00,5b,e0,00,00,5c,e0,00,00,5d,e0,00,00,


To return you computer to normal just go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and delete the Scancode Map key from the registry and reboot your system. But remember while this is in effect ctrl + alt + delete will no longer work.

Expert Comment

ID: 10844766
I have tested the above reg file on my own system and it seems to work fine. However I forgot to mention one important thing.
Make sure you windows log on password doesn't contain any of the remapped/disabled keys on your keyboard or you may have some trouble logging on to your computer.

Just for this purpose I wouldn't use any special characters or numbers in your password. If you do decide to use numbers you may have to use your number keypad rather than the numbers across the top of your keyboard.  

Hope this all helps. You may have to add some other IE restrictions as well. Here are some additional restrictions that can be added for IE via the registry.

The Registry restrictions are found under HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions . Each DWORD value must be set to 1 to be enabled. To disable the restriction, set the value to 0.

 Restriction             Description
 NoFileOpen              Disables Open command on File menu, CTRL+O, and CTRL+L.
 NoFileNew               Disables CTRL+N
 NoBrowserSaveAs         Disables Save and Save As on the File menu.
 NoBrowserOptions        Disables Internet Options on the View menu (disables changing browser settings).
 NoFavorites             No Favorites menu, adding to favorites, or organizing favorites.
 NoSelectDownloadDir     Prevents user from being able to select download folder by not displaying the Save As dialog box when a file is downloaded.
 NoBrowserContextMenu    Disables HTML context menu.
 NoBrowserClose          Disable ALT+F4.
 NoFindFiles             Disables the F3 key.
 NoTheaterMode           Disables the F11 key.  
 Accessibility           Disables all options under Accessibility.
 GeneralTab              Removes General tab.
 SecurityTab             Removes Security tab.
 ContentTab              Removes Content tab.
 ConnectionsTab          Removes Connections tab.
 ProgramsTab             Removes Programs tab.
 AdvancedTab             Removes Advanced tab.
 CertifPers              Prevents changing Certificate options.
 CertifSite              Removes the Personal tab from Certificate manager.
 SecChangeSettings       Prevents changing Security Levels for the Internet Zone.
 SecAddSites             Prevents adding Sites to ANY zone.
 FormSuggest             Disables AutoComplete for forms.
 FormSuggest Passwords   Prevents Prompt me to save password from being displayed.
 Connwiz Admin Lock      Disables the Internet Connection Wizard .
 Settings                Prevents any changes to Temporary Internet Files.
 ResetWebSettings        disables the Reset web Setting button.

More info @


Expert Comment

ID: 10844833
Sorry pasted wrong link for more info on Microsoft site above. The link should be,;en-us;823057&Product=ie600

one above is ref to IE 4.

Sorry :-)
LVL 11

Expert Comment

ID: 10894956
The__Saint, Please respond to the comments from the Experts.
See: Thank you, turn123 (s)
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)


Author Comment

ID: 10896874
Cheers, still had one or two problems with the scancode map and eventually found I needed to allow ctrl-o in order to enter a web address and simply had to hide and disable all c-drive functionality to prevent the browse button working properly. However the list of codes proved v. useful, thanks.

Accepted Solution

WiseyD earned 500 total points
ID: 10901566
No problem "saint" glad I could be of help.

Expert Comment

ID: 10901599
Saint you awarded the points to Turn123, he wasn't the one who answered the question?

Author Comment

ID: 10906829
My apologies, it was meant for WiseyD.

Author Comment

ID: 10906839
Perhaps I should point out that my question was answered, albeit in a different manner. My problem was more about locking down the Kiosk rather than specifically disabling these key combinations. I have since found for example that I actually need to keep ctrl-O available in order to enter addresses (which aren't available if you're running in Kiosk mode) so have simply prevented all access to drive C and kept this option open. My apologies if you think I have awarded points for an incorrect answer but WiseyD has in fact answered my question via a different approach. The Kiosk is now locked down to a level I am happy with thanks to some of the reg entries provided.

Expert Comment

ID: 10908014
The keys that were locked down were based on the four keys you mentioned in your original question, however I provided the extra links and info so that you could tweak it as you saw fit, just in case. I'm glad I could be of help to you. Good luck with the Kiosk. :-)

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What is the cheapest way to learn Websphere MQ? 2 74
Intranet building Software 8 98
PDF File Shrinker 10 118
physical application forms to digital format 2 23
If your app took Google’s lash recently, here are the 5 most likely reasons.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now