RunOnce

  • Thread starter Thread starter Ranga
  • Start date Start date
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.
 
(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.
 
Back
Top