Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84694members
354073posts

Windows did not shutdown properly - start normaly or safemode?

APC UPS for Home and Office Forum

Schneider Electric support forum for our APC offers including Home Office UPS, Surge Protectors, UTS, software and services and associated products designed to share knowledge, installation, and configuration.

Solved
Ron11_apc
Crewman
Crewman
0 Likes
17
426

Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 11/19/2009


I have just upgraded to Windows 7. I wanted to use Win7 backup to run every night so I need to leave my computer on over night. I was worried about power outages so I bought a BR1500LCD. If there is a power outage I was hoping the Powerchute software would close all programs and tell the OS to shut down. I do not need the computer to start back up after power is restored.

In PowerChute Personal Edtition 2.2, I set "Keep my computer on as long as possibe" and "Shut down my computer when the time left on battery backup power is; 8 minutes"

I then cut the utility power to the BR1500LCD and it switches to battery. With 8 minutes left in stead of it closing all programs and shutting down, I get a notification the it is going into hibernation, which it does but never shuts down. When the 8 minutes run out the BR1500LCD shuts off completly as expected but while the computer is still on in hibernation. However, after restoring utility power, turning the BR1500LCD back on, and turn my computer back on, during bootup I get the message that "the computer did not shut down properly" and "would I like to restart the computer normaly or in safe mode?" ...or words to that effect.

Is it possible to get the BR1500LCD to close all programs (inerupting Win7 backup and closing it in the process) and shut the computer down properly?


Accepted Solutions
BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/7/2009


Ron,


The DLL that you have mentioned (powrprof.dll) is not in anyway came from PCPE. Also, on the PCPE removal code it doesn't do anything with that dll file. Have you tried searching your computer for this dll? What happens if you re-install PCPE again does it still look for that file?

We have found a website as well that we hope can help you with this DLL missing error, please click --> here. Do you have another PC that is using Windows 7 64-Bit that we can try to use PCPE?

JonPro

See Answer In Context

17 Replies 17
BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 11/20/2009


Good day Ron,

I hope all is well on your end. First thing that I would like to know from your end is what does the computer do whenever you tell it to hibernate. Here in our lab whenever we command the PC to hibernate it saves the current state of the Operating System and turn itself off, have you checked if the PC is really hibernating or did it enter what do we call as sleep mode. Also, let the computer run on hibernate and see if the PC would turn off and how long would the process take. If it takes longer than 8 minutes it means that the runtime left is not sufficient with what the computer needs.

One thing that I've experienced on our Vista machine was the Allow Hybrid Sleep which I did set to Never/Off in order for me to see the Hibernate option on the Shutdown options. I believe Vista is almost the same as Windows 7. If you do not want your PC to go on hibernate but instead would like to shut it down you will need to disable the hibernate function.

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 11/21/2009


Hey JonPro,

Thanks for helping. When I tell my computer to hibernate, (that is Left click on the start globe, hover the mouse over the shut down arrow and select "Hibernate" from the resultant popup.) it will cause the screens to fade to black, the power button on the tower case will remain lit (indicating the computer is still on, and you can hear the fans still running) for approximately 3 minutes after which time the power supply finally shuts everything off completely. (power button light goes out and the fans shut off). At this point I can hit the power button back on and the computer starts to boot. After the BIOS screen the Win7 start screen appear almost normal except the wording is slightly different. I can't remember what it said exactly but it seem to signify that it recognizes that Hibernate shut the computer down and it was going to come out of hibernation. It seemed to load the desktop much faster and everything seemed to be as it was. Here, I think it must be working as designed.

