Attribute VB_Name = "DisableFirstLogonAnimationRegSet"
Option Explicit

Public Sub DisableFirstLogonAnimationRegSet()
    Dim wsh As Object
    Dim regPath As String

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableFirstLogonAnimation"

    wsh.RegWrite regPath, 0, "REG_DWORD"

    MsgBox "Disable First Logon Animation applied." & vbCrLf & regPath, vbInformation
End Sub