Commit Graph

23 Commits

Author SHA1 Message Date
PTah 74ebbbe161 Start main task immediately after InstallTasks and include script version in startup notification.
Also bump script/version.txt to 1.3.11 for rollout tracking.

Made-with: Cursor
2026-04-29 16:45:13 +10:00
PTah 5d9176f958 Singleton lock: DeleteOnClose, Ctrl+C propagates, release in finally (v1.3.9)
Made-with: Cursor
2026-04-29 16:23:16 +10:00
PTah eff265ded3 v1.3.5: путь скрипта при Start-Process, диагностика watchdog, DEPLOY.md
Made-with: Cursor
2026-04-29 16:13:14 +10:00
PTah 39f0e6098c Watchdog: schtasks /Run после установки; DEPLOY/README про задачи и UNC; версия 1.3.4
Made-with: Cursor
2026-04-29 16:07:35 +10:00
PTah fcff8311d4 Добавлен доменный деплой (Deploy-LoginMonitor.ps1, version.txt), DEPLOY.md, правки README и комментарий к версии в Login_Monitor.ps1
Made-with: Cursor
2026-04-29 15:14:41 +10:00
PTah 8de023f59e Workstation vs server: ProductType; WKS uses LT10 + RCM 1149; server keeps 2/3/10 (v1.2.0)
Made-with: Cursor
2026-04-29 14:30:28 +10:00
PTah e14e95922a auditpol: detect RU only from /list, not culture; fall back to EN (Hyper-V); v1.1.3
Made-with: Cursor
2026-04-27 10:47:16 +10:00
PTah 3f97da0c2e Fix Uc RU category string: add missing 0x0445 in vyhod (auditpol 0x57); v1.1.2
Made-with: Cursor
2026-04-27 10:29:10 +10:00
PTah d0b02042a4 Revert "Use ASCII-only source for Telegram and logs; remove emoji (v1.2.0)"
This reverts commit b16ebb028b.
2026-04-27 10:25:55 +10:00
PTah b16ebb028b Use ASCII-only source for Telegram and logs; remove emoji (v1.2.0)
Prevents mojibake/parse errors when the .ps1 is saved with wrong encoding after download. RU auditpol subcategory names remain via Uc(); Telegram messages and Write-Log are English.

Made-with: Cursor
2026-04-27 10:24:09 +10:00
PTah 66437bf381 Harden auditpol block: build RU category strings via Uc, English log lines, bump to 1.1.1
Avoids mojibake/parse errors when the script is downloaded with broken UTF-8; keep Windows RU subcategory names as Unicode code points.

Made-with: Cursor
2026-04-27 10:19:09 +10:00
PTah b9027009b8 Add script version to startup log and admin error
Made-with: Cursor
2026-04-27 10:07:23 +10:00
PTah 0d52083a58 Fix scheduling checks and harden Telegram message formatting.
Correct daily rotation/report trigger logic to run after the configured slot once per period, avoid duplicate stop notifications on fatal errors, and HTML-escape dynamic Telegram fields to prevent markup breakage.

Made-with: Cursor
2026-04-27 10:01:42 +10:00
PTah 4386a58942 Fix daily report: force array for unique users (PS 5.1 Count on scalar)
Made-with: Cursor
2026-04-13 11:12:44 +10:00
PTah d951f54874 Telegram Security events: show log server vs workstation (4624/4625)
Made-with: Cursor
2026-04-13 10:59:02 +10:00
PTah 4bef73001f Clarify startup Telegram: Gateway targets internal PCs; exclude Gateway-only from RDS host line
Made-with: Cursor
2026-04-13 10:53:10 +10:00
PTah 4f6385d483 Telegram startup: mention RDS and RD Gateway when applicable
Made-with: Cursor
2026-04-13 10:49:30 +10:00
PTah 0ce6b8abde Use UTF-8 BOM for logs; document FAR encoding
Made-with: Cursor
2026-04-13 10:33:11 +10:00
Луценко Андрей Анатольевич 7b9d7dcd40 Improve auditpol parsing for RU logon/logoff category output 2026-04-11 22:14:31 +10:00
Луценко Андрей Анатольевич b39d9c0deb Fix auditpol localization (RU logon subcategory) and reduce noise 2026-04-11 21:57:16 +10:00
Луценко Андрей Анатольевич 0e5196e769 Fix auditpol for RU subcategory and safer stderr handling 2026-04-11 21:48:49 +10:00
Луценко Андрей Анатольевич 578230f915 Update scripts 2026-04-11 21:23:34 +10:00
Луценко Андрей Анатольевич 2ae691f83c Add login monitor, watchdog and Task Scheduler docs 2026-04-09 16:36:27 +10:00