Showing posts with label Win7. Show all posts
Showing posts with label Win7. Show all posts

Saturday, March 27, 2010

The Ghost In My Machine

My wife told me that my computer has been turning itself on each day after I go to work. WtF? No scheduled tasks. No Bios timer set.

I've just been putting it to sleep rather than turning it off. Something I never did with XP, but Win7 seems pretty stable without restarting regularly.

Time to Google. Everyone keeps suggesting a scheduled task (why wouldn't people know they set up a scheduled task), or BIOS timer (again, why...). After a bunch of different searches, I finally see a suggestion that Media Centre may start up a PC for TV guide updates, and you could check this in the Event Viewer.

Couldn't see why it would do that, as during setup, Media Centre told me it couldn't get a TV Guide in my area. But the event viewer confirmed it. Somewhere about 8:30 or 9am each day, the System log showed the computer starting up, and the Media Centre log showed it looking for updates.

OK. Open Media Centre, go to settings, and turn off everything which might download updates.

Next evening, check the logs to see my PC didn't start itself up that morning. Hooray! Problem solved...

Woke up next morning at 4am to see a glow coming from the study. My computer was on!!!! Damn!

So today I looked at the logs again.


The system has resumed from sleep.

Sleep Time: ‎2010‎-‎03‎-‎26T12:27:04.657202500Z
Wake Time: ‎2010‎-‎03‎-‎26T17:04:08.967941900Z

Wake Source: Timer - Windows will execute '\Microsoft\Windows\Media Center\mcupdate_scheduled' scheduled task that requested waking the computer.


Media #%%@# Centre!

The Media Centre logs tell the story. Looks like when I started it up to change settings, it appears to have taken the opportunity to load updates, and decided it didn't actually need to start up it's normal time yesterday, thus making me think I'd turned it off. No such luck.

Check settings again:

Automatic download options unchecked.

Just in case, scheduled optimisation disabled.

So why is it still starting up my machine?

It has to be possible to stop automatic wakeup from sleep, so I check the Power Settings:

  • Power Settings\Advanced Settings\Sleep\Allow Wake Timers

Looks likely, so I set that to disabled.

It seems to have done the job, but it now means I can't schedule Media player to turn on and record a TV show. There has to be a better way.

Mircosoft! Wake up and listen. We don't want our machines doing unexpected things like waking up from Sleep to download crap we never wanted, especially when it uses non-standard means to do so! (Why doesn't it just set a scheduled task, then we'd know how to stop it.) Media Centre never told me it would do that. There doesn't seem to be a settig to stop it. Do you expect your TV or car to turn itself on in the middle of the night? (Gee, I'm sure I filled up the tank yesterday??) At least make it a visible setting for the Media Centre.

If anyone knows how to fix this properly, please leave a comment.


Sunday, March 14, 2010

Windows 7 64-bit & Java

After trying out the Win7 beta for some months as a dual boot with WinXP, I recently decided to install Windows 7, 64-bit version, as my main operating system. The process mainly went pretty well, except for a few minor gotcha's, which I'll mention in this and some future posts.

One of these gotcha's involved the Java Runtime Environment (JRE).

I downloaded and installed the latest JRE (Java 6) for Windows 64-bit operating systems from the Sun site. Simple installation like most applications I'd installed. I tried out some stand alone Java applications, like Project X (which I use for converting TV shows recorded on my PVR to video I can watch on a PC). No problems.

But when I tried to install Brettspielwelt (the client for an online boardgame portal), it said I neede to install Java first, and offered to install Java 4! It wouldn't let me skip the Java install and continue, so I had to investigate further.

A couple of other Java apps worked OK, so I tried the browser based version of Brettspielwelt. IE8 told me I didn't have Java installed!! "That's a lie", I cried. (Maybe not out loud.)

I went to the Sun site again to investigate, and this time, I ended up on a different page, which advised me I was using a 32-bit browser, and I would need to download the 32-bit version of the JRE to use with my browser.

Yes, it turns out the default IE8 browser in Windows 7 is the 32-bit version. And the 32-bit version needs a 32-bit JRE! You can start up the 64-bit IE8 if you go looking for it, but it's not guaranteed to work with a lot of plug-ins or add-ons, so it's not the default.

Installing the 32-bit version also fixed my Brettspielwelt installation.

If you're using Win7 64-bit version, do youself a favour and install both the 64 and 32-bit versions of JRE.