RunOnce

R

Ranga

Dear All,


I want to execute a program, which must run only once during the
system booting, after which it should not run.

For this I created a component with the Registry details as follows;

Key: HKLM\software\Microsoft\windows\CurrentVersion\RunOnce

Valuename: startup
Valuedata: c:\windows\system32\startup.exe

After the system got booted, the startup.exe did not work, and also, I
could not find this entry in the Registry.

what could be the reason behind this.

With Regards,
Ranga.
 
J

Jon Fincher

(e-mail address removed) (Ranga) wrote in
Dear All,


I want to execute a program, which must run only once during the
system booting, after which it should not run.

For this I created a component with the Registry details as follows;

Key: HKLM\software\Microsoft\windows\CurrentVersion\RunOnce

Valuename: startup
Valuedata: c:\windows\system32\startup.exe

After the system got booted, the startup.exe did not work, and also, I
could not find this entry in the Registry.

what could be the reason behind this.

The RunOnce command ran during FBA - check C:\Windows\FBA\FBALOG.txt and
search it for Startup.EXE.

If you need it to run when the machine boots after FBA, you either need
to add it after FBA is done and reseal the machine, or, if you're using
the Explorer shell, set it in RunOnceEx, which is processed by Explorer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top