Although that 3 minutes it took to hibernate should have fit well within the 8 minutes used previously, I decided to change PowerChute Runtime to "Preserve battery power...5 min". My runtime on battery power is about 28 minutes, reported and messured elapse time durring my first experiment the previous day. With these new settings and the battery charge back to 100%, I killed the utility power once agian. While running on battery power the indicated wattage was ~230w. 5 minutes latter the PowerChute software poped up saying it reached the hibernation point. At this time the screens faded to black once again and the wattage dropped to ~ 190w. Approximately 3 minutes after PowerChute reached hibernation point the BR1500LCD and the PC shut off simultaniously. Its hard to say whether the BR1500LCD shut off while the PC was still on and drawing ~190w or whether the PC shut down causing the BR1500LCD to shut down seemingly simultaniously. I will say that the sounds the PC makes does not sound typical. Instead of a more systematic normal shut down, It sounds more abrupt like the plug was pulled from the wall.

After restoring utility power, the BR1500LCD turned the line power back on. At this time I can press the power button and turn the PC back on. (BIOS must be set to stay off after power interuption) The PC will again boot to the same "Windows Error Recovery" screen asking if I want to start windows normaly or one of the safe modes. So the PC didn't complete a normal shut down.

I'm not sure if the computer is in sleep rather than hibernate. Also, I don't know if I want Hibernate or Shutdown. This is new territory for me. 😉 I would like it if my PC, when encountering a power outage, would shut down gracefuly. If Win7's backup is running at the time, I don't care if it can not complete the backup but it would be nice if the programs closed normaly followed by the computer shutting down normaly. So that the next time the computer is turned on it either clean boots normaly or boots back out of hibernation normaly. Which would you suggest in that situation? (Win7's Backup running) ...hibernation or just shut down? I maynot have a choice if I can only get one of them to shut down gracefully followed by a normal boot.

Anyway, I appreciate you helping me with this as best you can from where you're sitting. 😉 Windows 7 being rather new, and possibly just different enough from Vista, it might take a while before this can get worked out. Or maybe its something simple I'm doing wrong. 😉

Cheers,
Ron

Message was edited by: Ron11

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 11/23/2009


Ron,

Thanks for keeping us updated. Based from your post above I do understand that you do not consume/use all fo the runtime that your UPS can provide. You've mentioned that you are using the Preserve battery power which commands the PC to turn off/hibernate after running on battery for whatever option you have chosen. Also, do you happen to restore the power on the UPS once the PC hibernates or do you wait for around 4 to 5 minutes more?

Here is an overview on how it would work if your are using the above configuration:
# UPS goes to battery and the PowerChute Personal starts the preserve battery power counter.
# When the counter expires it then tells the UPS to start counting for its turn off delay and then tells the OS to shutdown/hibernate.
# The OS will then either shutdown/hibernate and the UPS continues to count its turn off delay. On this part, once the UPS is done counting it will reboot and nothing can stop this from happening.
# The UPS will then cut power to the outlets then checks if the incoming power is acceptable. During this period if you've re-applied power during step 3 it will still reboot causing the loads to drop if they were turned on.
# If the UPS went to battery dues to a brown out, the UPS will be on low voltage sleep mode until the voltage becomes acceptable again.

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 11/24/2009


Hi JonPro,

I did not restore the power on the UPS. After I restored the utility power to the wall socket the UPS automaticaly went into "on line" mode. I did not restore utility power until the computer shut down completely at which time the UPS had seemingly simultaniously cut the power to to its outlets.

With the PowerChute set to "Preserve battery power...5 min", the battery charged to 100%, current draw ~190-230w, and the motherboard BIOS set to stay off after a power interuption, I figured the chain of events might go something like this;

1. Utility power cut - UPS signals PowerChute UPS is in battery mode, PowerChute inturn starts the 5 minute countdown to tell the OS to hibernate.
2. 5 minutes after utility power cut - PowerChute tells OS to go ahead and hibernate. UPS continues to provide power to its outlets.
3. The OS is busy trying to complete the hibernation operation. Approximately 3 minutes latter (now 8 minutes total time since utility power cut) one of two things have happened.
A. The UPS has cut the power to the outlets before the OS could finish hibernation and computer shutdown. (Hence the "Windows Error Recovery. ...start normaly or safemode" message at the next computer bootup)
B. The OS did finish hibernation and when the BIOS shut off the computer the UPS sensed this and turned off its outlets which happens so fast it seem simultanious. (If this was the case, why the Windows Error Recovery? )
4. With both the computer off and the UPS outlet power cut, it takes me 2 to 5 minutes to restore the utility power.
5. After restoring utility power, the UPS automaticaly goes into "on line" mode and passes utility power to the UPS outlets. (the monitors power indicator lights come on)
6. The PC does not power back up on its own. (BIOS must be set to stay off after power interuption)
7. I have to hit the power button on the PC to turn it back on at which time the PC will again boot to the same "Windows Error Recovery" screen asking if I want to start windows normaly or one of the safe modes. So the PC didn't complete a normal shut down.

Perhaps the OS is going into sleep and not hibernate?

Question - After PowerChute commands the PC to hibernate, the PC hibernates and then shuts down, how long will the UPS continue to power the outlets? Should the outlets stay on until the battery runs down (assuming the utility power remains off) or does it cut the power to the outlets when the PC shuts off?

Thanks in advance,
Ron

Message was edited by: Ron11

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 11/24/2009


Ron,

I'll get back to you on how long does the UPS waits until it cuts power from the outlet. Regarding the other concern, let us try to open the Power Options settings on your Windows 7 and let us choose Change Plan Settings. Once you are on that page kindly look for the Sleep option and then locate the setting that says Allow Hybrid Sleep, set this one to Off. Once disabled this would list Hibernate as one of the available option on the Start Menu/Shutdown Options.

After configuring this, let us try to simulate another power outage on your end and let us check if this would fix the problem.

JonPro

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 11/24/2009


Thanks JonPro,

As it stands right now I already have a Hibernate option available to me by clicking the Start (ORB), hover the mouse over the right arrow next to "shut down" which pops up a menu that has Switch User, Log Off, Lock | Restart | Sleep and Hibernate. That is how I manualy caused the OS to go into hibernate so I could witness how hibernate works and how long it took to hibernate. Undoubtedly, the time it takes to hibernate would probably depend on what the computer was doing at the time it was commanded to hibernate. But at least it gave me an idea of the minimum time and I got to see how hibernate works when it works right. That was the first time I ever seen hibernate in action.

I did navigate my way to the Power Options / Advanced Settings tab where it said "Select the power plan that you want to customize...ect...". In the adjacent window I found the "Sleep" settings. Under Sleep I have 3 settings available. "Sleep after", "Hibernate" and "Allow wake timers". Sleep and Hibernate both allow me to set the number of minutes and the "Allow wake timers" can either be Enabled or Disabled. Right now Sleep and Hibernate are set to "Never" and ...timers is set to Enable. I can't seem to find Hybrid other than the discription in "Windows Help and Support" documentation. It does mention if hibernate options is missing, you might have hybrid sleep turned on. But it doesn't mention how to turn it on or off. But I do see "Hibernate" under Start/Shut down so that might be a moot point.

Looking forward to what you come up with. I hope APC gets some worhtwhile info/feed back out of this too. 🙂 I'm willing to take some time experimenting with this if you are 🙂

Cheers,
Ron

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 11/30/2009


Good day Ron, hope is well on your end.

How was your Thanksgiving? Alright, I asked our Software specialists about this issue and we've tested this in our laboratory using PCPE 2.2 on Windows 7 64-bit system. We've set it to shutdown and hibernate when the UPS has run on battery for 1 minute and it works without any errors or problem. It turns off/hibernate without any problem and boots-up they way it should. Would it be possible for you to set PCPE to turn off/hibernate after it runs on battery for 1 minute?

JonPro

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 12/2/2009


Hi JonPro,

Sure was nice to have a few days off over Thanksgiving. Same with you?

Thats encouraging to see the lab get expected results using PCPE2.2 and Win7 64-bit. I tryied your suggestion to change it to 1 minute. The results are exactly the same as before, excetp of course the hibernation point was reached in only 1 minute. Just to watch the Win7 hibernation feature one more time I did another manual start/shutdown/hibernate. This time it only took 2 min 5 seconds to hibernate and then shut off. Turning the computer power back on it boots with the Resuming Windows screen. So I know its possible for Win7 to hibernate and resume properly as installed on my hardware. Its just that it doesn't seem to work right when commanded to hibernate programmaticaly by PCPE. The fault may not lie in PCPE as the lab has proven it to work on another Win7 64-bit system. Theres something different at my end. ...hum...but what? 🙂

FYI. firmware = 839.H7.D

Question - When I manually hibernate and after the computer finally shuts itself off completely the UPS stays on...I'm guessing that is correct behavoir? The OS does not send a command thru the USB port to the UPS to shut off the plugs just as it commands the motherboard to shut off. Is the UPS suposed to stay on (for how long) after PCPE initiates hibernation? My computer and UPS seem to shut off simultaniously...possibly before the hibernation routine finishes.

EDIT: I guess I just repeated myself with that question above - just ignore it Jon, 🙂 You'll get to that part when you have the info. 😉

Would it be worth a try to configure for shut down instead of hibernate followed by shut down? (gracefully closing all programs first of course) And if so, how do I do that? I'm willing to continue troubleshooting the hibernate option for as long as you are. 😉 Just thought I'd throw that out there too.

Ron

Message was edited by: Ron11

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 12/2/2009


Success!! ...of sorts...

I found out how to enable and disable hibernate on Windows 7. Typing "powercfg -h off" at the command prompt will turn it off. "powercfg /?" if you want to see all the options available. With hibernate disabled everything worked as it should.

1.) with a couple of programs running, kill the utility power. OS informs system running on battery.
2.) after 1 minute PCPE pops up message 'shuting down in x seconds...'
3.) after x seconds Win7 starts closing open programs followed by a normal shut down, followed by the computer shuting off completely. (just as if the start/shutdown clicked)
4.) power remains on the UPS plugs (by evidence of the monitor power buttons flashing) and the UPS LCD stays on.
5.) approximately (i did not time it) 1 to 2 minutes after the motherboard shuts down, the UPS plugs are turned off (monitor lights go off) and the UPS LCD turns off but the UPS power button and "Display/hold to mute" buttons remain lit. UPS is now sleeping?
6.) approximately 1 more minute latter the UPS buttons go off. I wait an addional 3 minutes anyway.
7.) restore utility power.
8.) UPS buttons light up.
9.) Hit the computer power button and i get a normal bootup without the "windows did not shutdown properly..." screen!!! Hurrah!! 🙂

