All about Application Packaging, Virtualization and Deployment
Following VBScript can be used to Logoff machine. Test it and Enjoy Set WshShell=WScript.CreateObject("WScript.Shell") WshShell.run "shutdown.exe -L -F"