Google Groepen ondersteunt geen nieuwe Usenet-berichten of -abonnementen meer. Historische content blijft zichtbaar.

InitiateShutdown depends on interactive user

7 weergaven
Naar het eerste ongelezen bericht

Han Sibot

ongelezen,
13 dec 2002, 12:46:4013-12-2002
aan
I want to automate a weekly reboot of a Windows-XP workstation. I
tried scheduling a reboot application containing InitiateShutdown().
However, it turns out that InitiateShutdown fails sometimes, depending
on the presence of the interactive user. If there is an interactive
user, it works; but if the user has logged out, it fails.

ExitWindows() had the same behavior.
The reboot application always worked on a Windows 2000 server,
independent of an interactive user.

1) Is there another way to reboot, independent of an interactive user?

2) Is this a difference between Windows XP and Windows 2000, or
between workstation and server?

0 nieuwe berichten