RunOnce? Try RunNever

Set a key to stop users from employing the RunOnce capability on Win2k.

 

RunOnce? Try RunNever
Serdar Yegulalp

You may want to insure that your users aren't capable of using the RunOnce key in the registry. This key refers to programs that run once at the next system reboot. It's often used by program installers to delete temporary files, but it can also be used to do other things that can be harmful to a system.

The RunOnce key is located at HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce in the registry. To keep programs from being run from it, you can do one of two things:

  1. Enable the "Disable the Run Once list" Group Policy, which is in Computer ConfigurationAdministrative TemplatesSystem or User ConfigurationAdministrative TemplatesSystem.

  2. If you're not using group policies or don't have them configured, you can get the same results by setting the key DisableLocalMachineRunOnce (REG_DWORD) to 1. This key can be found at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer or HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer. The LOCAL_MACHINE version of the key sets it for all users.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.


This was first published in November 2001
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close