Files
winutil/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/BlockAdobeNet.md
T

35 lines
1.0 KiB
Markdown
Raw Normal View History

2026-01-07 19:55:35 +00:00
# Adobe Network Block
```json
2026-01-14 20:28:45 +02:00
"WPFTweaksBlockAdobeNet": {
"Content": "Adobe Network Block",
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a021_",
"InvokeScript": [
2026-01-07 19:55:35 +00:00
"
2026-01-14 20:28:45 +02:00
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
2026-01-07 19:55:35 +00:00
2026-01-14 20:28:45 +02:00
Copy-Item $hosts \"$hosts.bak\"
Invoke-WebRequest $hostsUrl -OutFile $hosts
ipconfig flushdns
2026-01-07 19:55:35 +00:00
2026-01-14 20:28:45 +02:00
Write-Host \"Added Adobe url block list from host file\"
2026-01-07 19:55:35 +00:00
"
2026-01-14 20:28:45 +02:00
],
"UndoScript": [
"
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
$backup = \"$hosts.bak\"
2026-01-07 19:55:35 +00:00
2026-01-14 20:28:45 +02:00
Copy-Item $backup $hosts
Remove-Item $backup
ipconfig flushdns
2026-01-07 19:55:35 +00:00
2026-01-14 20:28:45 +02:00
Write-Host \"Removed Adobe url block list from host file\"
"
],
2026-01-07 19:55:35 +00:00
```