Windows 10: set private network

Changed firewall configurations in CI network caused W10 VMs to prompt
to select public/private network profile setting for the changed
network.

Set the network profile with a script to prevent this prompt reappearing
in build/test VMs.

Pick-to: 6.11 6.8
Change-Id: I6c71fd31cd3982742254edf508a0ccfc3d2ceeb6
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 862c3df5bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Elias Toivola
2026-06-29 16:07:03 +03:00
committed by Qt Cherry-pick Bot
parent fecda61b8b
commit 00a5d6521e
4 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1 @@
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private

View File

@@ -0,0 +1 @@
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private

View File

@@ -0,0 +1 @@
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private

View File

@@ -0,0 +1 @@
Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private