Skip to content

Commit

Permalink
Add warning for EnableCIMemoryIntegrity, reformat a few other notes
Browse files Browse the repository at this point in the history
No functional changes
  • Loading branch information
Disassembler0 committed Feb 10, 2020
1 parent 5372078 commit e3fa432
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Win10.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ Function EnableAppSuggestions {
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\WindowsInkWorkspace" -Name "AllowSuggestedAppsInWindowsInkWorkspace" -ErrorAction SilentlyContinue
}

# 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
# 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
Function DisableActivityHistory {
Write-Output "Disabling Activity History..."
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "EnableActivityFeed" -Type DWord -Value 0
Expand Down Expand Up @@ -483,7 +484,7 @@ Function SetP2PUpdateInternet {
}

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

# Enable Core Isolation Memory Integrity - Part of Windows Defender System Guard virtualization-based security - Applicable since 1803
# Warning: This may cause old applications and drivers to crash or even cause BSOD
# 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)
Function EnableCIMemoryIntegrity {
Write-Output "Enabling Core Isolation Memory Integrity..."
If (!(Test-Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity")) {
Expand Down Expand Up @@ -3637,7 +3640,8 @@ Function DisableAudio {
#region Unpinning
##########

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

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

0 comments on commit e3fa432

Please sign in to comment.