đź“„ JScript (WSH)
Disable First Logon Animation (JScript)
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 (JScript syntax).
SetDisableFirstLogonAnimation.js
// ============================================================
// SetDisableFirstLogonAnimation.js
//
// 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.js
// ============================================================
var objShell = WScript.CreateObject("WScript.Shell");
try {
objShell.RegWrite("HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableFirstLogonAnimation", 0, "REG_DWORD");
WScript.Echo("Disable First Logon Animation applied.");
} catch (e) {
WScript.Echo("Failed to apply tweak: " + e.description);
}