mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 06:38:31 +00:00
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
---
|
|
title: "Adobe Network Block"
|
|
description: ""
|
|
---
|
|
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1995}
|
|
"WPFTweaksBlockAdobeNet": {
|
|
"Content": "Adobe Network Block",
|
|
"Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
"panel": "1",
|
|
"InvokeScript": [
|
|
"
|
|
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
|
|
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
|
|
|
Move-Item $hosts \"$hosts.bak\"
|
|
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
|
ipconfig /flushdns
|
|
|
|
Write-Host \"Added Adobe url block list from host file\"
|
|
"
|
|
],
|
|
"UndoScript": [
|
|
"
|
|
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
|
|
|
Remove-Item $hosts
|
|
Move-Item \"$hosts.bak\" $hosts
|
|
ipconfig /flushdns
|
|
|
|
Write-Host \"Removed Adobe url block list from host file\"
|
|
"
|
|
],
|
|
```
|