win32shutdown method under Win32_OperatingSystem class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DKn
    New Member
    • Aug 2007
    • 53

    win32shutdown method under Win32_OperatingSystem class

    Hello,

    I am using win32Shutdown WMI method for the operations like Shutdown,restar t, logoff and power off for the remote system in C#.Net windows appliaction.
    The flags need to pass for Normal Shutdown is 1 and Normal power off is 8.
    It is working fine, but i am not getting any difference between shutdown and PowerOff, except one, if the system is locked we can not perform normal shutdown but we can do Power off operation.

    What is the main diffrence between the Shutdown and Power off operations. any idea?? please share..

    Thanks in advance.
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    I believe that shutdown is a clean shutdown, as if you were to click Start-Shutdown.

    Power off is probably just that. Switch the power off.

    I might be wrong, but that's what it looks like to me.

    Comment

    Working...