Enable the Guest Account

Uses the Shell object to enable the Guest account on the local computer.

VBScript Code


Set objComputer = CreateObject("Shell.LocalMachine")
objComputer.EnableGuest(1)