JSI Tip 5550. How can I disable the registry run keys in Windows XP?

You can disable the following registry run keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

To disable any of the above keys:

1. Use the Registry Editor to navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.

2. Add Value Names per the following table, setting these REG_DWORD data types to a data value of 1. A data value of 0 will enable the run key:






















    Value Name     Key to Disable    
    DisableLocalMachineRun     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
    DisableLocalMachineRunOnce     HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
    DisableCurrentUserRun     HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    DisableCurrentUserRunOnce         HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce    
When you restart Windows XP, the configured entries in the disabled run key(s) will NOT start.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish