Script to tweak Start screen animation in Windows 8 (PowerShell)

Introduction

This PowerShell Script shows the Start screen animation every time that tweak Start screen animation in Windows 8.

Scenarios

In Windows 8 the Start Screen appears with a smooth animation.

However, the animation is only shown at first logon. If you switch to the Start screen from the Desktop or from any other app, the animation is not shown by Windows.

This script can be used to force Windows to show the animation every time that you access Start screen.

Script

Step1: Run the script in the Windows PowerShell Console, type the following command: Import-Module <Script Path> at the prompt.

For example, type Import-Module C:\Script\ SetStartScreenAnimation.psm1

This is shown in the following figure.

 Step 2: You can type the command Get-Help Set-OSCStartScreenAnimation -Full to display the entire help file for this function, such as the syntax, parameters, or examples.
Here are some code snippets for your references. To get the complete script sample, please click the download button at the beginning of this page.
PowerShell
Edit|Remove
#Sets the "Login Animation" registry key 
If ($LoginAnimationRegKey -eq $null) 
{ 
   New-ItemProperty -Path $KeyPath -Name "Launcher_SessionLoginAnimation_OnShow" -Value $ShowOnValue -PropertyType DWord | Out-Null 
   Write-Verbose -Message "Setting the ""Launcher_SessionLoginAnimation_OnShow"" registry key successfully." 
} 
Else 
{ 
   Set-ItemProperty -Path $KeyPath -Name "Launcher_SessionLoginAnimation_OnShow" -Value 1 | Out-Null 
   Write-Verbose -Message "Create the ""Launcher_SessionLoginAnimation_OnShow"" registry key successfully." 
}

Example

Example 1: Type Set-OSCStartScreenAnimation command in the Windows PowerShell Console to disable the Start screen animation. 
This is shown in the following figure:
 

Example 2: Type the Set-OSCStartScreenAnimation -UserNameSliderAnimationOffset 2000 -UserPictureSlideAnimationOffset 1000 -RightToLeftAnimationOffset 1000 -LeftToRightAnimationOffset 100 command line in the Windows PowerShell Console. This command sets the Start screen animation for every time that you access the Start screen. 
This is shown in the following figure:

Prerequisite

Windows PowerShell 3.0
Windows 8

Additional Resources

Get-ItemProperty