Restart a windows 7 machine programmatically.
        Posted  
        
            by Andrew Bucknell
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Andrew Bucknell
        
        
        
        Published on 2010-03-18T03:05:35Z
        Indexed on 
            2010/03/18
            3:11 UTC
        
        
        Read the original article
        Hit count: 434
        
I have a requirement to trigger a reboot on a windows7 machine programmatically. This is to support a scenario for customers where when they log out of an intenet kiosk machine the machine reboots. On XP this was achieved using WTSSystemShutdown but Im wondering if theres another way. Any pointers greatly appreciated.
© Stack Overflow or respective owner