Skip to content

Conversation

@Al2Klimov
Copy link
Member

otherwise, doc/win-dev.ps1 will complain:

".NET 4.8 is not installed or may need a reboot to complete installation."

As a dev, I have to setup an Icinga Windows dev env from time to time. This shall just work.

(Guess who hurried into an admin PS to run

$pause = (Get-Date).AddDays(100000)
$pause = $pause.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings' -Name 'PauseUpdatesExpiryTime' -Value $pause

and wondered why doc/win-dev.ps1 isn't working... 🙈)

otherwise, `doc/win-dev.ps1` will complain:

".NET 4.8 is not installed or may need a reboot to complete installation."
@Al2Klimov Al2Klimov added this to the 2.16.0 milestone Jan 22, 2026
@Al2Klimov Al2Klimov added bug Something isn't working area/documentation End-user or developer help area/windows Windows agent and plugins consider backporting Should be considered for inclusion in a bugfix release labels Jan 22, 2026
@cla-bot cla-bot bot added the cla/signed label Jan 22, 2026
@yhabteab
Copy link
Member

Seriously? Our dev docs should tell users to install all their windows update first before doing something else (which btw. the commands you posted in your PR desc don't even have anything to do with Icinga 2)? Maybe it's just me, but seriously, a PR for this change?

@Al2Klimov
Copy link
Member Author

Al2Klimov commented Jan 23, 2026

Our dev docs should tell users to install all their windows update first before doing something else

doc/win-dev.ps1 shall just work. E.g the public NWS Windows 10 image is literally ancient. Updating takes, like, centuries on the standard (s) flavor...

which btw. the commands you posted in your PR desc don't even have anything to do with Icinga 2

... and that's why I've turned them off. Just imagine me pausing the updates for 7 days in the GUI (every 7 days) instead of these commands. Same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation End-user or developer help area/windows Windows agent and plugins bug Something isn't working cla/signed consider backporting Should be considered for inclusion in a bugfix release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants