-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDisable-AdobeTelemetry.ps1
More file actions
1025 lines (920 loc) · 42.7 KB
/
Disable-AdobeTelemetry.ps1
File metadata and controls
1025 lines (920 loc) · 42.7 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
<#
.SYNOPSIS
Disable-AdobeTelemetry.ps1 - Comprehensive Adobe telemetry and GrowthSDK removal tool.
.DESCRIPTION
Kills Adobe GrowthSDK, background telemetry services, scheduled tasks, and
in-app marketing/analytics frameworks across all user profiles.
Actions performed:
1. Terminates Adobe background processes
2. Removes GrowthSDK directories and plants blocker files
3. Disables Adobe telemetry scheduled tasks
4. Disables Adobe telemetry/updater services
5. Sets registry policies to disable usage data collection
6. Blocks Adobe telemetry domains via Windows Firewall
7. Blocks domains via hosts file
8. Disables Adobe Acrobat telemetry via registry
9. Permanently neutralizes CCXProcess.exe
10. Firewalls AdobeIPCBroker.exe (outbound only)
11. Disables Adobe startup/run entries
.PARAMETER Undo
Reverses ALL changes made by this script.
.PARAMETER StatusOnly
Shows current state of all telemetry components without making changes.
.NOTES
Author : Matt (Maven Imaging)
Version : 1.1.0
Date : 2026-02-02
#>
param(
[switch]$Undo,
[switch]$StatusOnly
)
# ── Auto-Elevate ─────────────────────────────────────────────────────────────
$isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole]::Administrator
)
if (-not $isAdmin) {
$argList = @('-NoProfile', '-ExecutionPolicy', 'Bypass', '-File', "`"$PSCommandPath`"")
if ($Undo) { $argList += '-Undo' }
if ($StatusOnly) { $argList += '-StatusOnly' }
Start-Process powershell.exe -Verb RunAs -ArgumentList $argList
exit 0
}
# ── Config ──────────────────────────────────────────────────────────────────────
$ErrorActionPreference = 'SilentlyContinue'
$script:LogFile = Join-Path $env:TEMP 'Disable-AdobeTelemetry.log'
# Adobe background processes to kill
$AdobeProcesses = @(
'CCXProcess'
'CCLibrary'
'AdobeIPCBroker'
'Adobe Desktop Service'
'AdobeNotificationClient'
'AdobeUpdateService'
'armsvc'
'AGSService'
'node' # Adobe CEF/Node helpers - filtered by path below
)
# GrowthSDK relative path under each user's LocalLow
$GrowthSDKRelPath = 'Adobe\GrowthSDK'
# Additional Adobe telemetry/cache directories to neutralize
$AdditionalPaths = @(
'Adobe\OOBE\opm.db'
'Adobe\OOBE\PDApp\CCM\Telemetry'
)
# Scheduled tasks to disable
$ScheduledTasks = @(
'AdobeGCInvoker-1.0'
'Adobe Acrobat Update Task'
'Adobe Flash Player Updater'
'Adobe Flash Player NPAPI Notifier'
'Adobe Flash Player PPAPI Notifier'
'AdobeAAMUpdater-1.0-*'
'Adobe Genuine Monitor'
)
# Services to disable
$Services = @(
'AGSService' # Adobe Genuine Software Integrity
'AGMService' # Adobe Genuine Monitor
'AdobeARMservice' # Adobe Acrobat Update Service
'AdobeUpdateService' # Adobe Update Service
'AdobeFlashPlayerUpdateSvc'
'CCXProcess'
)
# Adobe telemetry / analytics domains
$TelemetryDomains = @(
'cc-api-data.adobe.io'
'notify.adobe.io'
'prod.adobegc.com'
'ada.adobe.io'
'assets.adobedtm.com'
'geo2.adobe.com'
'pv2.adobe.com'
'lcs-cops.adobe.io'
'lcs-robs.adobe.io'
'sstats.adobe.com'
'stats.adobe.com'
'r.openx.net'
'dpm.demdex.net'
'bam.nr-data.net'
'fls.doubleclick.net'
'ic.adobe.io'
'cc-cdn.adobe.com'
'use.typekit.net' # Optional - font telemetry
'p13n.adobe.io' # Personalization / A-B testing
'platform.adobe.io' # Platform analytics
'adobeid-na1.services.adobe.com' # Genuine check
'na1r.services.adobe.com'
'hlrc.adobegenuine.com'
'genuine.adobe.com'
'prod-rel-ffc-ccm.oobelib.com'
'oobe.setup.office.com' # Adobe OOBE
'crs.cr.adobe.com'
)
# ── Functions ───────────────────────────────────────────────────────────────────
function Write-Status {
param(
[string]$Message,
[ValidateSet('Info','Success','Warning','Error','Header')]
[string]$Type = 'Info'
)
$timestamp = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'
$logLine = "[$timestamp] [$Type] $Message"
Add-Content -Path $script:LogFile -Value $logLine -ErrorAction SilentlyContinue
switch ($Type) {
'Header' { Write-Host "`n=== $Message ===`n" -ForegroundColor Cyan }
'Success' { Write-Host " [OK] $Message" -ForegroundColor Green }
'Warning' { Write-Host " [--] $Message" -ForegroundColor Yellow }
'Error' { Write-Host " [!!] $Message" -ForegroundColor Red }
'Info' { Write-Host " [..] $Message" -ForegroundColor Gray }
}
}
function Stop-AdobeProcesses {
Write-Status 'Terminating Adobe background processes' -Type Header
foreach ($procName in $AdobeProcesses) {
$procs = Get-Process -Name $procName -ErrorAction SilentlyContinue |
Where-Object {
# Only kill node.exe if it lives under an Adobe path
if ($procName -eq 'node') {
$_.Path -like '*Adobe*'
} else { $true }
}
if ($procs) {
$procs | Stop-Process -Force -ErrorAction SilentlyContinue
Write-Status "Killed $($procs.Count) instance(s) of $procName" -Type Success
} else {
Write-Status "$procName not running" -Type Warning
}
}
}
function Remove-GrowthSDK {
Write-Status 'Neutralizing GrowthSDK across all profiles' -Type Header
# Get all user profile directories
$profileRoot = Split-Path $env:USERPROFILE
$profiles = Get-ChildItem $profileRoot -Directory -ErrorAction SilentlyContinue
foreach ($profile in $profiles) {
$localLow = Join-Path $profile.FullName 'AppData\LocalLow'
if (-not (Test-Path $localLow)) { continue }
$growthDir = Join-Path $localLow $GrowthSDKRelPath
if (Test-Path $growthDir -PathType Container) {
# Nuke the directory
Remove-Item $growthDir -Recurse -Force -ErrorAction SilentlyContinue
Start-Sleep -Milliseconds 200
if (-not (Test-Path $growthDir)) {
# Plant a read-only blocker file where the directory was
New-Item -Path $growthDir -ItemType File -Force | Out-Null
Set-ItemProperty -Path $growthDir -Name IsReadOnly -Value $true
Set-ItemProperty -Path $growthDir -Name Attributes -Value ([System.IO.FileAttributes]::ReadOnly -bor [System.IO.FileAttributes]::System -bor [System.IO.FileAttributes]::Hidden)
# Deny write via ACL to prevent Adobe from removing the blocker
$acl = Get-Acl $growthDir
$denyRule = New-Object System.Security.AccessControl.FileSystemAccessRule(
'Everyone', 'Delete,Write', 'Deny'
)
$acl.AddAccessRule($denyRule)
Set-Acl -Path $growthDir -AclObject $acl
Write-Status "Removed and blocked GrowthSDK for $($profile.Name)" -Type Success
} else {
Write-Status "Could not remove GrowthSDK for $($profile.Name) (files locked?)" -Type Error
}
} else {
if (Test-Path $growthDir -PathType Leaf) {
Write-Status "GrowthSDK already blocked for $($profile.Name)" -Type Warning
} else {
# Preemptively plant blocker even if directory didn't exist yet
$parentDir = Split-Path $growthDir
if (-not (Test-Path $parentDir)) {
New-Item -Path $parentDir -ItemType Directory -Force | Out-Null
}
New-Item -Path $growthDir -ItemType File -Force | Out-Null
Set-ItemProperty -Path $growthDir -Name IsReadOnly -Value $true
Set-ItemProperty -Path $growthDir -Name Attributes -Value ([System.IO.FileAttributes]::ReadOnly -bor [System.IO.FileAttributes]::System -bor [System.IO.FileAttributes]::Hidden)
$acl = Get-Acl $growthDir
$denyRule = New-Object System.Security.AccessControl.FileSystemAccessRule(
'Everyone', 'Delete,Write', 'Deny'
)
$acl.AddAccessRule($denyRule)
Set-Acl -Path $growthDir -AclObject $acl
Write-Status "Pre-blocked GrowthSDK for $($profile.Name)" -Type Success
}
}
# Handle additional telemetry paths
foreach ($relPath in $AdditionalPaths) {
$targetPath = Join-Path $localLow $relPath
if (Test-Path $targetPath -PathType Container) {
Remove-Item $targetPath -Recurse -Force -ErrorAction SilentlyContinue
Write-Status "Removed $relPath for $($profile.Name)" -Type Success
}
}
}
}
function Disable-AdobeScheduledTasks {
Write-Status 'Disabling Adobe scheduled tasks' -Type Header
$allTasks = Get-ScheduledTask -ErrorAction SilentlyContinue | Where-Object {
$_.TaskName -like '*Adobe*' -or $_.TaskPath -like '*Adobe*'
}
if (-not $allTasks) {
Write-Status 'No Adobe scheduled tasks found' -Type Warning
return
}
foreach ($task in $allTasks) {
try {
$task | Disable-ScheduledTask -ErrorAction Stop | Out-Null
Write-Status "Disabled task: $($task.TaskName)" -Type Success
} catch {
Write-Status "Failed to disable task: $($task.TaskName) - $($_.Exception.Message)" -Type Error
}
}
}
function Disable-AdobeServices {
Write-Status 'Disabling Adobe telemetry services' -Type Header
foreach ($svcName in $Services) {
$svc = Get-Service -Name $svcName -ErrorAction SilentlyContinue
if ($svc) {
if ($svc.Status -eq 'Running') {
Stop-Service -Name $svcName -Force -ErrorAction SilentlyContinue
}
Set-Service -Name $svcName -StartupType Disabled -ErrorAction SilentlyContinue
Write-Status "Disabled service: $svcName ($($svc.DisplayName))" -Type Success
} else {
Write-Status "Service not found: $svcName" -Type Warning
}
}
}
function Set-AdobeRegistryPolicies {
Write-Status 'Setting registry policies to disable telemetry' -Type Header
$regPaths = @(
@{
Path = 'HKLM:\SOFTWARE\Policies\Adobe\Common\Enterprise'
Values = @{
'DisableUsageData' = 1
'DisableFileSync' = 1
'DisableAutoupdates' = 1
'DisableCCDesktop' = 0 # Keep CC app functional, just kill telemetry
}
},
@{
Path = 'HKLM:\SOFTWARE\Policies\Adobe\CCXNew'
Values = @{
'DisableGrowth' = 1
}
},
@{
Path = 'HKLM:\SOFTWARE\Adobe\Adobe Genuine Service'
Values = @{
'AgsDisabled' = 1
}
},
@{
Path = 'HKCU:\SOFTWARE\Adobe\CommonFiles\UsageCC'
Values = @{
'AUSUF' = 0 # Disable usage framework
}
}
)
foreach ($entry in $regPaths) {
if (-not (Test-Path $entry.Path)) {
New-Item -Path $entry.Path -Force | Out-Null
}
foreach ($name in $entry.Values.Keys) {
$val = $entry.Values[$name]
Set-ItemProperty -Path $entry.Path -Name $name -Value $val -Type DWord -Force
Write-Status "Set $($entry.Path)\$name = $val" -Type Success
}
}
}
function Block-AdobeFirewall {
Write-Status 'Creating firewall rules to block Adobe telemetry' -Type Header
# Remove existing rules from a previous run
$existing = Get-NetFirewallRule -DisplayName 'Block Adobe Telemetry*' -ErrorAction SilentlyContinue
if ($existing) {
$existing | Remove-NetFirewallRule -ErrorAction SilentlyContinue
Write-Status 'Removed previous firewall rules' -Type Info
}
# Block outbound to telemetry domains by resolving IPs
$resolvedIPs = @()
foreach ($domain in $TelemetryDomains) {
try {
$ips = [System.Net.Dns]::GetHostAddresses($domain) |
Where-Object { $_.AddressFamily -eq 'InterNetwork' } |
Select-Object -ExpandProperty IPAddressToString
if ($ips) { $resolvedIPs += $ips }
} catch {
# Domain may not resolve - that's fine
}
}
$resolvedIPs = $resolvedIPs | Sort-Object -Unique
if ($resolvedIPs.Count -gt 0) {
New-NetFirewallRule -DisplayName 'Block Adobe Telemetry - Outbound IPs' `
-Direction Outbound `
-Action Block `
-RemoteAddress $resolvedIPs `
-Protocol TCP `
-Profile Any `
-Enabled True `
-Description 'Blocks outbound connections to Adobe telemetry/analytics servers.' |
Out-Null
Write-Status "Blocked $($resolvedIPs.Count) telemetry IPs via firewall" -Type Success
} else {
Write-Status 'Could not resolve any telemetry domains (offline?)' -Type Warning
}
# Also block known Adobe telemetry executables
$adobeExePaths = @(
"$env:ProgramFiles\Common Files\Adobe\OOBE\PDApp\core\PDApp.exe"
"$env:ProgramFiles\Common Files\Adobe\AdobeGCClient\AdobeGCClient.exe"
"$env:ProgramFiles\Common Files\Adobe\OOBE\PDApp\UWA\UpdaterStartupUtility.exe"
"${env:ProgramFiles(x86)}\Common Files\Adobe\OOBE\PDApp\core\PDApp.exe"
"${env:ProgramFiles(x86)}\Common Files\Adobe\AdobeGCClient\AdobeGCClient.exe"
)
$ruleCount = 0
foreach ($exePath in $adobeExePaths) {
if (Test-Path $exePath) {
$exeName = Split-Path $exePath -Leaf
New-NetFirewallRule -DisplayName "Block Adobe Telemetry - $exeName" `
-Direction Outbound `
-Action Block `
-Program $exePath `
-Profile Any `
-Enabled True `
-Description "Blocks $exeName from reaching Adobe analytics servers." |
Out-Null
$ruleCount++
}
}
if ($ruleCount -gt 0) {
Write-Status "Blocked $ruleCount Adobe executables via firewall" -Type Success
} else {
Write-Status 'No known Adobe telemetry executables found on disk' -Type Warning
}
}
function Block-AdobeHostsFile {
Write-Status 'Blocking Adobe telemetry via hosts file' -Type Header
$hostsPath = "$env:SystemRoot\System32\drivers\etc\hosts"
$marker = '# --- Adobe Telemetry Block (Disable-AdobeTelemetry.ps1) ---'
$endMarker = '# --- End Adobe Telemetry Block ---'
$hostsContent = Get-Content $hostsPath -Raw -ErrorAction SilentlyContinue
# Remove previous block if it exists
if ($hostsContent -match [regex]::Escape($marker)) {
$pattern = "(?s)$([regex]::Escape($marker)).*?$([regex]::Escape($endMarker))\r?\n?"
$hostsContent = $hostsContent -replace $pattern, ''
Set-Content -Path $hostsPath -Value $hostsContent.TrimEnd() -Force -Encoding ASCII
}
# Append new block
$blockEntries = @($marker)
foreach ($domain in $TelemetryDomains) {
$blockEntries += "0.0.0.0 $domain"
}
$blockEntries += $endMarker
$newBlock = "`r`n" + ($blockEntries -join "`r`n") + "`r`n"
Add-Content -Path $hostsPath -Value $newBlock -Encoding ASCII
Write-Status "Added $($TelemetryDomains.Count) domains to hosts file" -Type Success
}
function Disable-CCXProcess {
Write-Status 'Permanently neutralizing CCXProcess' -Type Header
$ccxPaths = @(
"$env:ProgramFiles\Adobe\Adobe Creative Cloud Experience"
"${env:ProgramFiles(x86)}\Adobe\Adobe Creative Cloud Experience"
)
foreach ($ccxDir in $ccxPaths) {
if (-not (Test-Path $ccxDir)) { continue }
$ccxExe = Join-Path $ccxDir 'CCXProcess.exe'
if (-not (Test-Path $ccxExe)) { continue }
# Kill it first
Get-Process -Name 'CCXProcess' -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
Start-Sleep -Milliseconds 500
# Rename the executable so Adobe apps can't launch it
$backupName = Join-Path $ccxDir 'CCXProcess.exe.disabled'
if (Test-Path $ccxExe) {
try {
Rename-Item -Path $ccxExe -NewName 'CCXProcess.exe.disabled' -Force -ErrorAction Stop
Write-Status "Renamed CCXProcess.exe -> CCXProcess.exe.disabled in $ccxDir" -Type Success
} catch {
Write-Status "Rename failed (file locked?) - applying ACL deny instead" -Type Warning
# If rename fails (file locked), strip execute permissions instead
try {
$acl = Get-Acl $ccxExe
$denyRule = New-Object System.Security.AccessControl.FileSystemAccessRule(
'Everyone', 'ReadAndExecute,ExecuteFile', 'Deny'
)
$acl.AddAccessRule($denyRule)
Set-Acl -Path $ccxExe -AclObject $acl
Write-Status "Denied execute permissions on CCXProcess.exe in $ccxDir" -Type Success
} catch {
Write-Status "Could not modify CCXProcess.exe - try after closing all Adobe apps" -Type Error
}
}
}
# Also handle the Node.js helper that CCXProcess spawns
$nodeExe = Join-Path $ccxDir 'libs\node.exe'
if (Test-Path $nodeExe) {
try {
Rename-Item -Path $nodeExe -NewName 'node.exe.disabled' -Force -ErrorAction Stop
Write-Status "Renamed CCX node.exe -> node.exe.disabled" -Type Success
} catch {
Write-Status "CCX node.exe rename failed (may be locked)" -Type Warning
}
}
}
# IFEO debugger redirect as a fallback - if anything tries to launch
# CCXProcess.exe, Windows redirects it to a nonexistent debugger and it dies
$ifeoPath = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CCXProcess.exe'
if (-not (Test-Path $ifeoPath)) {
New-Item -Path $ifeoPath -Force | Out-Null
}
Set-ItemProperty -Path $ifeoPath -Name 'Debugger' -Value 'nul' -Type String -Force
Write-Status 'Set IFEO debugger redirect for CCXProcess.exe (failsafe)' -Type Success
# Block it in firewall by program path (in case it ever gets restored)
foreach ($ccxDir in $ccxPaths) {
$ccxExe = Join-Path $ccxDir 'CCXProcess.exe'
$disabledExe = Join-Path $ccxDir 'CCXProcess.exe.disabled'
$targetExe = if (Test-Path $ccxExe) { $ccxExe } elseif (Test-Path $disabledExe) { $ccxExe } else { $null }
if ($targetExe) {
# Create rule against original path in case it gets restored
New-NetFirewallRule -DisplayName "Block Adobe Telemetry - CCXProcess ($ccxDir)" `
-Direction Outbound `
-Action Block `
-Program $ccxExe `
-Profile Any `
-Enabled True `
-Description 'Prevents CCXProcess from phoning home even if restored.' |
Out-Null
Write-Status "Firewall rule added for CCXProcess in $ccxDir" -Type Success
}
}
}
function Disable-AdobeIPCBroker {
Write-Status 'Restricting AdobeIPCBroker (firewall only - required for app launch)' -Type Header
# NOTE: AdobeIPCBroker.exe is required for Premiere/Photoshop to start.
# Renaming or blocking execution breaks Adobe apps entirely.
# Instead we firewall it so it handles local IPC but cannot phone home.
$ipcPaths = @(
"$env:ProgramFiles\Common Files\Adobe\Adobe Desktop Common\IPCBox"
"${env:ProgramFiles(x86)}\Common Files\Adobe\Adobe Desktop Common\IPCBox"
)
foreach ($ipcDir in $ipcPaths) {
if (-not (Test-Path $ipcDir)) { continue }
$ipcExe = Join-Path $ipcDir 'AdobeIPCBroker.exe'
if (-not (Test-Path $ipcExe)) {
# Check if a previous run renamed it - restore it
$disabledExe = Join-Path $ipcDir 'AdobeIPCBroker.exe.disabled'
if (Test-Path $disabledExe) {
Rename-Item -Path $disabledExe -NewName 'AdobeIPCBroker.exe' -Force -ErrorAction SilentlyContinue
Write-Status "Restored previously disabled AdobeIPCBroker.exe in $ipcDir" -Type Success
$ipcExe = Join-Path $ipcDir 'AdobeIPCBroker.exe'
} else {
continue
}
}
# Remove any deny ACLs from a previous run
try {
$acl = Get-Acl $ipcExe
$removedRule = $false
foreach ($rule in $acl.Access) {
if ($rule.AccessControlType -eq 'Deny' -and
$rule.IdentityReference.Value -eq 'Everyone') {
$acl.RemoveAccessRule($rule) | Out-Null
$removedRule = $true
}
}
if ($removedRule) {
Set-Acl -Path $ipcExe -AclObject $acl
Write-Status "Removed previous deny ACL from AdobeIPCBroker.exe" -Type Success
}
} catch { }
# Firewall rule - block outbound only (local IPC still works)
New-NetFirewallRule -DisplayName "Block Adobe Telemetry - AdobeIPCBroker ($ipcDir)" `
-Direction Outbound `
-Action Block `
-Program $ipcExe `
-Profile Any `
-Enabled True `
-Description 'Blocks AdobeIPCBroker outbound telemetry while allowing local IPC.' |
Out-Null
Write-Status "Firewall rule added for AdobeIPCBroker in $ipcDir" -Type Success
}
# Remove IFEO redirect if set by a previous run
$ifeoPath = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\AdobeIPCBroker.exe'
if (Test-Path $ifeoPath) {
Remove-Item -Path $ifeoPath -Recurse -Force -ErrorAction SilentlyContinue
Write-Status 'Removed previous IFEO redirect for AdobeIPCBroker.exe' -Type Success
}
Write-Status 'AdobeIPCBroker.exe left functional (firewalled outbound only)' -Type Info
}
function Disable-AdobeStartupEntries {
Write-Status 'Disabling Adobe startup/run entries' -Type Header
$runPaths = @(
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
)
foreach ($runPath in $runPaths) {
if (-not (Test-Path $runPath)) { continue }
$props = Get-ItemProperty $runPath -ErrorAction SilentlyContinue
foreach ($name in $props.PSObject.Properties.Name) {
if ($name -match 'Adobe|CCXProcess|AdobeGC|AdobeAAM') {
$val = $props.$name
# Prefix with REM to disable without deleting
if ($val -notlike 'REM *') {
Set-ItemProperty -Path $runPath -Name $name -Value "REM $val" -Force
Write-Status "Disabled startup entry: $name" -Type Success
} else {
Write-Status "Already disabled: $name" -Type Warning
}
}
}
}
}
function Disable-AcrobatTelemetry {
Write-Status 'Disabling Adobe Acrobat telemetry via registry' -Type Header
$acrobatPolicies = @(
@{
Path = 'HKCU:\SOFTWARE\Adobe\Adobe Acrobat\DC\AVAlert\cCheckbox'
Values = @{ 'iAcro498' = 1 }
},
@{
Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown'
Values = @{ 'bUsageMeasurement' = 0 }
},
@{
Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'
Values = @{
'bToggleAdobeSign' = 1
'bTogglePrefsSync' = 1
'bToggleWebConnectors' = 1
'bAdobeSendPluginToggle' = 1
}
}
)
foreach ($entry in $acrobatPolicies) {
if (-not (Test-Path $entry.Path)) {
New-Item -Path $entry.Path -Force | Out-Null
}
foreach ($name in $entry.Values.Keys) {
$val = $entry.Values[$name]
Set-ItemProperty -Path $entry.Path -Name $name -Value $val -Type DWord -Force
Write-Status "Set $($entry.Path)\$name = $val" -Type Success
}
}
}
# ── Undo Function ────────────────────────────────────────────────────────────
function Invoke-Undo {
Write-Status 'UNDO - Reversing all telemetry blocks' -Type Header
# 1. Re-enable disabled services
Write-Status 'Re-enabling Adobe services' -Type Header
foreach ($svcName in $Services) {
$svc = Get-Service -Name $svcName -ErrorAction SilentlyContinue
if ($svc) {
Set-Service -Name $svcName -StartupType Manual -ErrorAction SilentlyContinue
Write-Status "Re-enabled service: $svcName (set to Manual)" -Type Success
} else {
Write-Status "Service not found: $svcName" -Type Warning
}
}
# 2. Re-enable disabled scheduled tasks
Write-Status 'Re-enabling Adobe scheduled tasks' -Type Header
$allTasks = Get-ScheduledTask -ErrorAction SilentlyContinue | Where-Object {
($_.TaskName -like '*Adobe*' -or $_.TaskPath -like '*Adobe*') -and
$_.State -eq 'Disabled'
}
if ($allTasks) {
foreach ($task in $allTasks) {
try {
$task | Enable-ScheduledTask -ErrorAction Stop | Out-Null
Write-Status "Re-enabled task: $($task.TaskName)" -Type Success
} catch {
Write-Status "Failed to re-enable task: $($task.TaskName)" -Type Error
}
}
} else {
Write-Status 'No disabled Adobe tasks found' -Type Warning
}
# 3. Remove firewall rules with "Block Adobe Telemetry" in display name
Write-Status 'Removing Adobe telemetry firewall rules' -Type Header
$fwRules = Get-NetFirewallRule -DisplayName 'Block Adobe Telemetry*' -ErrorAction SilentlyContinue
if ($fwRules) {
$fwRules | Remove-NetFirewallRule -ErrorAction SilentlyContinue
Write-Status "Removed $(@($fwRules).Count) firewall rule(s)" -Type Success
} else {
Write-Status 'No Adobe telemetry firewall rules found' -Type Warning
}
# 4. Remove hosts file block (between markers)
Write-Status 'Removing hosts file telemetry block' -Type Header
$hostsPath = "$env:SystemRoot\System32\drivers\etc\hosts"
$marker = '# --- Adobe Telemetry Block (Disable-AdobeTelemetry.ps1) ---'
$endMarker = '# --- End Adobe Telemetry Block ---'
$hostsContent = Get-Content $hostsPath -Raw -ErrorAction SilentlyContinue
if ($hostsContent -and $hostsContent -match [regex]::Escape($marker)) {
$pattern = "(?s)\r?\n?$([regex]::Escape($marker)).*?$([regex]::Escape($endMarker))\r?\n?"
$hostsContent = $hostsContent -replace $pattern, ''
Set-Content -Path $hostsPath -Value $hostsContent.TrimEnd() -Force -Encoding ASCII
Write-Status 'Removed Adobe telemetry block from hosts file' -Type Success
} else {
Write-Status 'No Adobe block found in hosts file' -Type Warning
}
# 5. Remove IFEO debugger entries for CCXProcess.exe
Write-Status 'Removing IFEO debugger redirects' -Type Header
$ifeoPath = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CCXProcess.exe'
if (Test-Path $ifeoPath) {
Remove-Item -Path $ifeoPath -Recurse -Force -ErrorAction SilentlyContinue
Write-Status 'Removed IFEO redirect for CCXProcess.exe' -Type Success
} else {
Write-Status 'No IFEO redirect found for CCXProcess.exe' -Type Warning
}
# 6. Restore CCXProcess.exe.disabled back to CCXProcess.exe
Write-Status 'Restoring renamed executables' -Type Header
$ccxPaths = @(
"$env:ProgramFiles\Adobe\Adobe Creative Cloud Experience"
"${env:ProgramFiles(x86)}\Adobe\Adobe Creative Cloud Experience"
)
foreach ($ccxDir in $ccxPaths) {
if (-not (Test-Path $ccxDir)) { continue }
$disabledExe = Join-Path $ccxDir 'CCXProcess.exe.disabled'
if (Test-Path $disabledExe) {
try {
Rename-Item -Path $disabledExe -NewName 'CCXProcess.exe' -Force -ErrorAction Stop
Write-Status "Restored CCXProcess.exe in $ccxDir" -Type Success
} catch {
Write-Status "Failed to restore CCXProcess.exe in $ccxDir" -Type Error
}
}
$disabledNode = Join-Path $ccxDir 'libs\node.exe.disabled'
if (Test-Path $disabledNode) {
try {
Rename-Item -Path $disabledNode -NewName 'node.exe' -Force -ErrorAction Stop
Write-Status "Restored node.exe in $ccxDir\libs" -Type Success
} catch {
Write-Status "Failed to restore node.exe in $ccxDir\libs" -Type Error
}
}
# Remove deny ACLs from CCXProcess.exe if present
$ccxExe = Join-Path $ccxDir 'CCXProcess.exe'
if (Test-Path $ccxExe) {
try {
$acl = Get-Acl $ccxExe
$changed = $false
foreach ($rule in @($acl.Access)) {
if ($rule.AccessControlType -eq 'Deny' -and
$rule.IdentityReference.Value -eq 'Everyone') {
$acl.RemoveAccessRule($rule) | Out-Null
$changed = $true
}
}
if ($changed) {
Set-Acl -Path $ccxExe -AclObject $acl
Write-Status "Removed deny ACL from CCXProcess.exe in $ccxDir" -Type Success
}
} catch { }
}
}
# 7. Remove deny ACLs from GrowthSDK blocker files
Write-Status 'Removing GrowthSDK blocker files' -Type Header
$profileRoot = Split-Path $env:USERPROFILE
$profiles = Get-ChildItem $profileRoot -Directory -ErrorAction SilentlyContinue
foreach ($profile in $profiles) {
$localLow = Join-Path $profile.FullName 'AppData\LocalLow'
if (-not (Test-Path $localLow)) { continue }
$growthDir = Join-Path $localLow $GrowthSDKRelPath
if (Test-Path $growthDir -PathType Leaf) {
try {
# Remove deny ACL first so we can delete
$acl = Get-Acl $growthDir
foreach ($rule in @($acl.Access)) {
if ($rule.AccessControlType -eq 'Deny') {
$acl.RemoveAccessRule($rule) | Out-Null
}
}
Set-Acl -Path $growthDir -AclObject $acl
# Remove readonly/system/hidden attributes
Set-ItemProperty -Path $growthDir -Name Attributes -Value 'Normal'
Remove-Item -Path $growthDir -Force -ErrorAction Stop
Write-Status "Removed GrowthSDK blocker for $($profile.Name)" -Type Success
} catch {
Write-Status "Failed to remove GrowthSDK blocker for $($profile.Name)" -Type Error
}
}
}
# 8. Remove registry policy overrides
Write-Status 'Removing registry policy overrides' -Type Header
$regPathsToRemove = @(
'HKLM:\SOFTWARE\Policies\Adobe\Common\Enterprise'
'HKLM:\SOFTWARE\Policies\Adobe\CCXNew'
'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'
'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown'
)
foreach ($regPath in $regPathsToRemove) {
if (Test-Path $regPath) {
Remove-Item -Path $regPath -Recurse -Force -ErrorAction SilentlyContinue
Write-Status "Removed $regPath" -Type Success
}
}
# Remove specific values rather than whole keys for non-policy paths
$specificValues = @(
@{ Path = 'HKLM:\SOFTWARE\Adobe\Adobe Genuine Service'; Name = 'AgsDisabled' },
@{ Path = 'HKCU:\SOFTWARE\Adobe\CommonFiles\UsageCC'; Name = 'AUSUF' },
@{ Path = 'HKCU:\SOFTWARE\Adobe\Adobe Acrobat\DC\AVAlert\cCheckbox'; Name = 'iAcro498' }
)
foreach ($sv in $specificValues) {
if (Test-Path $sv.Path) {
Remove-ItemProperty -Path $sv.Path -Name $sv.Name -Force -ErrorAction SilentlyContinue
Write-Status "Removed $($sv.Path)\$($sv.Name)" -Type Success
}
}
# 9. Re-enable startup entries (remove "REM " prefix)
Write-Status 'Re-enabling Adobe startup entries' -Type Header
$runPaths = @(
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
)
foreach ($runPath in $runPaths) {
if (-not (Test-Path $runPath)) { continue }
$props = Get-ItemProperty $runPath -ErrorAction SilentlyContinue
foreach ($name in $props.PSObject.Properties.Name) {
if ($name -match 'Adobe|CCXProcess|AdobeGC|AdobeAAM') {
$val = $props.$name
if ($val -like 'REM *') {
$restored = $val -replace '^REM ', ''
Set-ItemProperty -Path $runPath -Name $name -Value $restored -Force
Write-Status "Re-enabled startup entry: $name" -Type Success
}
}
}
}
Write-Status 'Undo Complete' -Type Header
Write-Host ' All Adobe telemetry blocks have been reversed.' -ForegroundColor Green
Write-Host ' A reboot is recommended to ensure all changes take effect.' -ForegroundColor Yellow
Write-Host ''
}
# ── Status Function ──────────────────────────────────────────────────────────
function Show-Status {
Write-Status 'Adobe Telemetry Status Report' -Type Header
Write-Host ''
# Services
Write-Host ' --- Services ---' -ForegroundColor Cyan
foreach ($svcName in $Services) {
$svc = Get-Service -Name $svcName -ErrorAction SilentlyContinue
if ($svc) {
$startType = (Get-WmiObject Win32_Service -Filter "Name='$svcName'" -ErrorAction SilentlyContinue).StartMode
Write-Host " $svcName : $($svc.Status) ($startType)" -ForegroundColor $(if ($svc.Status -eq 'Stopped' -or $startType -eq 'Disabled') { 'Green' } else { 'Red' })
} else {
Write-Host " $svcName : NotFound" -ForegroundColor DarkGray
}
}
# Scheduled Tasks
Write-Host ''
Write-Host ' --- Scheduled Tasks ---' -ForegroundColor Cyan
$allTasks = Get-ScheduledTask -ErrorAction SilentlyContinue | Where-Object {
$_.TaskName -like '*Adobe*' -or $_.TaskPath -like '*Adobe*'
}
if ($allTasks) {
foreach ($task in $allTasks) {
$color = if ($task.State -eq 'Disabled') { 'Green' } else { 'Red' }
Write-Host " $($task.TaskName) : $($task.State)" -ForegroundColor $color
}
} else {
Write-Host ' No Adobe scheduled tasks found' -ForegroundColor DarkGray
}
# GrowthSDK
Write-Host ''
Write-Host ' --- GrowthSDK ---' -ForegroundColor Cyan
$profileRoot = Split-Path $env:USERPROFILE
$profiles = Get-ChildItem $profileRoot -Directory -ErrorAction SilentlyContinue
foreach ($profile in $profiles) {
$localLow = Join-Path $profile.FullName 'AppData\LocalLow'
if (-not (Test-Path $localLow)) { continue }
$growthDir = Join-Path $localLow $GrowthSDKRelPath
if (Test-Path $growthDir -PathType Leaf) {
Write-Host " $($profile.Name) : Blocked (decoy file)" -ForegroundColor Green
} elseif (Test-Path $growthDir -PathType Container) {
Write-Host " $($profile.Name) : Present (ACTIVE)" -ForegroundColor Red
} else {
Write-Host " $($profile.Name) : NotFound" -ForegroundColor DarkGray
}
}
# Firewall Rules
Write-Host ''
Write-Host ' --- Firewall Rules ---' -ForegroundColor Cyan
$fwRules = Get-NetFirewallRule -DisplayName 'Block Adobe Telemetry*' -ErrorAction SilentlyContinue
$count = if ($fwRules) { @($fwRules).Count } else { 0 }
$fwColor = if ($count -gt 0) { 'Green' } else { 'Yellow' }
Write-Host " Adobe telemetry block rules: $count" -ForegroundColor $fwColor
# Hosts File
Write-Host ''
Write-Host ' --- Hosts File ---' -ForegroundColor Cyan
$hostsPath = "$env:SystemRoot\System32\drivers\etc\hosts"
$marker = '# --- Adobe Telemetry Block (Disable-AdobeTelemetry.ps1) ---'
$hostsContent = Get-Content $hostsPath -Raw -ErrorAction SilentlyContinue
if ($hostsContent -and $hostsContent -match [regex]::Escape($marker)) {
Write-Host ' Adobe telemetry block: Present' -ForegroundColor Green
} else {
Write-Host ' Adobe telemetry block: Not present' -ForegroundColor Yellow
}
# IFEO
Write-Host ''
Write-Host ' --- IFEO Redirects ---' -ForegroundColor Cyan
$ifeoPath = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CCXProcess.exe'
if (Test-Path $ifeoPath) {
$debugger = (Get-ItemProperty -Path $ifeoPath -Name 'Debugger' -ErrorAction SilentlyContinue).Debugger
if ($debugger) {
Write-Host " CCXProcess.exe IFEO: Active (Debugger=$debugger)" -ForegroundColor Green
} else {
Write-Host ' CCXProcess.exe IFEO: Key exists but no Debugger value' -ForegroundColor Yellow
}
} else {
Write-Host ' CCXProcess.exe IFEO: Not set' -ForegroundColor Yellow
}
# Registry Policies
Write-Host ''
Write-Host ' --- Registry Policies ---' -ForegroundColor Cyan
$regChecks = @(
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Common\Enterprise'; Name = 'DisableUsageData'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Common\Enterprise'; Name = 'DisableFileSync'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Common\Enterprise'; Name = 'DisableAutoupdates'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\CCXNew'; Name = 'DisableGrowth'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Adobe\Adobe Genuine Service'; Name = 'AgsDisabled'; Expected = 1 },
@{ Path = 'HKCU:\SOFTWARE\Adobe\CommonFiles\UsageCC'; Name = 'AUSUF'; Expected = 0 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown'; Name = 'bUsageMeasurement'; Expected = 0 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'; Name = 'bToggleAdobeSign'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'; Name = 'bTogglePrefsSync'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'; Name = 'bToggleWebConnectors'; Expected = 1 },
@{ Path = 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cServices'; Name = 'bAdobeSendPluginToggle'; Expected = 1 }
)
foreach ($check in $regChecks) {
$shortPath = $check.Path -replace '^HKLM:\\SOFTWARE\\', 'HKLM\..\' -replace '^HKCU:\\SOFTWARE\\', 'HKCU\..\'
if (Test-Path $check.Path) {
$val = (Get-ItemProperty -Path $check.Path -Name $check.Name -ErrorAction SilentlyContinue).($check.Name)
if ($null -ne $val) {
$color = if ($val -eq $check.Expected) { 'Green' } else { 'Red' }
Write-Host " $($check.Name) = $val (expected $($check.Expected))" -ForegroundColor $color
} else {
Write-Host " $($check.Name) : Not set" -ForegroundColor Yellow
}
} else {
Write-Host " $($check.Name) : Path not found" -ForegroundColor Yellow
}
}
# Startup entries
Write-Host ''
Write-Host ' --- Startup Entries ---' -ForegroundColor Cyan
$runPaths = @(
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
)
$foundStartup = $false
foreach ($runPath in $runPaths) {
if (-not (Test-Path $runPath)) { continue }
$props = Get-ItemProperty $runPath -ErrorAction SilentlyContinue
foreach ($name in $props.PSObject.Properties.Name) {
if ($name -match 'Adobe|CCXProcess|AdobeGC|AdobeAAM') {
$val = $props.$name
$foundStartup = $true
if ($val -like 'REM *') {
Write-Host " $name : Disabled" -ForegroundColor Green
} else {
Write-Host " $name : Enabled (ACTIVE)" -ForegroundColor Red
}
}
}
}
if (-not $foundStartup) {
Write-Host ' No Adobe startup entries found' -ForegroundColor DarkGray
}
Write-Host ''
}
# ── Main Execution ──────────────────────────────────────────────────────────────
Write-Host ''
Write-Host ' =============================================' -ForegroundColor Cyan
Write-Host ' Disable-AdobeTelemetry v1.1.0' -ForegroundColor White
Write-Host ' Comprehensive Adobe GrowthSDK + Telemetry' -ForegroundColor White
Write-Host ' Removal and Blocking Utility' -ForegroundColor White
Write-Host ' =============================================' -ForegroundColor Cyan
# Initialize log
$logHeader = "$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss') - Disable-AdobeTelemetry v1.1.0 started"
if ($Undo) { $logHeader += ' (UNDO mode)' }
if ($StatusOnly) { $logHeader += ' (STATUS mode)' }
Add-Content -Path $script:LogFile -Value $logHeader -ErrorAction SilentlyContinue
if ($StatusOnly) {
Show-Status
exit 0