ForceReboot Method

Forces Windows NT to shut down and restart.

Syntax

obj.ForceReboot
Where obj is an OpScrUtil.SystemManager object.

Parameters

None.

Return Type

Boolean.

Example

To force Windows NT to shut down and restart, enter:

Set obj = CreateObject("OpScrUtil.SystemManager")
bOK = obj.ForceReboot()