Any idea how RunOnce.exe works?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Any idea how RunOnce.exe works?

#1 Post by npocmaka_ » 08 Sep 2013 15:29

As it's available on all windows versions it's interesting for me to understand how it works.
I supposed that If I add registry keys as it described here http://support.microsoft.com/kb/310593
and run it it will start the notepad but nothing happened.

When I run I can see only a windows that stars for a moment but nothing more....

npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: Any idea how RunOnce.exe works?

#2 Post by npocmaka_ » 08 Sep 2013 23:28

Ahaam. The values added to registry starts the program right after login and before everything else (even before the explorer.exe).
But still dont know how to use runonce.exe. ..

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Any idea how RunOnce.exe works?

#3 Post by foxidrive » 09 Sep 2013 00:11

It's not something that I've had a need to look into.

See if a batch file will launch - like this to create a file and pause.

Code: Select all

@echo off
type nul>"%temp%\testrun.txt"
pause

Post Reply