Skip to main content

Stop VM after user warning

With the Stop VM after user warning (allow postponement) action, you can automatically stop a virtual machine (VM) at a specified time. Before the scheduled stop, users receive a notification in oneclick™ and can postpone the shutdown.

You can also allow users to skip the next scheduled stop entirely.

Create an event profile for stopping a VM​

Create an event profile for Destinations, as described in Create an event profile.

  1. Under Action to perform, select Stop VM after user warning (allow postponement). New event profile with the Destinations use case and the selected action Stop VM after user warning (allow postponement)
  2. Optionally, enable Allow users to skip this stop event.
  3. Click Next. Event settings with the Allow users to skip this stop event option and the Next button
  4. Enter a unique Name for the event profile and click Save. Naming the event profile with the Name field and the Save button Then assign the event profile to the desired destination, as described in Apply an event profile to a destination or destination pool.
FSLogix

If you use FSLogix, refer to Impact when stopping virtual machines.

Postpone a scheduled stop​

Before the scheduled stop, all users with an open session on the VM receive a notification in oneclick™. It displays the VM name and the scheduled stop time.

If a user starts the app during the warning period, they receive the notification when the app starts.

  • If users click Postpone, oneclick™ postpones the scheduled stop.
  • If users close the notification or do not respond, oneclick™ stops the VM at the scheduled time.

Notification in oneclick™ about the scheduled VM stop with the Postpone button

The notifications appear at the following times:

NotificationNotification timePostponement
First notification15 minutes before the scheduled stop30 minutes
Second notification10 minutes before the postponed stop15 minutes
Third and subsequent notifications5 minutes before the postponed stop5 minutes each

Users can postpone the stop as many times as needed. Each postponement applies only to the current scheduled stop. oneclick™ executes the next scheduled stop from the event profile at its specified time.

Skip the next stop​

If you have enabled Allow users to skip this stop event, users can skip the next scheduled stop entirely.

To do this, users hover over the Clock icon on the app tile and click the link to skip the next stop. They then confirm the action in the dialog box.

App tile with the clock icon and tooltip with the link to skip the next stop

Skip multiple stops

Users can also skip several consecutive stops. The app tile then displays the next scheduled stop that has not been skipped.

For more information, see Controls on app tiles.

Combine postponing and skipping​

Users can still skip a scheduled stop after they have already postponed it. Skipping cancels the stop entirely, including any previously granted postponement.

Impact on all users of the VM​

Postponing and skipping are linked to the VM, not to individual users. If one user postpones or skips a stop, the change applies to all users working on that VM.

Track skipped stops

Skipped events appear in the event profile's Execution logs with the reason "skipped by user".