Skip to content

Commit d3d260a

Browse files
committed
Harden-System-Security-v1.0.23.0
* Updated dependencies to the latest version. * Removed any dependency on secedit that used to exist; From now on, all security policies are applied, verified and/or removed by the Harden System Security app itself via low level APIs. * Changed the device usage intent for [Administrator Protection](https://blogs.windows.com/windowsdeveloper/2025/05/19/enhance-your-application-security-with-administrator-protection/) policy in the [User Account Control category](https://github.com/HotCakeX/Harden-Windows-Security/wiki/User-Account-Control) to only apply to School, Business, Specialized and Enterprise devices, excluding Development and Gaming device usage intents. * Added links in the UI to many security measures that didn't have them. * Added an Export button to the [Optional Windows Features page](https://github.com/HotCakeX/Harden-Windows-Security/wiki/Optional-Windows-Features). Use it to export the list of all optional Windows features and capabilities along with their current status and details to a structured JSON file. * Added an Export button to the [Attack Surface Reduction rules page](https://github.com/HotCakeX/Harden-Windows-Security/wiki/Attack-Surface-Reduction). Use it to export the list of all Attack Surface Reduction rules and their status to a structured JSON file. * Added an Export button to every page that offers security measures configurations. You'll be able to export all of the data about your system for that specific category quickly to a JSON for safe keeping or tracking/backup. * Added an Export button to the [Manage Installed Apps page](https://github.com/HotCakeX/Harden-Windows-Security/wiki/Manage-Installed-Apps). Use it to export the list of all installed apps along with their full details to a structured JSON file.
1 parent e0b45be commit d3d260a

File tree

109 files changed

+3276
-3712
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+3276
-3712
lines changed

AppControl Manager/App.xaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,16 @@
140140
<Setter Property="Margin" Value="6,0,6,5"/>
141141
</Style>
142142

143+
<!-- The styles of the Wrap Panel that is inside the Expander for the toolbar of the page -->
144+
<Style x:Key="UnifiedToolbarStyle" TargetType="controls:WrapPanel">
145+
<Setter Property="Padding" Value="6"/>
146+
<Setter Property="VerticalAlignment" Value="Center"/>
147+
<Setter Property="HorizontalAlignment" Value="Center"/>
148+
<Setter Property="VerticalSpacing" Value="8"/>
149+
<Setter Property="HorizontalSpacing" Value="8"/>
150+
<Setter Property="Orientation" Value="Horizontal"/>
151+
</Style>
152+
143153
</ResourceDictionary>
144154
</Application.Resources>
145155
</Application>

AppControl Manager/AppControl Manager.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@
215215
<PackageReference Include="CommunityToolkit.WinUI.Media" Version="8.2.250402" />
216216
<PackageReference Include="CommunityToolkit.WinUI.Triggers" Version="8.2.250402" />
217217
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.2" />
218-
<PackageReference Include="Microsoft.Identity.Client" Version="4.79.0" />
219-
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.79.0" />
218+
<PackageReference Include="Microsoft.Identity.Client" Version="4.79.1" />
219+
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.79.1" />
220220
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.3.0-prerelease.251015.2" />
221-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.251003001" />
221+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.251106002" />
222222
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.0" />
223223
<PackageReference Include="System.Diagnostics.EventLog" Version="10.0.0" />
224224

@@ -232,15 +232,15 @@
232232
<PackageReference Include="runtime.win-arm64.Microsoft.DotNet.ILCompiler" Version="10.0.0" />
233233
<PackageReference Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="10.0.0" />
234234
<PackageReference Include="Microsoft.Identity.Client.NativeInterop" Version="0.19.4" />
235-
<PackageReference Include="Microsoft.WindowsAppSDK.AI" Version="1.8.38" />
235+
<PackageReference Include="Microsoft.WindowsAppSDK.AI" Version="1.8.39" />
236236
<PackageReference Include="Microsoft.WindowsAppSDK.Base" Version="1.8.250831001" />
237237
<PackageReference Include="Microsoft.WindowsAppSDK.DWrite" Version="1.8.25090401" />
238-
<PackageReference Include="Microsoft.WindowsAppSDK.Foundation" Version="1.8.250906002" />
239-
<PackageReference Include="Microsoft.WindowsAppSDK.InteractiveExperiences" Version="1.8.250906004" />
240-
<PackageReference Include="Microsoft.WindowsAppSDK.Runtime" Version="1.8.251003001" />
238+
<PackageReference Include="Microsoft.WindowsAppSDK.Foundation" Version="1.8.251104000" />
239+
<PackageReference Include="Microsoft.WindowsAppSDK.InteractiveExperiences" Version="1.8.251104001" />
240+
<PackageReference Include="Microsoft.WindowsAppSDK.Runtime" Version="1.8.251106002" />
241241
<PackageReference Include="Microsoft.WindowsAppSDK.Widgets" Version="1.8.250904007" />
242-
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="1.8.250906003" />
243-
<PackageReference Include="Microsoft.WindowsAppSDK.ML" Version="1.8.2095" />
242+
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="1.8.251105000" />
243+
<PackageReference Include="Microsoft.WindowsAppSDK.ML" Version="1.8.2109" />
244244
<PackageReference Include="Microsoft.Windows.SDK.BuildTools.MSIX" Version="1.7.20250829.1">
245245
<PrivateAssets>all</PrivateAssets>
246246
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

AppControl Manager/Pages/AllowNewApps/AllowNewAppsEventLogsDataGrid.xaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<RowDefinition Height="*"/>
1616
</Grid.RowDefinitions>
1717

18-
<Expander Grid.Row="0" Margin="0,0,0,10" Padding="8" HorizontalAlignment="Stretch">
18+
<Expander Grid.Row="0" Margin="0,0,0,10" HorizontalAlignment="Stretch">
1919
<Expander.Header>
2020

21-
<controls:WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalSpacing="10" VerticalSpacing="10">
21+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
2222

2323
<ProgressRing Visibility="Collapsed" IsActive="False" />
2424

@@ -59,7 +59,6 @@
5959
</DropDownButton>
6060

6161
<TextBox Text="{x:Bind ViewModel.EventLogsAllFileIdentitiesSearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
62-
Width="300"
6362
x:Uid="SearchBoxTextBox"
6463
VerticalAlignment="Center"
6564
VerticalContentAlignment="Center" />

AppControl Manager/Pages/AllowNewApps/AllowNewAppsLocalFilesDataGrid.xaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<RowDefinition Height="*"/>
1616
</Grid.RowDefinitions>
1717

18-
<Expander Grid.Row="0" Margin="0,0,0,10" Padding="8" HorizontalAlignment="Stretch">
18+
<Expander Grid.Row="0" Margin="0,0,0,10" HorizontalAlignment="Stretch">
1919
<Expander.Header>
2020

21-
<controls:WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalSpacing="10" VerticalSpacing="10">
21+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
2222

2323
<ProgressRing Visibility="Collapsed" IsActive="False" />
2424

@@ -59,7 +59,6 @@
5959
</DropDownButton>
6060

6161
<TextBox
62-
Width="300"
6362
x:Uid="SearchBoxTextBox"
6463
Text="{x:Bind ViewModel.LocalFilesAllFileIdentitiesSearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
6564
VerticalAlignment="Center"

AppControl Manager/Pages/ConfigurePolicyRuleOptions.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</Grid.RowDefinitions>
1919

2020
<customUI:InfoBarV2 Grid.Row="0"
21-
Margin="10,0,10,5"
21+
Margin="0,0,0,5"
2222
IsOpen="{x:Bind ViewModel.MainInfoBarIsOpen, Mode=TwoWay}"
2323
Message="{x:Bind ViewModel.MainInfoBarMessage, Mode=OneWay}"
2424
Severity="{x:Bind ViewModel.MainInfoBarSeverity, Mode=OneWay}"

AppControl Manager/Pages/CreateDenyPolicyFilesAndFoldersScanResults.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<RowDefinition Height="*"/>
1616
</Grid.RowDefinitions>
1717

18-
<Expander Grid.Row="0" Margin="0,0,0,10" Padding="8" HorizontalAlignment="Stretch">
18+
<Expander Grid.Row="0" Margin="0,0,0,10" HorizontalAlignment="Stretch">
1919
<Expander.Header>
2020

21-
<controls:WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalSpacing="10" VerticalSpacing="10">
21+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
2222

2323
<ProgressRing Visibility="Collapsed" IsActive="False" />
2424

@@ -99,8 +99,7 @@
9999
</StackPanel>
100100
</Border>
101101

102-
<TextBox Width="300"
103-
x:Uid="SearchBoxTextBox"
102+
<TextBox x:Uid="SearchBoxTextBox"
104103
Text="{x:Bind ViewModel.FilesAndFoldersScanResultsSearchTextBox, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
105104
VerticalAlignment="Center"
106105
VerticalContentAlignment="Center" />

AppControl Manager/Pages/CreateSupplementalPolicyFilesAndFoldersScanResults.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<RowDefinition Height="*"/>
1616
</Grid.RowDefinitions>
1717

18-
<Expander Grid.Row="0" Margin="0,0,0,10" Padding="8" HorizontalAlignment="Stretch">
18+
<Expander Grid.Row="0" Margin="0,0,0,10" HorizontalAlignment="Stretch">
1919
<Expander.Header>
2020

21-
<controls:WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalSpacing="10" VerticalSpacing="10">
21+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
2222

2323
<DropDownButton x:Uid="ExtraActionsDropDownButton">
2424
<DropDownButton.ContentTemplate>
@@ -97,8 +97,7 @@
9797
</StackPanel>
9898
</Border>
9999

100-
<TextBox Width="300"
101-
x:Uid="SearchBoxTextBox"
100+
<TextBox x:Uid="SearchBoxTextBox"
102101
VerticalAlignment="Center"
103102
Text="{x:Bind ViewModel.FilesAndFoldersScanResultsSearchTextBox, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
104103
VerticalContentAlignment="Center" />

AppControl Manager/Pages/EventLogsPolicyCreation.xaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<Expander Grid.Row="1" Margin="0,5,0,10" HorizontalAlignment="Stretch">
5858
<Expander.Header>
5959

60-
<controls:WrapPanel Orientation="Horizontal" Padding="8" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalSpacing="10" VerticalSpacing="10">
60+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
6161

6262
<ProgressRing Visibility="{x:Bind ViewModel.ScanLogsProgressRingVisibility, Mode=OneWay}"
6363
IsActive="{x:Bind ViewModel.ScanLogsProgressRingIsActive, Mode=OneWay}" />
@@ -295,8 +295,7 @@
295295
</StackPanel>
296296
</Border>
297297

298-
<TextBox Width="300"
299-
IsEnabled="{x:Bind ViewModel.AreElementsEnabled, Mode=OneWay}"
298+
<TextBox IsEnabled="{x:Bind ViewModel.AreElementsEnabled, Mode=OneWay}"
300299
x:Uid="SearchBoxTextBox"
301300
Text="{x:Bind ViewModel.SearchBoxText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
302301
VerticalAlignment="Center"

AppControl Manager/Pages/IntuneDeploymentDetails.xaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,10 @@
2525
IsClosable="{x:Bind ViewModel.MainInfoBarIsClosable, Mode=OneWay}" />
2626

2727
<Expander Grid.Row="1"
28-
Margin="0,0,0,10"
29-
Padding="8"
28+
Margin="0,0,0,10"
3029
HorizontalAlignment="Stretch">
3130
<Expander.Header>
32-
<controls:WrapPanel Orientation="Horizontal"
33-
HorizontalAlignment="Center"
34-
VerticalAlignment="Center"
35-
HorizontalSpacing="10"
36-
VerticalSpacing="10">
31+
<controls:WrapPanel Style="{StaticResource UnifiedToolbarStyle}">
3732

3833
<!-- Refresh -->
3934
<Button IsEnabled="{x:Bind ViewModel.AreElementsEnabled, Mode=OneWay}"

AppControl Manager/Pages/Logs.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
</Button>
6565

6666
<!-- Search TextBox -->
67-
<TextBox x:Uid="SearchBoxTextBox"
68-
MinWidth="300"
67+
<TextBox x:Uid="SearchBoxTextBox"
6968
Text="{x:Bind ViewModel.SearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
7069

7170
<!-- Progress Ring for loading indication -->

0 commit comments

Comments
 (0)