Enable or Disable Run Commands Specific to the Registry

Did you know that you can enable or disable run commands specific to the registry? Most people are not aware of this.

If you’d like to try this out, you need to be on a computer running Windows XP. You also need to make a backup of your registry settings because you will be modifying your registry. There are risks associated with registry modification, so you should always have a backup available.

Below are the steps to perform this registry tweak:

  1. Click on Start and go to Run. Enter regedit. Your registry editor will come up on the screen.
  2. Locate HKEY_LOCAL_MACHINE on the left hand side of the registry editor. Expand the folder by clicking on the little cross on the left.
  3. Go to Software and expand the folder.
  4. You should be able to find Microsoft. Expand Microsoft.
  5. Look for Windows and expand the folder to go to CurrentVersion.
  6. Expand CurrentVersion and look for Policies.
  7. Expand Policies and go to Explorer.
  8. Now look at the right hand side of the registry editor. You should have the following value names present. If you have them go on to step ten.


    If you do not have them, they will have to be created. Here are the instructions for creating them.

    • Right click on the right hand side of the registry editor.
    • Select New and then select DWORD.
    • Rename the value to the missing value name from the list above. If DisableCurrentUserRunOnce is missing, create the value by renaming the new DWORD value. If more than one is missing, create another value using the same process.
      You may also right click on the new DWORD value that you have created and select Rename.
  9. Double click on the value name you wish to enable or disable. Example, DisableLocalMachineRun. A new box will come up.
  10. In the value data field, enter 0 if you want to disable and enter 1 if you want to enable. Do the same for the other value names.
  11. When you’re done, exit the registry and reboot.