Skip to content

pwujczyk/ProductivityTools.SetLockScreen

Repository files navigation

Set-LockScreen

Module sets lock screen to chosen image. It also allows to change Lock screen if setting is managed by your company.

Lock screen

Set-LockScreen -ImagePath D:\OneDrive\InitPC\JustDoThings.png -Verbose

Lock screen

To install module use

Install-Module -Name ProductivityTools.PSSetLockScreen

Script adds new node to regedit PersonalizationCSP which contains information where to found image displayed on lock screen.

Lock screen

Script copy chosen image to C:\Windows\System32 path.

Both actions required administrator permissions so you need to run PowerShell as administrator.

Dependencies:

Module depends on ProductivityTools.PSTestIfAdmin, which is installed automatically after invoking above command.

About

Module sets lock screen to chosen image. It also allows to change Lock screen if setting is managed by your company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published