Manually run "Run" registry entries on windows

2

0

I am developing an appliance for a company. I have to develop a custom "explorer.exe" to be run as the shell. The problem is that the current explorer does some import operations such as processing the "Run" (and RunOnce, which I don't actually need) registry entries at the following location.

HKLM\Software\Microsoft\Windows\CurrentVersion\Run

Is there a separate exe/command in windows to manually run these items that I can invoke from my custom explorer.exe?

Thanks in advance!

Paul Knopf

Posted 2013-05-15T15:26:23.297

Reputation: 177

2Nope. Just open the key, iterate the sub-keys and run the specified commands. – EBGreen – 2013-05-15T15:31:13.870

@EBGreen I'd say add that as an answer. :) – Ƭᴇcʜιᴇ007 – 2013-05-15T15:38:01.847

I generally only add answers if I have either dealt with the specific issue before or I have spent some effort in testing. I've never had the need to explore the WIN32 API for this specific answer, but I'm 90% sure it is correct. – EBGreen – 2013-05-15T15:57:46.003

Answers

-1

Creating Shell Extension Handlers

A step-by-step tutorial on writing shell extensions:

The Complete Idiot's Guide to Writing Shell Extensions - Part I

A tutorial on writing a shell extension that operates on multiple files at once:

The Complete Idiot's Guide to Writing Shell Extensions - Part II

A tutorial on writing a shell extension that shows pop-up info for files:

The Complete Idiot's Guide to Writing Shell Extensions - Part III

A tutorial on writing a shell extension that provides custom drag and drop functionality:

The Complete Idiot's Guide to Writing Shell Extensions - Part IV

A tutorial on writing a shell extension that adds pages to the properties dialog of files:

The Complete Idiot's Guide to Writing Shell Extensions - Part V

A tutorial on writing a shell extension that can be used on the Send To menu:

The Complete Idiot's Guide to Writing Shell Extensions - Part VI

A tutorial on using owner-drawn menus in a context menu shell extensions, and on making a context menu extension that responds to a right-click in a directory background:

The Complete Idiot's Guide to Writing Shell Extensions - Part VII

A tutorial on adding columns to Explorer's details view via a column handler shell extension:

The Complete Idiot's Guide to Writing Shell Extensions - Part VIII

A tutorial on writing an extension to customize the icons displayed for a file type:

The Complete Idiot's Guide to Writing Shell Extensions - Part IX

Simple way:

Replace default shell

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Shell REG_SZ <application>

STTR

Posted 2013-05-15T15:26:23.297

Reputation: 6 180