At work we have a Windows 2008 domain with PC clients running XP, Win 7 etc.

In an attempt to reduce our carbon footprint the IT department (ie. me) has been requested told to make sure all of our PCs are powered off at night – and that we can’t afford to pay for software to do this.

The simplest way I’ve found to do this is using the shutdown command built into XP & Win 7.  Basically, a scheduled task configured with a 10 minute warning that your PC is to be shutdown and that if you want to be abort the shutdown click on a desktop icon labelled “Abort Shutdown”.  The scheduled task and icon are both then deployed from the server using group policy.

Shutdown Abort Icon Link:

C:\Windows\System32\shutdown.exe -a

Shutdown Scheduled Task:

C:\windows\system32\shutdown.exe /s /t 600 /d P:0:0 /c "Your Computer will be shutdown in 10 minutes to save energy. To cancel this, please double click the abort shutdown message on your desktop"

This task gives a warning of 10 minutes (600 seconds) and records the reason code of the shutdown as Planned, Other in the event log and gives the message in quotes to the user.

Deploying with Group Policy

Head over to your server desktop, open up group policy editor, and navigate to:

Computer Configuration -> Preferences -> Windows Settings -> Shortcuts

Once you’re there create a new shortcut to the command shown above and add it to the All Users Desktop.

I recommend that you wait a couple of days before you deploy the shutdown script to ensure that all your users have the abort shutdown icon and understand what it means before their computers starting turning off magically!

To add the scheduled task, back in Group Policy Editor, navigate to:

Computer Configuration -> Preferences -> Control Panel Settings -> Scheduled Tasks

From here, you can create your new task, and configure the scheduling to your tastes. Our task runs every 30 minutes from 7PM until 5AM daily with the exception of Tuesday evenings to allow for MS updates.  Our office has staff working typically between 9AM and 6PM so this seems to work well.  The reason for continually re-running it is for those who are working late and then leave without turning their machines off.

The Results

Well after a month of this being in place, we’ve seen a 20% reduction in electricity consumption – in an office of 30 users that’s a big saving over a year, in terms of CO2 and cash.

Taking Stock – 2010

This is more about the process that I’ve been going through to come up with new years resolutions (groan – wonder if I’ll manage to keep to them this time..).  At least they’re written down now, so I can  look at them in a years time, although I suppose I should look at them again before next December!  I’ve no idea what 2010′s resolutions were.

I’ve been through a process of reflection, of my life as it currently stands and how I would like it to be.  To do this, I’ve spent a week away from work, away from London, staying with the folks.  I’ve learnt I can only truly reflect when I’m away from the situations I’m reflecting about.

So here they are, my New Year Resolutions for 2011:

Work

  • Work less (less hours at work – not necessarily less work)
  • Use all my annual leave – take holidays more regularly

Life (Balance)

  • Leave London more often
  • Visit family more regularly
  • Do more walking again (I’ve just bought Time Out – Country Walks near London which has 30 walks all accessible by train from London)
  • Complete all 30 walks in the Time Out book this year.
  • Read more – start reading on my commute to work.
  • Play sudoku and do crosswords – wake up those brain cells!

This is quite a specific list, so lets wait and see what 2011 brings and if I manage to achieve any of them.  An awful lot of this seems to hinge on being at work less….!

Best wishes to all for 2011!

For many months now I’ve been thinking I need to get myself more organised.  I’m the kind of person who has numerous different projects on the go at once across all areas of life – home, work and everything else in-between.  I have managed to increase my productivity (or free time depending on how you look at it) by at least 20% using ThinkingRock to implement GTD.


Continue reading…

Hello world!

Hello world!  That famous programming adage.

I’m not sure what this is going to turn into – if anything at all.  Most likely just random musings but hopefully with a few useful things thrown in along the way.

Let’s see what comes out – hopefully more than just ‘hello world!’