tag:blogger.com,1999:blog-9044913830132073249.post1794452025970071617..comments2023-10-09T03:24:44.488-07:00Comments on Annoyances-Resolved: SOLVED: Computer Goes Back To Sleep After Wake UpDisclosurehttp://www.blogger.com/profile/07364824697304406348noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-9044913830132073249.post-82949276901990770532013-03-26T14:39:01.915-07:002013-03-26T14:39:01.915-07:00The problem is XP goes into hibernation 5 minutes ...The problem is XP goes into hibernation 5 minutes after being started up or woken up if there is no real keyboard or mouse activity. <br /><br />What DOES work is changing the power profile of the computer (I don't know why, it just does). First find out the list of all possible power profiles with this dos command entered at the C:> prompt in a dos box:<br />powercfg /L<br />Then find out what profile you are currently set to with:<br />powercfg /Q<br />Your current profile name will be on the first line.<br /> <br />Then create a batch file called hibernate.bat with the following lines:<br /><br />c:\windows\system32\rundll32.exe powrprof.dll,SetSuspendState Hibernate<br />powercfg /s "Presentation"<br />powercfg /s "Always On"<br /><br />The second powercfg line should contain your current profile name in quotes.<br />The first powercfg line should contain ANY other valid profile name.<br /><br />Double click this batch file to start hibernation. The first line puts the computer into hibernation. When it wakes up the next two lines will run changing the power profile to "presentation" and then back to "Always On". Just the act of switching to one profile and then back to your usual profile will be enough for windows XP to not automatically go into hibernation 5 minutes after starting up.<br /><br />This won't work if your computer enters hibernation on it's own, but it does work for a user initiated hibernation via the .bat file.<br /><br />You can also create a second batch file with just the last two lines in it:<br />powercfg /s "Presentation"<br />powercfg /s "Always On"<br /><br />Call it SwitchPower.bat and put it in you Start Up folder. The you have also solved the problem of the computer shutting down after a restart or cold boot, too.<br />ZigBenoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-5680535554831418282012-03-04T13:02:00.124-08:002012-03-04T13:02:00.124-08:00Anonymous, as the first commenter suggested, the R...Anonymous, as the first commenter suggested, the Registry entries are different in XP.<br /><br />If you find the equivalent entries in XP, let us know.<br /><br />The script or batch file solution suggested by another Anonymous has nothing to do with the registry though.Disclosurehttps://www.blogger.com/profile/07364824697304406348noreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-17386660354002000502012-03-03T14:37:19.242-08:002012-03-03T14:37:19.242-08:00Hi , I didn't understand these sentences :
&q...Hi , I didn't understand these sentences :<br /> "A possible solution is to run your programs from a script or batch file and add the following:<br />c:\windows\system32\powercfg.exe -setactive GUID<br />To get the GUID do "powercfg /L" from a command prompt. "<br /><br />what should i do in win xp registry ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-89588733632995811922012-02-28T21:46:22.509-08:002012-02-28T21:46:22.509-08:00Hi Anonymous, what problem are you referring to ex...Hi Anonymous, what problem are you referring to exactly? Please provide more details about your situation so we can help.<br /><br />The above solution is explained in great detail, if you have trouble understanding, provide last sentence that you still understand. Also, give the first sentence which do do not understand anymore.Disclosurehttps://www.blogger.com/profile/07364824697304406348noreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-78066739097290420452012-02-28T10:10:15.297-08:002012-02-28T10:10:15.297-08:00excuse me , I didn't understand how to solve &...excuse me , I didn't understand how to solve "2 minutes problem" in win XP ! would you explain it in detail ? <br /><br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-55052120916969990242010-04-11T22:20:33.148-07:002010-04-11T22:20:33.148-07:00Anonymous, thanks for your update. Did the GUID tr...Anonymous, thanks for your update. Did the GUID trick work for you ? Did you have a chance to try it out?Disclosurehttps://www.blogger.com/profile/07364824697304406348noreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-29383582102965547352010-02-07T03:21:00.221-08:002010-02-07T03:21:00.221-08:00Thank you so very mutch.
Just so everyone knows ...Thank you so very mutch. <br /><br />Just so everyone knows to type in the number make sure you use the decimal option otherwise it will be different.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-10523684105165768112009-12-17T16:15:28.536-08:002009-12-17T16:15:28.536-08:00Anonymous 2 & 3, Thanks for helping Anoymous 1...Anonymous 2 & 3, Thanks for helping Anoymous 1 with the XP situation, and keep us all posted! Thanks for your contribution! Great to have a solution for Windows XP!Disclosurehttps://www.blogger.com/profile/07364824697304406348noreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-43548439671414829672009-12-09T11:23:24.482-08:002009-12-09T11:23:24.482-08:00The powercfg thing worked but the backup failed to...The powercfg thing worked but the backup failed towards the end. The problem was unrelated to powercfg and was a ftp communication issue.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-25776256107629785482009-12-09T00:34:57.663-08:002009-12-09T00:34:57.663-08:00A possible solution is to run your programs from a...A possible solution is to run your programs from a script or batch file and add the following:<br /><br />c:\windows\system32\powercfg.exe -setactive GUID<br /><br />To get the GUID do "powercfg /L" from a command prompt. You are looking for whatever your default power profile is and the one for high performance. Put the command at the beginning of the batch file to switch to high performance power profile and once again at the end to switch back to your regular power saving profile (use appropriate GUID each time). I think XP has the same command but does it by name not GUID - you'd want to use the always on profile for XP.<br /><br />Please note that I haven't tested this yet, but there's no reason it shouldn't work. I run Areca backup to backup my files to adrive.com and have had backups mess up alot because of the machine going to sleep. I just thought of the profile switching via command line as a possible solution tonight so I'll post back here with my results in a few hours. :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9044913830132073249.post-53601343664776163662009-10-25T18:05:41.034-07:002009-10-25T18:05:41.034-07:00i have this problem under XP and this did not work...i have this problem under XP and this did not work because the registry entries do not match. If anyone has an XP solution, please post.Anonymousnoreply@blogger.com