Skip to content

Instantly share code, notes, and snippets.

@antylama
antylama / platnik-reg.ps1
Last active June 22, 2025 15:40
Changes the frequency of forcing a password change in the Płatnik program (36500 - days).
# BACKUP YOUR REGISTRY before even thinking of copypasting and running this on your PC
# the person executing this script is the one and only responsible
# for any damage it may incur
# you've been warned
Get-ChildItem -Recurse 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Asseco Poland SA' |
ForEach-Object {
$key = $_
if ($key.Name -imatch '\\Parametry$') {
Write-Verbose $key.Name -Verbose