Tag Archives: uptime

Sysprep in Windows Server 2008 R2

Sysprep has just become easier in Windows Server 2008 R2. The sysprep file is now already preinstalled by default. You can find it in Windows\System32\Sysprep.

Just launch the Sysprep application in this folder, check the Generalize check box, select Shutdown, and after the machine has shut down you can use it as a base image.

After reboot the well known Windows mini setup will start.

Advertisements

Different ways of finding Windows uptime

1) Using Event Viewer

Filter on Event ID 6005.

The date and time when the Event ID 6005, The Event log service was started, is logged is the time when the Windows system was started.

Advantages:

  • You can see all startup times
  • Can also be used on remote systems.

2) From command line

Go to Start, Run. Type Cmd (Enter). On the command prompt type: net stats srv

Look for the text: Statistics since … For example: Statistics since 18/09/2009 9:34:09, meaning the Windows system was started on 18/09/2009 at 9:34:09.

You can also use the FIND command to retrieve only the line containing the time when the machine started.

net stats srv | find /i “statistics since”

See also http://support.microsoft.com/kb/555737