I just have one more test to do. Have Win7 backup running and kill the utility power to see if the OS can gracefully close Win7 backup while its running, OS perform a normal shut down, all before the UPS kills the power to the plugs. If that works then I will have everything that I bought the APC UPS for. I would be happy camper. Thanks Jon.

However, it would be nice if I could get the hibernate function to work too as I would use hibernate instead of shut down if I could. I just feel as if the UPS might be killing the power to the plugs before the OS can finish hibernating. I wish the power to the plugs were left on a bit longer after the motherboard shuts down the same as it does when the hibernate feature is turned off.

I'll let you know how my last test goes.

Thanks again,
Ron

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/2/2009


Ron,

I had a great holiday too. Thanks for asking.

Going back to our problem. Once the UPS sends the shutdown/hibernate signal to the PC it also starts to count the UPS turn off/sleep counter. There is no way for us to stop the UPS turn off command or counter. After the PC successfully complete the hibernate/shutdown process, I've waited 2 minutes more before the UPS entered sleep mode. The Online and Replace Battery LEDs would flash alternately to tell you that it has entered sleep mode. Make sure that you wait for this behavior to happen before re-applying power to the UPS, failure to do so would cause a reboot on your OS. Remember that when the UPS is on sleep mode, voltage/power is not present on the UPS. Imagine that you've let the UPS turn off/hibernate the PC and you've applied power back to the UPS without waiting for it to enter sleep mode and the countdown has started it will put the UPS to sleep mode first before restoring power.

