Registry Home > Security

Disable Run Commands Specified in the Registry (Windows 98/Me/2000/XP) Popular

This restriction is used to disable the ability to run startup programs specified in the registry when Windows launches.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below.

Create a new DWORD value for each of the optional values below depending on which Run function to stop and set the value to "1" to disable.

Restart Windows for change to take effect.

Registry Editor Example
|(Default)REG_SZ(value not set)|
|DisableLocalMachineRunREG_DWORD0x00000001 (1)|
|DisableLocalMachineRunOnceREG_DWORD0x00000001 (1)|
|DisableCurrentUserRunREG_DWORD0x00000001 (1)|
|DisableCurrentUserRunOnceREG_DWORD0x00000001 (1)|
Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Value Name: DisableLocalMachineRun, DisableLocalMachineRunOnce, DisableCurrentUserRun, DisableCurrentUserRunOnce
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = enable run, 1 = disable run)

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: December 19, 2001