Files
wLocal/PS/ShowSeconds.ps1
USER 5f86ebea6e .
2025-08-21 18:44:56 +01:00

16 lines
493 B
PowerShell

Set-StrictMode -Version 'latest'
if (Test-Path -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced')
{
Get-ChildItem -Path 'HKCU:\Control Panel\NotifyIconSettings' |
ForEach-Object {
Set-ItemProperty -Path ($_.PSPath) -ErrorAction SilentlyContinue -Name 'IsPromoted' -Value 0x00000001
}
}
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000001