Remember that when the UPS is on battery the devices connected to it wouldn't know if the power being fed to them is from a typical AC outlet or from a UPS. There are certain users who would like to have their PC to turn on automatically once power is restored. If the UPS haven't started the countdown timer yet or the PC haven't initiated hibernate/shutdown, there wouldn't be any problem. But if the UPS has started the count already and the PC has hibernated/shtudown already it'll cut the power off first for about one second before re-applying power to the outlets again.

For your last question, I believe that if you disable the hibernate option in Windows 7 it will proceed with shutdown instead.

JonPro

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/2/2009


Ron,

The command that you used was also the same command that you can use on a Vista/XP machines, but I haven't tried that personally so I wasn't able to inform you about it. Let see if this one works, I tried this on a Vista machine.

* Enable the hibernation option in Windows 7 using the command that you've posted. Instead of using -h OFF use -h ON, on the Power Options window make sure that they part where it says "Put the computer to sleep" set to Never.
* On the Advance Power Settings, make sure the Allow Hybrid Sleep is set to Off. I suggest that you check your settings for Sleep After as well this should change to Never.
* Let us keep the PCPE settings the same as what you have already, Preserve Battery Power and set it to 1 minute. Unplug the UPS from the wall outlet and let the PC hibernate and the UPS to enter it's sleep mode.
* Once the UPS is on sleep mode, restore power back to the UPS wait until it normalize and then turn the PC back on.
Keep us updated with what is happening on your end.

