Here’s a handy set of commands when using in particular Virtual Machines with a ’demo’
environment.

We certainly create images for my students to take away with them and the common question
is:

When will this OS expire?” or more likely on the 3rd day of a 5
day course I get the error popping up stating the OS has expired and will shutdown
every 2hrs.

To know when the OS may expire from the command prompt:

c:\slmgr -xpr

To possibly EXTEND to trial period for the OS

c:\slmgr -rearm

(note – you can only get away with this a few times)

If this fails, you can always jump to MS and try and get a trial key off their site.