Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: After a power outage 1 program in startup folder did not start

After a power outage the only program in the startup folder on my home server did not start but when i looked at task manager it's process was running?

to be clear in Task manager it was not showing as a running application but program.exe was showing in the processes tab. It was obviously not working properly though as a window to it should have opened.

The program is a Homemade central heating controller written by me and has been running fine on my Home server for over 2 years 24/7 and has recovered from many many power outages in that time.

This is the first time this has ever happened.

The outage was for a few seconds only and my main computer (not the server) which was also running at the time would not restart properly at all and I had to do a system restore to get it to work.

I am going on holiday soon leaving some friends in my house and it would be a major problem if this happened again while I was away.

I can't see that this outage could be different from any other. could it?
a reboot is a reboot surely?

I rebooted manually and all was well so god knows why this time it was different.

should I get a UPS do you think ? if so anyone got a suggestion for a good one.
My server only uses 28w and most of our power cuts are short lived.

sure, a UPS is a good idea... but picking one can be fun - see this link.

you could write a tool that watches for the other software's window and if it does not see it after some preset amount of time, it tries to restart that app --- if that fails, it restarts the computer.

assuming that the server has a connection to the internet, TeamViewer might let you remotely view/control/reboot it from a smartphone.

sure, a UPS is a good idea... but picking one can be fun - see this link.

you could write a tool that watches for the other software's window and if it does not see it after some preset amount of time, it tries to restart that app --- if that fails, it restarts the computer.

assuming that the server has a connection to the internet, TeamViewer might let you remotely view/control/reboot it from a smartphone.

Hey that's not a bad idea !
I could easily write an app to do that ! why didn't i think of that

ah just had a thought though, the checking app might not start either

I do use Teamviewer though so that's something to think about. I could log on to my server from the Caribbean

If the second "watcher app" has no visible windows, it can do it's thing without hanging up on some GUI creation process. If you know how, you can have the "watcher app" run as a service.

I'm no programmer and I only know a little bit about a few programing languages. I do most of my stuff in a scripting language named AutoIt. And most of my stuff has no visible windows. See this post and its videos for more info. AutoIt (or other programming tools) can be used to send you an e-mail if things barf.

I have written stuff where the main program watches for and tries to start or re-start the "watcher app". And the "watcher app" watches for and tries to start or re-start the main program. Between the two of them - they both stay running.

I don't know what could have caused your app to not start all of the way - but as important as that app is, I would set the server's BOIS to have the computer turn on when power is restored and set it to power up the computer each day at a certain time - just in case. (assuming that the BIOS has such settings). And I would go as far as writing/running two watcher apps - each checking in a different way that the main app is running and each app keeping tabs on the other 2.

After a power outage 1 program in startup folder did not start

Cant get program to start on startupHello, I have IPVanish VPN on my win 7 pc and they updated the software. Well with the old version in order not to get a popup every time on startup I had to go into the scheduler and on IPVanish choose run as admin and that solved my issue now after my update the software wont start at all on...

Software

How to make a program run at startup (without using Startup folder)?In nearly 20 years of using Windows, I've never needed to make a program run at startup, so I have always deleted the "Startup" folder because it has always been redundant and I like my "All Programs" folder to be as neat as possible so I can quickly find what I'm looking for.
However, today for...

Software

How do I have a program in the startup folder minimize to tray?I would love to know how to have a startup program (in shell:startup folder) to minimize to the tray as soon as it starts :3 thanks.
oh by the way, i already found a program that can send anything to the tray, but you have to right click on the minimize button to do it. i want it to be automatic...

Software

Windows will not start after power outage during updateHey all
Today I experienced a power outage while windows was installing an update.
Now whenever I try to start up my computer it gets to the Windows logo, a BSOD flashes for a split second, and the system restarts.
Booting in safe mode also gives the same problem.
System restore cannot find...

General Discussion

startup problem after power outageAny help would be appreciated! I'm out of ideas...
Dell Inspiron 546
Windows 7 Professional 64 bit
Had a power outage while computer was running. When I restart, it hangs at the “starting windows” screen.
Startup repair usually hangs at “windows is loading files” but occasionally works, so...