Skip to content
Module sets lock screen to chosen image. It also allows to change Lock screen if setting is managed by your company.
PowerShell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images
ProductivityTools.PSSetLockScreen
.gitignore
.powershell
ProductivityTools.PSSetLockScreen.sln
README.md

README.md

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.

You can’t perform that action at this time.