Results 1 to 7 of 7
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Sonoma County, California, US of A
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts

    runonce.exe (98SE)

    Hi All

    Anyone know what runonce.exe is, and why it might be in my windows startup list (MSconfig, startup tab)? I dont remember seeing it there before. Searched this forum, gen win solutions and MSkb without any luck.

    Thanks, Dave

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: runonce.exe (98SE)

    Have you installed new or upgraded some software and have not done a "Restart"?

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Sonoma County, California, US of A
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runonce.exe (98SE)

    Hi Dave

    I didn't have a restart waiting that I was aware of, but did one anyway to check. It didn't remove runonce.exe from the list. If it's any help, on the left side of the list on the msconfig startup tab it says mdac_runonce and on the right references the .exe in the windowssystem folder. I like to keep my startup as thin as possible, so I'm wondering if I can uncheck it. I was also wondering what it was doing there.

    Thanks for any help

    Dave

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runonce.exe (98SE)

    Click on search and select all forums and look for "runonce" without quotes. There is another thread.

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runonce.exe (98SE)

    From reading what you posted, it sounds like at some point you upgraded your MDAC (Microsoft Data Access Components). This can happen as part of other software installs too, notably Internet Explorer.

    Clear the checkbox and reboot. I'd lay a twenty that you will never miss it. RunOnce.exe is intended to complete setups after a reboot - ever see that cute little gray box that says "Windows is now setting up the following items"? There ya have it.
    -Mark

  6. #6
    Star Lounger
    Join Date
    Jan 2001
    Location
    Sonoma County, California, US of A
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runonce.exe (98SE)

    This sounds right

    Thanks for the info, Dave

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runonce.exe (98SE)

    I found <A target="_blank" HREF=http://support.microsoft.com/support/kb/articles/Q234/2/16.ASP?LN=EN-US&SD=gn&FR=0&qry=Q234216&rnk=1&src=DHCS_MSPSS_gn_ SRCH&SPR=W98>this</A> on the MSoft Knowledge Base and made it into a batch file.


    My needs are simple. First thing each morning I slide my backup drive into the rails, and power on. My boot sequence detects the extra drive (If Exist ...) and initiates a backup from my main drive to the backup drive. After which I shut down the machine.

    I decided that the machine ought to shut itself off, so that a blank screen or quietness tells me that the backup is complete, at which point I can extract the backup drive and re-power the machine.




    You will note that I first essayed with the runonce.exe. If I were using it regularly, I'd turn the BATch file into a shortcut and cause it to close automatically.


    REM ShutDown.bat Christopher Greaves Thursday, November 15, 2001
    ::
    ::
    :: You can use either of the following commands in a batch file to restart
    :: Windows 98/Me automatically:
    ::
    :: runonce.exe -q
    ::
    :: rundll32.exe shell32.dll,SHExitWindowsEx n
    ::
    :: where n is one, or a combination of, the following numbers:
    ::
    :: 0 - LOGOFF
    ::
    :: 1 - SHUTDOWN
    ::
    :: 2 - REBOOT
    ::
    :: 4 - FORCE
    ::
    :: 8 - POWEROFF
    ::
    :: The above options can be combined into one value to achieve different
    :: results. For example, to restart Windows forcefully, without querying any
    :: running programs, use the following command line:
    ::
    :: rundll32.exe shell32.dll,SHExitWindowsEx 6
    ::
    :: NOTE: Using the FORCE option can cause programs to lose data.
    ::
    :: Below is an explanation of each available option used with the above
    :: command line:
    ::
    :: LOGOFF - Shuts down all running processes, then logs the user off.
    ::
    :: POWEROFF - Shuts down the system and turns off the power. The system must
    :: support the power-off feature.
    ::
    :: REBOOT - Shuts down the system and then restarts the system.
    ::
    :: SHUTDOWN - Shuts down the system to a point at which it is safe to turn off
    :: the power. All file buffers have been flushed to disk, and all running
    :: processes have stopped.
    ::
    :: FORCE - Forces processes to terminate. When this flag is set, Windows does
    :: not query running applications to inform them that Windows is shutting
    :: down. This can cause the applications to lose data, therefore, you should
    :: only use this flag in an emergency.
    ::
    :: The "rundll32.exe shell32.dll,SHExitWindowsEx (n)" command mentioned above
    :: can be called from the RunOnce registry key.
    ::
    :: The runonce.exe -q command mentioned above restarts the computer after a 15
    :: second delay. There are no other options when using this command line, and
    :: it cannot be called from the RunOnce registry key.
    ::
    :: For additional information about the RunOnce registry key, please see the
    :: following article in the Microsoft Knowledge Base: Q137367 Definition of
    :: the RunOnce Keys in the Registry Article ID: Q234216
    ::


    :: c:windowssystemrunonce.exe -q
    c:windowsrundll32.exe shell32.dll,SHExitWindowsEx 13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •