Zoomed Image

Restart and Shut Down

Endpoint Management Guide

Change a Computer

Restart and Shut Down

Restart restarts the selected computers after a 30-second warning. Shut Down turns them off after a 60-second warning. Both run shutdown.exe on the computer, and the signed-in user sees the warning text for the whole delay.

Endpoints > Endpoint List > select the computers > Change > Power and User > Restart or Shut Down.

Restart is also in the Endpoint section of Actions for this Asset on the device page. See Actions for this Asset.

Restart Computers dialog with DEVDC in Computer Names, IP Addresses or IP Ranges, an example IP range, and the Manage IP Ranges and Locations and Credentials buttons

The dialog

The dialogs are titled Restart Computers and Shut Down Computers. Each has one field.

Field What it does Default
Computers The computers the action runs on. Add or remove names here. The list offers computers with the agent. The selected rows

The second confirmation

A restart or shut-down on the wrong computer can stop work for everyone who uses it. After you click OK, an Are you sure? box names the computers chosen in the dialog. For example, it asks "Restart 2 computers (DEV4, SQL6) now?". Below the question it says what will happen.

Read the list before you answer. Yes sends the action. No sends nothing.

Delay and message

Action Delay Message the user sees
Restart 30 seconds "Your computer will restart in 30 seconds. Please save your work."
Shut Down 60 seconds "Your computer will shut down in 60 seconds. Please save your work."

The agent reports Applied as soon as it starts the countdown. The computer cannot report anything after that.

After you click Yes

The run is queued. The message reads "Restart was sent to the selected computers" or "Shutdown was launched on the selected computers". It then asks "Do you want to follow it now?". Yes opens Activity. See Following a run.

The phases are different for the two actions:

  • Restart: Sent, Applied, Verified. The run waits 10 minutes after the command. When the agent on that computer connects again, the target moves to Verified. A computer that does not come back in 10 minutes ends as No result.
  • Shut Down: Sent, Applied. A computer that is off cannot confirm anything more.

Undo

Neither action can be undone. A restart has already happened. xAssets cannot turn a computer back on, so a shut-down computer needs someone to power it on.

Key points

  • Both actions need the agent. A computer with an online agent receives the action at once. See Agent and agentless.
  • Check the Agent column on Endpoint List before a fleet restart. An offline agent receives the action when it reconnects, up to 168 hours later.

A computer that receives the action late

A laptop that was asleep or off receives the action when it reconnects. The agent checks before it acts:

What the agent finds What happens
The computer has started since you sent the action Restart: nothing. The computer shows Verified with "Not restarted again: it has started since this was sent". Shut Down: nothing. It shows Failed with "Not shut down: it was started again".
The action is more than 15 minutes old and someone is signed in Nothing, so they do not lose their work. It shows Failed with "Not restarted: this was sent 3 hours ago and JSMITH is signed in now".
The action is more than 15 minutes old and nobody is signed in The computer restarts or shuts down as asked.

Send the action again if it is still needed. A new action is not late.

  • A 10-computer restart shows 10 targets in the run. Each target moves to Verified on its own as its agent reconnects.