-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPolicy-Edge.psd1
More file actions
1741 lines (1698 loc) · 110 KB
/
Copy pathPolicy-Edge.psd1
File metadata and controls
1741 lines (1698 loc) · 110 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# windows-hardening
# https://github.com/briangeis/windows-hardening
#
# Policy Definitions: Edge
# Hardens the Microsoft Edge browser.
#
# Source: Microsoft Edge policy reference
# URL: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
# Reference: definitions/reference/Policy-Edge.md
#
# Author: Brian Geis
# License: GPL-3.0-or-later
#
@{
Meta = @{
Component = 'Policy'
Name = 'Edge'
Description = 'Hardens the Microsoft Edge browser.'
Target = 'Microsoft Edge 148'
Reviewed = '2026-06-01'
}
Categories = @(
# ===== Category: Privacy & Telemetry =====
@{
Name = 'Privacy & Telemetry'
Description = 'Settings controlling what Edge sends to Microsoft'
Sections = @(
# -- Section: Diagnostic Data --
@{
Name = 'Diagnostic Data'
Description = 'Controls diagnostic data and browser usage reporting to Microsoft'
Settings = @(
@{
Name = 'Disable Browser Diagnostic Data'
Description = 'Sets diagnostic data collection to Off'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DiagnosticData'
ValueType = 'DWord'
HardenedValue = 0 # 0 = Off
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Send required and optional diagnostic data about browser usage'
GPOState = 'Enabled (Off)'
Note = 'Microsoft marks the Off setting as not recommended.'
}
@{
Name = 'Disable URL Reporting in Diagnostic Data'
Description = 'Excludes URLs from Edge crash and diagnostic reports'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'UrlDiagnosticDataEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > URL reporting in Edge diagnostic data enabled'
GPOState = 'Disabled'
}
@{
Name = 'Disable Edge 3P SERP Telemetry'
Description = 'Turns off telemetry for third-party search engine result pages'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'Edge3PSerpTelemetryEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Edge 3P SERP Telemetry Enabled'
GPOState = 'Disabled'
}
@{
Name = 'Disable DNS Interception Checks'
Description = 'Turns off network probes used to detect DNS interception'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DNSInterceptionChecksEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > DNS interception checks enabled'
GPOState = 'Disabled'
}
@{
Name = 'Disable User Feedback'
Description = 'Prevents users from submitting feedback to Microsoft through Edge'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'UserFeedbackAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow user feedback'
GPOState = 'Disabled'
}
)
}
# -- Section: Personalization & Profiling --
@{
Name = 'Personalization & Profiling'
Description = 'Controls personalization data and cloud-delivered content in Edge'
Settings = @(
@{
Name = 'Disable Personalization Reporting'
Description = 'Prevents browsing data from being sent to Microsoft for personalization'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'PersonalizationReportingEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow personalization of ads, Microsoft Edge, search, news and other Microsoft services by sending browsing history, favorites and collections, usage and other browsing data to Microsoft'
GPOState = 'Disabled'
}
@{
Name = 'Disable Asset Delivery Service'
Description = 'Prevents Edge from downloading dynamic content from Microsoft'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'EdgeAssetDeliveryServiceEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow features to download assets from the Asset Delivery Service'
GPOState = 'Disabled'
}
@{
Name = 'Disable AI Theme Generation'
Description = 'Turns off AI-generated browser themes powered by DALL-E'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AIGenThemesEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enables DALL-E themes generation'
GPOState = 'Disabled'
}
)
}
# -- Section: Tracking Prevention --
@{
Name = 'Tracking Prevention'
Description = 'Controls tracking prevention, cookie blocking, and Do Not Track'
Settings = @(
@{
Name = 'Enable Strict Tracking Prevention'
Description = 'Sets tracking prevention to Strict mode'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'TrackingPrevention'
ValueType = 'DWord'
HardenedValue = 3 # 3 = Strict
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Block tracking of users'' web-browsing activity'
GPOState = 'Enabled (Strict)'
Note = 'Strict mode may cause some sites to break due to tracker blocking.'
}
@{
Name = 'Block Third Party Cookies'
Description = 'Prevents third-party cookies from being set'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BlockThirdPartyCookies'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Block third party cookies'
GPOState = 'Enabled'
}
@{
Name = 'Enable Do Not Track'
Description = 'Sends Do Not Track requests with browsing traffic'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ConfigureDoNotTrack'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Configure Do Not Track'
GPOState = 'Enabled'
Note = 'Most websites do not honor Do Not Track requests.'
}
)
}
# -- Section: Copilot & AI Data Access --
@{
Name = 'Copilot & AI Data Access'
Description = 'Controls what Microsoft AI services can access in the browser'
Settings = @(
@{
Name = 'Disable Browsing with Copilot'
Description = 'Turns off Copilot access to the browser and browsing context'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AllowBrowsingWithCopilot'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Controls the availability of browsing with Copilot in Microsoft Edge.'
GPOState = 'Disabled'
}
@{
Name = 'Disable Copilot Toolbar Button'
Description = 'Removes the Microsoft 365 Copilot Chat button from the toolbar'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'Microsoft365CopilotChatIconEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Control whether Microsoft 365 Copilot Chat shows in the Microsoft Edge for Business toolbar'
GPOState = 'Disabled'
}
@{
Name = 'Disable Copilot Page Context Access'
Description = 'Prevents Copilot from accessing the content of the current page'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'CopilotPageContext'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Control Copilot access to page context for Microsoft Entra ID profiles'
GPOState = 'Disabled'
}
@{
Name = 'Disable Built-In AI APIs for Pages'
Description = 'Prevents web pages from accessing the built-in AI APIs in Edge'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BuiltInAIAPIsEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow pages to use the built-in AI APIs.'
GPOState = 'Disabled'
}
@{
Name = 'Disable Browsing History Sharing with Copilot Search'
Description = 'Prevents browsing history from being shared with Copilot Search'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ShareBrowsingHistoryWithCopilotSearchAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow sharing tenant-approved browsing history with Microsoft 365 Copilot Search'
GPOState = 'Disabled'
}
@{
Name = 'Disable AI-Enhanced History Search'
Description = 'Turns off AI-powered analysis of browsing history'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'EdgeHistoryAISearchEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Control access to AI-enhanced search in History'
GPOState = 'Disabled'
}
)
}
# -- Section: Experimentation --
@{
Name = 'Experimentation'
Description = 'Controls remote configuration and feature experiment programs'
Settings = @(
@{
Name = 'Disable Experimentation Service'
Description = 'Turns off all communication with the Experimentation service'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ExperimentationAndConfigurationServiceControl'
ValueType = 'DWord'
HardenedValue = 0 # 0 = Restricted Mode
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Control communication with the Experimentation and Configuration Service'
GPOState = 'Enabled (Restricted Mode)'
Note = 'Prevents Microsoft from pushing remote configuration changes to Edge.'
}
@{
Name = 'Disable Edge Update Experimentation Service'
Description = 'Prevents Microsoft from pushing configuration to the Edge Update service'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\EdgeUpdate'
ValueName = 'UpdaterExperimentationAndConfigurationServiceControl'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge Update > Control updater''s communication with the Experimentation and Configuration Service'
GPOState = 'Enabled (0)'
}
@{
Name = 'Disable WebView2 Experimentation Service'
Description = 'Prevents Microsoft from pushing configuration to the WebView2 runtime'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge\WebView2'
ValueName = 'ExperimentationAndConfigurationServiceControl'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge WebView2 > Control communication with the Experimentation and Configuration Service'
GPOState = 'Enabled (0)'
}
@{
Name = 'Prevent Feature Flag Overrides'
Description = 'Prevents users from overriding experimental feature flags'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'FeatureFlagOverridesControl'
ValueType = 'DWord'
HardenedValue = 0 # 0 = Overrides Disabled
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Experimentation > Configure users ability to override feature flags'
GPOState = 'Enabled (Overrides Disabled)'
}
)
}
) # End Privacy & Telemetry Sections
}
# ===== Category: Identity & Data =====
@{
Name = 'Identity & Data'
Description = 'Settings controlling what Edge knows about user identity and activity'
Sections = @(
# -- Section: Sign-In & Sync --
@{
Name = 'Sign-In & Sync'
Description = 'Controls browser sign-in, Microsoft account sync, and SSO features'
Settings = @(
@{
Name = 'Disable Browser Sign-In'
Description = 'Prevents users from signing in to the browser with a Microsoft account'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BrowserSignin'
ValueType = 'DWord'
HardenedValue = 0 # 0 = Disable browser sign-in
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Browser sign-in settings'
GPOState = 'Enabled (Disable browser sign-in)'
}
@{
Name = 'Disable Microsoft Sync'
Description = 'Prevents synchronization of browsing data to Microsoft cloud services'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SyncDisabled'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Disable synchronization of data using Microsoft sync services'
GPOState = 'Enabled'
}
@{
Name = 'Disable Work Account SSO for Websites'
Description = 'Prevents automatic sign-in to work and school websites via this profile'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AADWebSiteSSOUsingThisProfileEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Single sign-on for work or school sites using this profile enabled'
GPOState = 'Disabled'
}
@{
Name = 'Disable Microsoft Personal Account SSO'
Description = 'Prevents automatic sign-in to Microsoft personal sites via this profile'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'MSAWebSiteSSOUsingThisProfileAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow single sign-on for Microsoft personal sites using this profile'
GPOState = 'Disabled'
}
@{
Name = 'Disable Guided Profile Switch'
Description = 'Prevents Edge from prompting users to switch profiles for specific sites'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'GuidedSwitchEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Identity and sign-in > Guided Switch Enabled'
GPOState = 'Disabled'
}
@{
Name = 'Disable Seamless Web-to-Browser Sign-In'
Description = 'Prevents websites from silently signing the user into the browser'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SeamlessWebToBrowserSignInEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Identity and sign-in > Seamless Web To Browser Sign-in Enabled'
GPOState = 'Disabled'
}
)
}
# -- Section: Autofill & Credentials --
@{
Name = 'Autofill & Credentials'
Description = 'Controls browser-managed credentials, autofill forms, and payment data'
Settings = @(
@{
Name = 'Disable Password Manager'
Description = 'Prevents Edge from saving passwords to the built-in password manager'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'PasswordManagerEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Password manager and protection > Enable saving passwords to the password manager'
GPOState = 'Disabled'
}
@{
Name = 'Disable Password Autofill'
Description = 'Sets the password manager autofill mode to Off'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'PrimaryPasswordSetting'
ValueType = 'DWord'
HardenedValue = 3 # 3 = Autofill Off
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Password manager and protection > Configures a setting that asks users to enter their device password while using password autofill'
GPOState = 'Enabled (Autofill Off)'
Note = 'Only applies when the password manager is enabled.'
}
@{
Name = 'Disable Payment Autofill'
Description = 'Turns off AutoFill for payment instruments'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AutofillCreditCardEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable AutoFill for payment instruments'
GPOState = 'Disabled'
}
@{
Name = 'Disable Payment Method Query'
Description = 'Prevents websites from checking for available payment methods'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'PaymentMethodQueryEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow websites to query for available payment methods'
GPOState = 'Disabled'
}
@{
Name = 'Disable Address Autofill'
Description = 'Turns off AutoFill for addresses'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AutofillAddressEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable AutoFill for addresses'
GPOState = 'Disabled'
}
@{
Name = 'Disable Membership Autofill'
Description = 'Turns off AutoFill for loyalty cards and membership IDs'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AutofillMembershipsEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Save and fill memberships'
GPOState = 'Disabled'
}
)
}
# -- Section: Import Settings --
@{
Name = 'Import Settings'
Description = 'Controls automatic imports from other browsers at first run and launch'
Settings = @(
@{
Name = 'Disable First-Run Auto-Import'
Description = 'Prevents automatic data import from other browsers at first launch'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AutoImportAtFirstRun'
ValueType = 'DWord'
HardenedValue = 4 # 4 = Disabled Auto Import
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Automatically import another browser''s data and settings at first run'
GPOState = 'Enabled (Disabled Auto Import)'
}
@{
Name = 'Disable Repeated Imports on Launch'
Description = 'Prevents re-importing data from other browsers on every Edge launch'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportOnEachLaunch'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow import of data from other browsers on each Microsoft Edge launch'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Saved Passwords'
Description = 'Prevents importing saved passwords from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportSavedPasswords'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of saved passwords'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Payment Info'
Description = 'Prevents importing payment information from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportPaymentInfo'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of payment info'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Autofill Data'
Description = 'Prevents importing autofill form data from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportAutofillFormData'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of autofill form data'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Browser Settings'
Description = 'Prevents importing browser settings from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportBrowserSettings'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of browser settings'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Home Page Settings'
Description = 'Prevents importing home page settings from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportHomepage'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of home page settings'
GPOState = 'Disabled'
}
@{
Name = 'Disable Import of Search Engine Settings'
Description = 'Prevents importing search engine settings from other browsers'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ImportSearchEngine'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow importing of search engine settings'
GPOState = 'Disabled'
}
)
}
# -- Section: Browsing Data --
@{
Name = 'Browsing Data'
Description = 'Controls browsing data retention, deletion on exit, and history'
Settings = @(
@{
Name = 'Clear Browsing Data on Exit'
Description = 'Deletes all browsing data each time Edge closes'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ClearBrowsingDataOnExit'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Clear browsing data when Microsoft Edge closes'
GPOState = 'Enabled'
Note = 'Logs the user out of all websites by clearing cookies on every close.'
}
@{
Name = 'Clear Cached Images on Exit'
Description = 'Deletes cached images and files each time Edge closes'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ClearCachedImagesAndFilesOnExit'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Clear cached images and files when Microsoft Edge closes'
GPOState = 'Enabled'
}
@{
Name = 'Disable Saving Browser History'
Description = 'Prevents Edge from saving browsing history'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SavingBrowserHistoryDisabled'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Disable saving browser history'
GPOState = 'Enabled'
}
@{
Name = 'Delete Browser Data on Migration'
Description = 'Removes legacy browser data when migrating to a new Edge version'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DeleteDataOnMigration'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Delete old browser data on migration'
GPOState = 'Enabled'
}
@{
Name = 'Disable Windows Search Access to Edge Data'
Description = 'Prevents Windows Search from indexing local Edge browsing data'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'LocalBrowserDataShareEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable Windows to search local Microsoft Edge browsing data'
GPOState = 'Disabled'
}
)
}
# -- Section: Ephemeral Profiles --
@{
Name = 'Ephemeral Profiles'
Description = 'Controls whether Edge uses a temporary profile deleted on close'
Settings = @(
@{
Name = 'Enable Ephemeral Profiles'
Description = 'Uses a temporary profile directory that is deleted when Edge closes'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ForceEphemeralProfiles'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable use of ephemeral profiles'
GPOState = 'Enabled'
Warning = 'All profile data deleted on close: bookmarks, extensions, and settings.'
}
)
}
) # End Identity & Data Sections
}
# ===== Category: Security =====
@{
Name = 'Security'
Description = 'Settings hardening browser security and web content access controls'
Sections = @(
# -- Section: SmartScreen --
@{
Name = 'SmartScreen'
Description = 'Controls Microsoft Defender SmartScreen and scareware protection'
Settings = @(
@{
Name = 'Disable Microsoft Defender SmartScreen'
Description = 'Turns off Microsoft Defender SmartScreen URL and download checking'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SmartScreenEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > SmartScreen settings > Configure Microsoft Defender SmartScreen'
GPOState = 'Disabled'
Caution = 'Removes phishing and malware protection from Microsoft Edge.'
}
@{
Name = 'Disable SmartScreen Checks for Trusted Downloads'
Description = 'Turns off SmartScreen reputation checks on trusted source downloads'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SmartScreenForTrustedDownloadsEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > SmartScreen settings > Force Microsoft Defender SmartScreen checks on downloads from trusted sources'
GPOState = 'Disabled'
Caution = 'Removes SmartScreen reputation checks on downloads from trusted sources.'
}
@{
Name = 'Disable SmartScreen PUA Protection'
Description = 'Turns off SmartScreen protection against potentially unwanted apps'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SmartScreenPuaEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > SmartScreen settings > Configure Microsoft Defender SmartScreen to block potentially unwanted apps'
GPOState = 'Disabled'
Caution = 'Removes PUA protection from SmartScreen download checks.'
}
@{
Name = 'Disable SmartScreen DNS Requests'
Description = 'Turns off DNS-based URL lookups performed by SmartScreen'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SmartScreenDnsRequestsEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > SmartScreen settings > Enable Microsoft Defender SmartScreen DNS requests'
GPOState = 'Disabled'
Caution = 'Removes DNS-based threat detection from SmartScreen URL checks.'
}
@{
Name = 'Disable Scareware Blocker'
Description = 'Turns off the on-device tech support scam page detection feature'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ScarewareBlockerProtectionEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Scareware Blocker settings > Configure Microsoft Edge Scareware blocker protection'
GPOState = 'Disabled'
Caution = 'Removes protection against tech support scam and browser-lock pages.'
}
)
}
# -- Section: Process & Memory Protection --
@{
Name = 'Process & Memory Protection'
Description = 'Controls browser security mode, process isolation, and memory protection'
Settings = @(
@{
Name = 'Enable Strict Enhanced Security Mode'
Description = 'Enables Enhanced Security Mode at Strict level for maximum hardening'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'EnhanceSecurityMode'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Strict Mode
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enhance the security state in Microsoft Edge'
GPOState = 'Enabled (Strict Mode)'
Caution = 'Strict mode may affect site compatibility due to enhanced mitigations.'
}
@{
Name = 'Enable Site Isolation'
Description = 'Isolates each site in a dedicated process to prevent cross-site leaks'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'SitePerProcess'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable site isolation for every site'
GPOState = 'Enabled'
}
@{
Name = 'Enable Browser Code Integrity'
Description = 'Enforces code integrity guard in the browser process'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BrowserCodeIntegritySetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Enforcement Mode
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Configure browser process code integrity guard setting'
GPOState = 'Enabled (Enforcement)'
}
@{
Name = 'Enable Dynamic Code Protection'
Description = 'Prevents the browser process from creating dynamic code'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DynamicCodeSettings'
ValueType = 'DWord'
HardenedValue = 1 # 1 = Enabled for Browser Process
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Dynamic Code Settings'
GPOState = 'Enabled (Enabled for Browser)'
}
@{
Name = 'Block External Extensions'
Description = 'Blocks installation of extensions via sideloading mechanisms'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BlockExternalExtensions'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Extensions > Blocks external extensions from being installed'
GPOState = 'Enabled'
Note = 'Does not prevent extensions installed from the Edge Add-ons store.'
}
@{
Name = 'Enable Network Service Sandbox'
Description = 'Sandboxes the network service to limit browser process system access'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'NetworkServiceSandboxEnabled'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable the network service sandbox'
GPOState = 'Enabled'
}
)
}
# -- Section: Content Security --
@{
Name = 'Content Security'
Description = 'Controls security restrictions on content execution and rendering'
Settings = @(
@{
Name = 'Block JavaScript JIT'
Description = 'Turns off JavaScript JIT compilation to reduce memory attack risk'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultJavaScriptJitSetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Block JIT
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Content settings > Control use of JavaScript JIT'
GPOState = 'Enabled (Do not allow)'
Caution = 'Disabling JIT may reduce performance on JavaScript-heavy sites.'
}
@{
Name = 'Block Insecure Content Exceptions'
Description = 'Prevents exceptions that would allow mixed content on HTTPS pages'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultInsecureContentSetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Do Not Allow
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Content settings > Control use of insecure content exceptions'
GPOState = 'Enabled (Do not allow)'
Note = 'May block HTTP resources on HTTPS admin pages for local network devices.'
}
@{
Name = 'Disable Internet Explorer Mode'
Description = 'Turns off IE mode, preventing the Trident rendering engine from loading'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'InternetExplorerIntegrationLevel'
ValueType = 'DWord'
HardenedValue = 0 # 0 = None
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Configure Internet Explorer integration'
GPOState = 'Enabled (None)'
}
)
}
# -- Section: Connection Security --
@{
Name = 'Connection Security'
Description = 'Controls how Edge establishes and secures network connections'
Settings = @(
@{
Name = 'Require OCSP/CRL Checks for Local Trust Anchors'
Description = 'Enforces online OCSP and CRL checks for locally trusted certificates'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'RequireOnlineRevocationChecksForLocalAnchors'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Specify if online OCSP/CRL checks are required for local trust anchors'
GPOState = 'Enabled'
}
@{
Name = 'Enable Encrypted Client Hello'
Description = 'Encrypts the TLS ClientHello SNI field to reduce network-level tracking'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'EncryptedClientHelloEnabled'
ValueType = 'DWord'
HardenedValue = 1
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > TLS Encrypted ClientHello Enabled'
GPOState = 'Enabled'
}
@{
Name = 'Disable Basic Authentication over HTTP'
Description = 'Prevents Basic authentication over plain HTTP connections'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'BasicAuthOverHttpEnabled'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > HTTP authentication > Allow Basic authentication for HTTP'
GPOState = 'Disabled'
Note = 'Basic authentication transmits credentials in plain text.'
}
@{
Name = 'Disable Network Prediction'
Description = 'Prevents speculative DNS, connection, and page prerender requests'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'NetworkPredictionOptions'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Do not predict network actions
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Enable network prediction'
GPOState = 'Enabled (Do not predict network actions)'
Note = 'May slightly slow page loads by disabling preconnect and prerender.'
}
)
}
) # End Security Sections
}
# ===== Category: Content Permissions =====
@{
Name = 'Content Permissions'
Description = 'Settings controlling what websites can access on this device'
Sections = @(
# -- Section: Media Capture --
@{
Name = 'Media Capture'
Description = 'Controls media capture access including audio, video, and screen'
Settings = @(
@{
Name = 'Block Audio Capture'
Description = 'Prevents websites from accessing the microphone by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'AudioCaptureAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow or block audio capture'
GPOState = 'Disabled'
Caution = 'Blocks every site from the microphone, breaking web conferencing.'
}
@{
Name = 'Block Video Capture'
Description = 'Prevents websites from accessing the camera by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'VideoCaptureAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow or block video capture'
GPOState = 'Disabled'
Caution = 'Blocks every site from the camera, breaking video conferencing.'
}
@{
Name = 'Block Screen Capture'
Description = 'Prevents websites from capturing screen content by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'ScreenCaptureAllowed'
ValueType = 'DWord'
HardenedValue = 0
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Allow or deny screen capture'
GPOState = 'Disabled'
Caution = 'Blocks every site from screen capture, breaking screen sharing.'
}
)
}
# -- Section: Sensors & Location --
@{
Name = 'Sensors & Location'
Description = 'Controls website access to device location and environmental sensors'
Settings = @(
@{
Name = 'Block Geolocation Access'
Description = 'Prevents websites from accessing location data by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultGeolocationSetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Do Not Allow
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Content settings > Default geolocation setting'
GPOState = 'Enabled (Do not allow)'
}
@{
Name = 'Block Sensor Access'
Description = 'Prevents websites from accessing device sensors by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultSensorsSetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Do Not Allow
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Default sensors setting'
GPOState = 'Enabled (Do not allow)'
}
)
}
# -- Section: Hardware APIs --
@{
Name = 'Hardware APIs'
Description = 'Controls website access to hardware interfaces via browser APIs'
Settings = @(
@{
Name = 'Block Serial API Access'
Description = 'Prevents websites from accessing serial port devices by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultSerialGuardSetting'
ValueType = 'DWord'
HardenedValue = 2 # 2 = Do Not Allow
DefaultValue = $null
GPOPath = 'Computer Configuration > Administrative Templates > Microsoft Edge > Control use of the Serial API'
GPOState = 'Enabled (Do not allow)'
}
@{
Name = 'Block Web Bluetooth Access'
Description = 'Prevents websites from accessing Bluetooth devices by default'
Path = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
ValueName = 'DefaultWebBluetoothGuardSetting'
ValueType = 'DWord'