📜 VBScript (WSH)
Disable First Logon Animation (VBScript)
Skips the "Hi, we are setting things up for you" first-logon animation (requires admin). Requires an elevated (Administrator) prompt. Applies the tweak via WScript.Shell.RegWrite.
SetDisableFirstLogonAnimation.vbs
' ============================================================
' SetDisableFirstLogonAnimation.vbs
'
' Disable First Logon Animation.
' Skips the "Hi, we are setting things up for you" first-logon animation (requires admin). Requires an elevated (Administrator) prompt.
'
' Usage: cscript SetDisableFirstLogonAnimation.vbs
' ============================================================
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
objShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableFirstLogonAnimation", 0, "REG_DWORD"
If Err.Number = 0 Then
WScript.Echo "Disable First Logon Animation applied."
Else
WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0