📊 VBA (Excel)
Apply Disable First Logon Animation (VBA)
Skips the "Hi, we are setting things up for you" first-logon animation (requires admin). Applied via WScript.Shell.RegWrite from VBA. Requires an elevated (Administrator) prompt.
DisableFirstLogonAnimationRegSet.bas
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