Productivity Tools

Tools written by an IT business manager, a passionate developer.

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: 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.