Quantcast
Channel: Ivanti User Community : All Content - Software Distribution
Viewing all articles
Browse latest Browse all 1056

How to use Poweroff.exe in a script to reboot machines

$
0
0

Description

 

 

Creating a script to reboot machines with POWEROFF.EXE in:

 

C:\Program Files\LANDesk\ManagementSuite\ldlogon

 

 

How to use

 

 

Create a script with the following REMEXEC command:

 

REMEXEC0=C:\Windows\System32\Poweroff.exe 600 /REBOOT /nocancel

 

 

  • 600 is the number of seconds before the machine will reboot and can be adjusted as desired
  • /REBOOT must be capitalized
  • /nocancel option will take away the cancel button in the UI. This is not case sensitive.

Viewing all articles
Browse latest Browse all 1056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>