Set Nvram = CreateObject("sacom.sanvram") BootCounter = Nvram.BootCounter(3)