diff --git a/trunk/report_templates/SYSTEM_ShutdownTime.qs b/trunk/report_templates/SYSTEM_ShutdownTime.qs
new file mode 100644
index 0000000..1cc3ca0
--- /dev/null
+++ b/trunk/report_templates/SYSTEM_ShutdownTime.qs
@@ -0,0 +1,32 @@
+function print_table_row(cell01,cell02) {
+ println("
",cell01," | ",cell02," |
");
+}
+
+// Global vars
+var val;
+
+// Get current controlset
+var cur_controlset=GetRegistryKeyValue("\\Select","Current");
+cur_controlset=RegistryKeyValueToString(cur_controlset.value,cur_controlset.type);
+// Current holds a DWORD value, thus we get a string like 0x00000000, but
+// control sets are referenced only with the last 3 digits.
+cur_controlset="ControlSet"+String(cur_controlset).substr(7,3);
+
+println("");
+println(" Last known shutdown time");
+println(" ");
+println(" Last known shutdown time
");
+println(" ");
+println("
");
+
+print_table_row("Active control set:",cur_controlset);
+
+// Shutdown time
+val=GetRegistryKeyValue(cur_controlset+"\\Control\\Windows","ShutdownTime");
+print_table_row("Shutdown time:",RegistryKeyValueToVariant(val.value,"filetime"));
+
+println("
");
+println("
");
+
+println(" ");
+println("");