<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx</link><description>Chris Pirillo had an interesting blog post the other day with the rather uninformative title of " Windows Vista Sound Problems ". He has a reader who built a shutdown sound that is almost 2 minutes long, and that reader is upset that the system isn't</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4197036</link><pubDate>Fri, 03 Aug 2007 05:06:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4197036</guid><dc:creator>foxyshadis</dc:creator><description>&lt;p&gt;I don't have Vista handy or I'd test this myself right now, but do ‘WaitToKillAppTimeout’ and ‘HungAppTimeout’ in HKCU\Control Panel\Desktop\ still work to extend or contract the time allowed to shut down applications, thus giving a longer playback?&lt;/p&gt;
&lt;p&gt;If getting it to play at all just requires lowering the filesize, then mp3-encoding it in sound recorder would be the logical solution. ;)&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4198974</link><pubDate>Fri, 03 Aug 2007 06:58:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4198974</guid><dc:creator>El Guapo</dc:creator><description>&lt;p&gt;Errr... I think closing the lid of a laptop makes it go to sleep, not shut down.&lt;/p&gt;
&lt;p&gt;And I don't agree that Vista handles this any better. I have suffered from the &amp;quot;hot laptop&amp;quot; problem which did not sleep when I closed the lid.&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4199047</link><pubDate>Fri, 03 Aug 2007 07:08:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4199047</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;Makes sense to me.&lt;/p&gt;
&lt;p&gt;The only question I have is the bit where you say &amp;quot;or has previously answered&amp;quot; -- what if you've never answered that question before and you just close the lid of your laptop? In this particular case, it might shutdown on its own after it's played the sound anyway, but what if it really WAS hung?&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4200561</link><pubDate>Fri, 03 Aug 2007 08:19:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4200561</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;El Guapo: It depends on how the system's configured. &amp;nbsp;You can say that closing the lid sleeps (the default) or that closing the lid shuts the system down.&lt;/p&gt;
&lt;p&gt;Dean: As El Guapo pointed out, the default action on the laptop is to sleep, so it sleeps immediately (and restores very quickly (under 5 seconds on my laptop)).&lt;/p&gt;
&lt;p&gt;This logic only kicks in for shutdown.&lt;/p&gt;
&lt;p&gt;foxyshadis: You can't use MP3s for system sounds. &amp;nbsp;It's silly, and it sucks, but you can't. &amp;nbsp;Interestingly enough, it would probably be slower - it takes a non trivial amount of time to start playing an MP3, while we can start playing a .WAV file in under 100ms.&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4200950</link><pubDate>Fri, 03 Aug 2007 09:00:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4200950</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;&amp;gt; And I don't agree that Vista handles this any better.&lt;/p&gt;
&lt;p&gt;Er, it handles it MUCH better. Just because it's happened &amp;quot;once&amp;quot; doesn't mean it's just as bad as Windows XP (where it used to happen *all the time* for me.&lt;/p&gt;
&lt;p&gt;&amp;gt; This logic only kicks in for shutdown.&lt;/p&gt;
&lt;p&gt;Fair enough, but you can still configure it to shutdown when you close the lid. I guess what I mean is, does the system handle closing the lid differently to clicking &amp;quot;shutdown&amp;quot; (since you're usually still around to click on confirmation dialogs and whatnot when you click &amp;quot;shutdown&amp;quot; but not when you close the lid).&lt;/p&gt;
&lt;p&gt;I guess this getting a bit off-topic for the originaly post...&lt;/p&gt;
&lt;p&gt;Personally, I usually turn my startup/shutdown sounds off. I can't imagine anyone CHOOSING to sit there and listen to a 2 minute-long shutdown sound :-)&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4200952</link><pubDate>Fri, 03 Aug 2007 09:00:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4200952</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;&amp;gt; And I don't agree that Vista handles this any better.&lt;/p&gt;
&lt;p&gt;Er, it handles it MUCH better. Just because it's happened &amp;quot;once&amp;quot; doesn't mean it's just as bad as Windows XP (where it used to happen *all the time* for me.&lt;/p&gt;
&lt;p&gt;&amp;gt; This logic only kicks in for shutdown.&lt;/p&gt;
&lt;p&gt;Fair enough, but you can still configure it to shutdown when you close the lid. I guess what I mean is, does the system handle closing the lid differently to clicking &amp;quot;shutdown&amp;quot; (since you're usually still around to click on confirmation dialogs and whatnot when you click &amp;quot;shutdown&amp;quot; but not when you close the lid).&lt;/p&gt;
&lt;p&gt;I guess this getting a bit off-topic for the originaly post...&lt;/p&gt;
&lt;p&gt;Personally, I usually turn my startup/shutdown sounds off. I can't imagine anyone CHOOSING to sit there and listen to a 2 minute-long shutdown sound :-)&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4201130</link><pubDate>Fri, 03 Aug 2007 09:07:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4201130</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Dean, I also can't imagine a startup or shutdown sound that is that long. &amp;nbsp;The shutdown sound is one of the shortest that ships in Vista (I believe it's around .5 seconds). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I should try to see what happens on my laptop, I honestly don't know what it will do.&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4207230</link><pubDate>Fri, 03 Aug 2007 16:38:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4207230</guid><dc:creator>Clinton Pierce</dc:creator><description>&lt;p&gt;To Larry and El Guapo's comment,&lt;/p&gt;
&lt;p&gt;My laptops are configured to sleep when the lid is closed. &amp;nbsp;I would hope, though, that if a shutdown has been started and I close the lid. &amp;nbsp; &amp;nbsp;(Start-&amp;gt;Shutdown. &amp;nbsp;Pause. &amp;nbsp;Close lid) &amp;nbsp; That the sleep wouldn't kick in, but the shutdown would allowed finish.&lt;/p&gt;
&lt;p&gt;Under XP that doesn't happen. &amp;nbsp;It usually sleeps during the shutdown. &amp;nbsp;Absolutely, incredibly the wrong behavior. &amp;nbsp;I can't tell you how many times I've opened the lid hours later, had the machine wakes up and announces &amp;quot;shutting down&amp;quot; and then shuts down.&lt;/p&gt;
&lt;p&gt;My Vista laptop does the same thing on occasion. &amp;nbsp;&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4207826</link><pubDate>Fri, 03 Aug 2007 17:35:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4207826</guid><dc:creator>Robert Rosic</dc:creator><description>&lt;p&gt;&amp;gt; &amp;gt; And I don't agree that Vista handles this any better.&lt;/p&gt;
&lt;p&gt;&amp;gt; Er, it handles it MUCH better. Just because it's happened &amp;quot;once&amp;quot; doesn't mean it's just as bad as Windows XP (where it used to happen *all the time* for me.&lt;/p&gt;
&lt;p&gt;This is exactly reason for most of my bitching about Vista...when I close the lid I wan't that computer in sleep mode - and with Vista on my IBM/Lenovo T60 I often get &amp;quot;burned&amp;quot; fingers, not to mention empty battery&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4209421</link><pubDate>Fri, 03 Aug 2007 20:45:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4209421</guid><dc:creator>JamesNT</dc:creator><description>&lt;p&gt;Larry, et al,&lt;/p&gt;
&lt;p&gt;I have Vista Ultimate on a brand spanking new Dell XPS laptop with all the blinking lights and everything (oh yes, it is that cool).&lt;/p&gt;
&lt;p&gt;Microsoft made the CORRECT choice. &amp;nbsp;I have my laptop configured to hibernate when I close the lid. &amp;nbsp;And yes, when I close the lid, that means hibernate - NOW. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do not pass Go.&lt;/p&gt;
&lt;p&gt;Do not collect $200.&lt;/p&gt;
&lt;p&gt;Go straight to Save state and hibernate so I can pack you up and go to my next meeting or back to the office.&lt;/p&gt;
&lt;p&gt;Thank you to both you, Mr. Osterman, and Lord Chen for all the hard work you guys put into making Windows the OS it is. &amp;nbsp;If I could, I'd send both of you flowers.&lt;/p&gt;
&lt;p&gt;JamesNT&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4209435</link><pubDate>Fri, 03 Aug 2007 20:47:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4209435</guid><dc:creator>JamesNT</dc:creator><description>&lt;p&gt;Everyone else,&lt;/p&gt;
&lt;p&gt;For those of you still having shutdown issues with Vista, I would say it is time for you to investigate what apps you have that may be misbehaving. &amp;nbsp;And don't forget drivers. &amp;nbsp;In fact, ESPECIALLY drivers since they run with all kinds of priviledge.&lt;/p&gt;
&lt;p&gt;JamesNT&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4209614</link><pubDate>Fri, 03 Aug 2007 21:11:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4209614</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;JamesNT's right. &amp;nbsp;Vista actually has extensive logging that will let you know details about what's causing slowdowns on suspend and resume.&lt;/p&gt;
&lt;p&gt;If you start the event viewer and navigate to Applications and Services Logs\Microsoft\Windows\Diagnostics-Performance, you can find a series of diagnostic log entries that measure perf issues on your machine.&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4211057</link><pubDate>Fri, 03 Aug 2007 23:44:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4211057</guid><dc:creator>foxyshadis</dc:creator><description>&lt;p&gt;You can use mp3s through the acm codec. ;) Assuming fraunhofer is still included with Vista. The problem is that PlaySound will decode the entire thing to PCM in memory before it starts playing - I did this on 95 back in the day, and it was pretty obnoxious, but now I can decode a short song in well under a second - but yeah, that's definitely an extra playtime hit.&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4225078</link><pubDate>Sat, 04 Aug 2007 18:18:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4225078</guid><dc:creator>Steve Robinson</dc:creator><description>&lt;p&gt;Hi Larry, &lt;/p&gt;
&lt;p&gt;I know it's not audio related, but I'm assuming there is some logic that say:&lt;/p&gt;
&lt;p&gt;&amp;quot;If an external monitor is connected and on, AND the lid is closed, do nothing&amp;quot;&lt;/p&gt;
&lt;p&gt;I've got Vista at home but not at work, and i don't have a laptop, but i hope that case is countered for.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4226460</link><pubDate>Sat, 04 Aug 2007 18:54:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4226460</guid><dc:creator>ncgloy</dc:creator><description>&lt;p&gt;That sounds pretty lame. &amp;nbsp;I thought Vista was supposed to fix all those problems with apps blocking the shutdown attempt ? &amp;nbsp;And now you're telling us we have to go dig through the event log for clues ? &amp;nbsp;I suppose that works if you're a Windows developer, but what about regular users ? &amp;nbsp;Why can't it just work ?&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4226720</link><pubDate>Sat, 04 Aug 2007 19:13:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4226720</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;ncgloy: You misunderstood.&lt;/p&gt;
&lt;p&gt;Vista has made it so that a machine can standby or resume in seconds. &amp;nbsp;But drivers can mess things up, especially on resume.&lt;/p&gt;
&lt;p&gt;If you HAVE a resume or sleep problem, you can look in the logs to diagnose which driver is screwing up your system, then complain to the vendor of that driver.&lt;/p&gt;
&lt;p&gt;Steve, there's a power setting that indicates what to do with the lid closed. &amp;nbsp;But that's a good point. &amp;nbsp;I'll ask the power people about it.&lt;/p&gt;
</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4235979</link><pubDate>Sun, 05 Aug 2007 07:22:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4235979</guid><dc:creator>Brandon Paddock</dc:creator><description>&lt;p&gt;I used to have the &amp;quot;hot laptop&amp;quot; (plus dead battery) problem on my Toshiba M4 with XP. &amp;nbsp;It would mostly happen when I took it out of the dock and closed it quickly. &amp;nbsp;It would even proudly announce with a dialog that &amp;quot;Suspend operation was aborted because Eject PC is still running!&amp;quot; - clearly one of the stupidest most ill-conceived dialogs I've ever seen. &amp;nbsp;They obviously knew what I wanted to do, but instead of delaying the sleep operation (or getting the hell out of the way) they cancel the action I invoked and display a useless dialog... which I'd never see after closing the lid and putting it into my bag.&lt;/p&gt;
&lt;p&gt;When it upgraded to Vista, that problem went away (EVEN if the stupid Toshiba application was still installed, though it turned out to be unnecessary on Vista so it got disabled). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both on that machine and on my Macbook, Vista (not counting pre-release) has never ever once failed to go to sleep when I closed the lid, or to resume when I opened it up. &amp;nbsp;It also never fails to switch to hibernate mode if I leave the laptop in its case, asleep, all weekend.&lt;/p&gt;
&lt;p&gt;If you're having problems with sleep / resume, it's 99% likely caused by a driver problem (or *possibly* a bad / outdated BIOS - very troublesome on Toshiba laptops from what I've seen). &amp;nbsp;If you have an nVidia chip, for example, you probably have resume issues. &amp;nbsp;Especially if you don't have they very latest driver installed (for which there probably isn't a &amp;quot;sanctioned&amp;quot; driver, so you're forced to use something from www.laptopvideo2go.com to get your machine to work properly. &amp;nbsp;OEMs suck.)&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4252719</link><pubDate>Mon, 06 Aug 2007 10:11:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4252719</guid><dc:creator>Norman Diamond</dc:creator><description>&lt;p&gt;Logoff can still take forever though. &amp;nbsp;In Vista Ultimate, after trying &amp;quot;Logoff&amp;quot; 3 times, I tried &amp;quot;Shutdown&amp;quot; 3 times, and soon will try the power button.&lt;/p&gt;</description></item><item><title>re: Hey, my custom shutdown sound got cut off (or didn't play). What's up?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#4358185</link><pubDate>Mon, 13 Aug 2007 02:17:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4358185</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;&amp;gt;I can't imagine anyone CHOOSING to sit there and&lt;/p&gt;
&lt;p&gt;&amp;gt;listen to a 2 minute-long shutdown sound :-)&lt;/p&gt;
&lt;p&gt;Actually I can -- some patriot listening to a hymn :D&lt;/p&gt;
&lt;p&gt;Just kidding. I wouldn't give those nuts more than 5 seconds of time for that sound. I turn them off too.&lt;/p&gt;
&lt;p&gt;Those sounds used to have some meaning back when machines were very slow. You could turn on the PC, wander off to grab a cup of coffee, and still know when you have to came back to actually start working on it.&lt;/p&gt;</description></item><item><title>What really happens when you shutdown Windows?</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/02/hey-my-custom-shutdown-sound-got-cut-off-or-didn-t-play-what-s-up.aspx#8993086</link><pubDate>Thu, 09 Oct 2008 20:48:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8993086</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description>&lt;p&gt;About a year or so ago, I wrote a post that talked about the Windows shutdown experience. &amp;amp;#160; A couple&lt;/p&gt;
</description></item></channel></rss>