JonPro

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 12/4/2009


Jon,

First, I did do my Win7 Backup test with hibernation disabled. Shut down and reboot still worked fine. It did take Win7 Backup program longer to stop the backup process and close. After which the OS performed a normal shut down which in turn allowed a normal boot afterwards. So using shut down instead of hibernate works as one expects.

With that experiment out of the way lets go back to experimenting with hibernation turned back on as you suggest. After “powercfg –h on”, set or confirm “Put the computer to sleep” = Never, PCPE Preserve Battery Power = 1 min, Sleep After = Never. However, I could not find “Allow Hybrid Sleep”. For our purposes for this test I guess that’s as good as “off”.

1.) kill the utility power. OS informs system running on battery.
2.) after 1 minute PCPE pops up message that it has reached hibernation point.
3.) Win7 appears to be going into hibernation.
4.) power remains on the UPS plugs (by evidence of the monitor power buttons flashing) and the UPS LCD stays on.
5.) approximately (i did not time it) 1 to 2 minutes later, seemingly simultanoiusly, the motherboard shuts down and the UPS plugs are turned off (monitor lights go off) and the UPS LCD turns off but the UPS power button and "Display/hold to mute" buttons remain lit. UPS is now sleeping?
6.) while the UPS is still sleeping I restore utility power to the UPS.
7.) Hit the computer power button and I get the “Windows Error Recovery…safe mode?...yadayada…”

I gather that your request to restore utility power while the UPS is still in sleep mode, and the results obtained are helping you build a picture.

I thought I’d add another experiment to give you even more data. I unplugged the computer power supply from the UPS and left the monitors plugged into the UPS. I then plugged the computer into a separate utility outlet so that the computer would always have utility power.

1.) kill the utility power ONLY to the UPS. OS informs system running on battery. (but of course that’s not true, it is on a separate ultility outlet that still has power)
2.) after 1 minute PCPE pops up message that it has reached hibernation point.
3.) Win7 appears to be going into hibernation.
4.) power remains on the UPS plugs (by evidence of the monitor power buttons flashing) and the UPS LCD stays on.
5.) approximately (i did not time it) 1 to 2 minutes later, the UPS plugs are turned off (monitor lights go off) and the UPS LCD turns off but the UPS power button and "Display/hold to mute" buttons remain lit. UPS is now sleeping?
NOTE: There is a difference at this point. The computer power supply does not turn off as before. (by evidence of the power button remaining illuminated and the sound of fans still running)
6.) approximately 1 more minute later the UPS buttons go off..
7.) I wait 10 more minutes and the computer never finishes shutting off completely. The power button remains illuminated and the sound of fans can still be heard.

