Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit e3fa432

Browse files
committed
Add warning for EnableCIMemoryIntegrity, reformat a few other notes
No functional changes
1 parent 5372078 commit e3fa432

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Win10.psm1

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@ Function EnableAppSuggestions {
203203
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\WindowsInkWorkspace" -Name "AllowSuggestedAppsInWindowsInkWorkspace" -ErrorAction SilentlyContinue
204204
}
205205

206-
# Disable Activity History feed in Task View - Note: The checkbox "Let Windows collect my activities from this PC" remains checked even when the function is disabled
206+
# Disable Activity History feed in Task View
207+
# Note: The checkbox "Let Windows collect my activities from this PC" remains checked even when the function is disabled
207208
Function DisableActivityHistory {
208209
Write-Output "Disabling Activity History..."
209210
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "EnableActivityFeed" -Type DWord -Value 0
@@ -483,7 +484,7 @@ Function SetP2PUpdateInternet {
483484
}
484485

485486
# Disable Windows Update P2P delivery optimization completely
486-
# Note: Completely disabling delivery optimization can break Windows Store downloads - see https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/281
487+
# Warning: Completely disabling delivery optimization can break Windows Store downloads - see https://github.com/Disassembler0/Win10-Initial-Setup-Script/issues/281
487488
Function SetP2PUpdateDisable {
488489
Write-Output "Disabling Windows Update P2P optimization..."
489490
If ([System.Environment]::OSVersion.Version.Build -eq 10240) {
@@ -710,6 +711,8 @@ Function DisableCtrldFolderAccess {
710711
}
711712

712713
# Enable Core Isolation Memory Integrity - Part of Windows Defender System Guard virtualization-based security - Applicable since 1803
714+
# Warning: This may cause old applications and drivers to crash or even cause BSOD
715+
# Problems were confirmed with old video drivers (Intel HD Graphics for 2nd gen., Radeon HD 6850), and old antivirus software (Kaspersky Endpoint Security 10.2, 11.2)
713716
Function EnableCIMemoryIntegrity {
714717
Write-Output "Enabling Core Isolation Memory Integrity..."
715718
If (!(Test-Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity")) {
@@ -3637,7 +3640,8 @@ Function DisableAudio {
36373640
#region Unpinning
36383641
##########
36393642

3640-
# Unpin all Start Menu tiles - Note: This function has no counterpart. You have to pin the tiles back manually.
3643+
# Unpin all Start Menu tiles
3644+
# Note: This function has no counterpart. You have to pin the tiles back manually.
36413645
Function UnpinStartMenuTiles {
36423646
Write-Output "Unpinning all Start Menu tiles..."
36433647
If ([System.Environment]::OSVersion.Version.Build -ge 15063 -And [System.Environment]::OSVersion.Version.Build -le 16299) {
@@ -3654,7 +3658,8 @@ Function UnpinStartMenuTiles {
36543658
}
36553659
}
36563660

3657-
# Unpin all Taskbar icons - Note: This function has no counterpart. You have to pin the icons back manually.
3661+
# Unpin all Taskbar icons
3662+
# Note: This function has no counterpart. You have to pin the icons back manually.
36583663
Function UnpinTaskbarIcons {
36593664
Write-Output "Unpinning all Taskbar icons..."
36603665
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Name "Favorites" -Type Binary -Value ([byte[]](255))

0 commit comments

Comments
 (0)