Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit 14f2f2c

Browse files
mrcrutchDisassembler0
authored andcommitted
Add "Disable First Logon Animation" (#202)
1 parent 0138d07 commit 14f2f2c

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Default.preset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ DisableAdobeFlash # EnableAdobeFlash
164164
DisableEdgePreload # EnableEdgePreload
165165
DisableEdgeShortcutCreation # EnableEdgeShortcutCreation
166166
DisableIEFirstRun # EnableIEFirstRun
167+
DisableFirstLogonAnimation # EnableFirstLogonAnimation
167168
# UninstallMediaPlayer # InstallMediaPlayer
168169
# UninstallInternetExplorer # InstallInternetExplorer
169170
# UninstallWorkFolders # InstallWorkFolders

Win10.psm1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,6 +2706,18 @@ Function EnableIEFirstRun {
27062706
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -ErrorAction SilentlyContinue
27072707
}
27082708

2709+
# Disable "Hi!" First Logon Animation (it will be replaced by "Preparing Windows" message)
2710+
Function DisableFirstLogonAnimation {
2711+
Write-Output "Disabling First Logon Animation..."
2712+
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableFirstLogonAnimation" -Type DWord -Value 0
2713+
}
2714+
2715+
# Enable "Hi!" First Logon Animation
2716+
Function EnableFirstLogonAnimation {
2717+
Write-Output "Enabling First Logon Animation..."
2718+
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableFirstLogonAnimation" -ErrorAction SilentlyContinue
2719+
}
2720+
27092721
# Uninstall Windows Media Player
27102722
Function UninstallMediaPlayer {
27112723
Write-Output "Uninstalling Windows Media Player..."

0 commit comments

Comments
 (0)