At this point I give up that the computer will ever change from whatever it is doing at this point so I hit a few keys, move the mouse, hit a few more keys, to see what happens…will it wake up?. …NOTHING…no effect. I give up on that and try the power button. I try several times to no avail. It seems to have no effect. I cannot get it to wake or boot back up. I finally resort to a hard shut off by holding the power button in for more than 4 seconds which shuts off the computer completely. After several seconds I hit the power button again and it boots up to the “Windows Error Recovery” which means the OS never shut down.

My first guess is that the OS after receiving a command from PCPE to hibernate, decides instead to go into sleep mode. And if that’s true, my computer either locks up here, can’t be woken up from sleep or I don’t know how to wake it up. Hibernate works fine when selected manually so I’m only guessing it might be going into sleep instead.

Anyway, there’s some food for thought.

Ron

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/4/2009


Thanks for the update Ron.

I will do more research about your issue and check with our Software Development Team. By the way, what is exact version of your Windows 7 is it 32 or 64-Bit? I managed to find a website that I hope can help you find the Allow Hybrid Sleep option.

* [http://maximumpcguides.com/windows-7/turn-hybrid-sleep-on-in-windows-7]
* [http://windows.microsoft.com/en-us/windows7/Sleep-and-hibernation-frequently-asked-questions]

JonPro

BillP
Administrator Administrator
Administrator
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/4/2009


Ron,

Listed below are the steps that I would like you, this would help us verify if there are any conflicts when you are using hibernation with PCPE installed. You will need to do this twice, first with PCPE uninstalled and the second one with PCPE installed on the computer that we are talking about. Once you are ready please follow the steps listed below:

# Ensure that hibernate is enabled on your Windows 7 machine.
# Open a command prompt on your Windows 7 machine and then type the following *%windir%\System32undll32.exe powrprof.dll,SetSuspendState*
# Once you've typed the command the computer should go to hibernation, observe what will happen with the PC.
# Whatever happens to your machine please make sure that you have it listed.
JonPro

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 12/5/2009


Hi Jon,

Those were some useful links and web sites in general. On the maximumpcguides.com web page they refered to a "Change settings that are currently unavailable". My Power Options / Advanced settings tab is missing that hyper text and so to (or because of) are the Allow hybrid sleep settings. 😞

I’m running Windows 7 Pro 64-bit.

The first test is with the PCPE 2.2 installed.

1. I ensued that hibernate was enabled by manually selecting hibernate via the Start(Orb)/Shutdown>/hibernate and witnessed a successful hibernate followed by “Resuming Windows” boot up after hitting the power button. Everything works fine here.
2. Run in a command prompt %windir%\System32undll32.exe powrprof.dll,SetSuspendState
3. Win7 appears to either hibernate or sleep (monitors fade to black, sounds as if hard drives, and some fans turn off, probably the power supply fan stays on but very low, PC power button remains illuminated)
4. wait 10 minutes, no change.
5. power button nor keys nor mouse will wake computer. Hold power button >4 seconds causes a hard shut down. (PC power button light goes out, all fans off, silent)
6. Hit power button, computer boots to “Windows Error” screen.

For the next test I uninstall PCPE.

1. Run in a command prompt %windir%\System32undll32.exe powrprof.dll,SetSuspendState
2. A window pops up titled “RunDLL” with the following text in it, “There was a problem starting powerprof.dll The specified module could not be found.”
3. Just to see what would happen I manually select hibernate via the Start(Orb)/Shutdown>/hibernate and witnessed a successful hibernate followed by “Resuming Windows” boot up after hitting the power button. Everything works fine here again.

Interesting. I’m not a programmer but a layperson might conclude that manually selecting hibernate does not call powerprof.dll and therefore powerprof.dll is a part of PCPE or at least uninstalling PCPE also deletes powerprof.dll.

Well, that’s what we have for now.

Ron

Ron11_apc
Crewman
Crewman
0 Likes
0
426

Re: Windows did not shutdown properly - start normaly or safemode?

This was originally posted on APC forums on 12/7/2009


Jon,

I didn’t think that I should have reinstalled PCPE and tried the command prompt again to complete that last experiment. So I just re-installed PCPE and ran %windir%\System32undll32.exe powrprof.dll,SetSuspendState again. I expected the same results, that is no RunDLL error message, OS hibernates or suspends, can’t wake computer, after hard shut down Windows boots to error message “Windows Error” screen.

Well, there was no RunDLL error message but it hibernated and resumed just fine. It took almost 3 minutes to fully hibernate and complete power down. (PC power button light goes out, all silent) I hit the PC power button which turns the computer on in a normal fashion, OS boots with a message “…Resuming…”.

Thinking that uninstalling and reinstalling PCPE might have fixed something, I tried letting PCPE initiate hibernation by killing utility power. But unfortunately that still concludes to the “Windows Error” screen as before.

I’m a bit bothered that the command prompt did not cause the same results each time it was run with PCPE installed. I hate intermittent problems. 😉 It kind of makes the data we’ve gathered somewhat questionable without running a statistically significant number of runs and/or designing more experiments. I don’t know if that’s feasible or necessary for only the command prompt has failed to return repeatable results. Having PCPE initiate either hibernate or shut down has had consistent results.

I was hoping that the data we were collecting was valuable to APC and in turn to other APC users. But if it turns out that my computer is intermittent in some way and unique in its idiosyncrasies, well…then I might be the only one to benefit from our efforts if a fix for hibernate is found.

About that link you included – (pun intended : ) ) who would have thought all the things that could cause that error! ? The only thing left out as a possible cause was the day of the week! Hahaha

Hardware failure – well that could explain intermittent problems if I’m having intermittent hardware failures. I’m not having any other problems right now. Hopefully I’ll be replacing this computer this summer so if it’s about to fail completely hopefully it will wait till then.

Virus or Malware – Norton 360 (forced on me by my company) is up to date and running scheduled scans. Of course this is not absolute proof to be virus or malware free, just less likely…or take that for what it’s worth anyway. 🙂

Reinstall the program - Well that seemed to work but not for the reasons of an uninstall removing it as you said. Could PCPE uninstall routine be changing an associated registry entry for powrprof.dll? …particularly a path? I mention this only because the error didn’t say the file was missing, just that it could not be found. I did find the file in C:\Windows\System32 but I didn’t look until after reinstalling PCPE. I’m under the impression that it had never been removed and was there the whole time.

This is the only computer I have right now so unfortunately we don’t have another one to experiment with. That really would have been valuable in narrowing it down some quickly.

I don’t know how many people to date have adopted Win7 64, PCPE 2.2 and a BR1500LCD with firmware 839.H7.D, but if the sample base is statistically significant, and you guys aren’t getting any similar reported problems then I’m inclined to believe there is nothing inherently wrong with the design of the aforementioned. If there is something buggy about the APC products I have, it would be isolated to just these. At this point our experiments haven’t come to any definite conclusion but if I were a betting man I would bet that there is nothing wrong with the APC products I have.

I eagerly await your thoughts. 🙂

Ron

BillP
Administrator Administrator
Administrator
0 Likes
0
427

Re: Windows did not shutdown properly - start normaly or safemode?

This reply was originally posted by Jonathan on APC forums on 12/7/2009


Ron,


The DLL that you have mentioned (powrprof.dll) is not in anyway came from PCPE. Also, on the PCPE removal code it doesn't do anything with that dll file. Have you tried searching your computer for this dll? What happens if you re-install PCPE again does it still look for that file?

We have found a website as well that we hope can help you with this DLL missing error, please click --> here. Do you have another PC that is using Windows 7 64-Bit that we can try to use PCPE?

JonPro