microsoft.com Home  
Microsoft
http://www.microsoft.com/office/ork  
Using the System Policy Editor

How to Disable Shortcut Keys

You can use system policies to disable built-in and custom shortcut keys for commands in Microsoft Office 2000.

Disable a predefined shortcut key

Several built-in shortcut keys are listed in the Predefined category of the system policy templates.

To disable a predefined shortcut key

  1. In the System Policy Editor, open the policy you want to modify.
  2. Open the Properties dialog box for the user, group, or computer for which you want to set the policy.
  3. Click the plus sign (+) next to the Office application that contains the built-in shortcut key you want to disable.
  4. Click the plus sign next to Disable items in user interface.
  5. Click the plus sign next to Predefined.
  6. Select the Disable shortcut keys check box.
  7. Under Settings for Disable shortcut keys, click the check box next to the shortcut key you want to disable.

    For example, click the Ctrl+K (Insert | Hyperlink) check box to disable the shortcut key for the Hyperlink command (Insert menu) in Word.

Top

Disable a custom shortcut key

You can disable any custom shortcut key by using the System Policy Editor, even if the item is not listed in the policy template.

Note   In order to disable a custom shortcut key, you must know the virtual key codes for the shortcut key.

To disable a custom shortcut key

  1. In the System Policy Editor, open the policy you want to modify.
  2. Open the Properties dialog box for the user, group, or computer for which you want to set the policy.
  3. Click the plus sign (+) next to the Office application that contains the custom shortcut key you want to disable.
  4. Click the plus sign next to Disable items in user interface.
  5. Click the plus sign next to Custom.
  6. Select the Disable shortcut keys check box.
  7. In the Settings for Disable shortcut keys box, click Show.
  8. In the Show Contents box, click Add.
  9. In the Add Item box, type the key and modifier key values for the shortcut key by using the following syntax:

    key,modifier

    For example, to disable the shortcut key ALT+K, type 75,16

Note   If you use the Custom category to disable a shortcut key that has already been disabled elsewhere in the policy file, the duplicate entry is ignored.

Top

See also

To disable a custom shortcut key, you must know the virtual key code for the shortcut key. For information about virtual key codes, see Virtual Key Codes for Shortcut Keys.

You can use system policies to control a range of items in the user interface. For conceptual information about disabling items in the user interface, see Using System Policies to Disable User Interface Items.



Topic Contents   |   Previous   |   Next   |   Top

Friday, March 5, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of use.

License