Disable server role usage data collection
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Minimum
System Functionality / Data Loss Risk: Low
This action improves privacy with minimal impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the "ServerRoleUsageCollector" scheduled task.
The task tracks the types and frequency of server role usage. A server role is a combination of software components that allow the server to perform specific functions for users and other computers on a network 1.
This task is located at \Microsoft\Windows\Customer Experience Improvement Program\Server\ServerRoleUsageCollector
2 3 4.
The task runs %SYSTEMROOT%\System32\ceipdata.exe -roleusage
2 3.
Microsoft describes ceipdata.exe
as part of the "Windows Server Customer Experience Improvement Program" 3 4 5.
Disabling this task protects your privacy by stopping a CEIP data collection process. It also improves system performance. The Citrix optimization guide recommends disabling this task to enhance system performance 6.
Originally introduced in Windows Server 2008 4, this task is absent in desktop Windows versions.
Overview of default task statuses
\Microsoft\Windows\Customer Experience Improvement Program\Server\ServerRoleUsageCollector
:
OS Version | Default status |
---|---|
Windows Server 2022 21H2 | 🟡 N/A (missing) |
Windows 10 Pro 21H2 | 🟡 N/A (missing) |
Windows 11 Pro 22H2 | 🟡 N/A (missing) |
Sources
- 7. Configuring Roles, Role Services, and Features - Windows Server® 2008 Inside Out [Book]. oreilly.com. (2023).
Original: https://www.oreilly.com/library/view/windows-server-2008/9780735624382/ch07.html
Archived: https://web.archive.org/web/20231021142524/https://www.oreilly.com/library/view/windows-server-2008/9780735624382/ch07.html - lccIR Demo Records 5: Task Schedulers. Lower Columbia College. lowercolumbia.edu. (2023).
Original: https://services4.lowercolumbia.edu/demo/projectlid/lccInvestigateRecords/lccIR-demoRecords5.xtm
Archived: https://web.archive.org/web/20231021141045/https://services4.lowercolumbia.edu/demo/projectlid/lccInvestigateRecords/lccIR-demoRecords5.xtm - Warroom-bot/Script/tasks.csv at master · montri789/Warroom-bot. github.com. (2023).
Original: https://raw.githubusercontent.com/montri789/Warroom-bot/master/Script/tasks.csv
Archived: https://web.archive.org/web/20231021140624/https://raw.githubusercontent.com/montri789/Warroom-bot/master/Script/tasks.csv - Windows: некоторые tasks (задачи) по-умолчанию, которые желательно выключить - RUSLAN NOVIKOV - Full Stack Developer /Chief Technology Officer (CTO). novikov.ua. (2023).
Original: https://novikov.ua/windows-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-tasks-%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8-%D0%BF%D0%BE-%D1%83%D0%BC%D0%BE%D0%BB%D1%87%D0%B0%D0%BD%D0%B8%D1%8E-%D0%BA%D0%BE%D1%82
Archived: https://web.archive.org/web/20231021140830/https://novikov.ua/windows-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-tasks-%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8-%D0%BF%D0%BE-%D1%83%D0%BC%D0%BE%D0%BB%D1%87%D0%B0%D0%BD%D0%B8%D1%8E-%D0%BA%D0%BE%D1%82/ - ceipdata.exe. Windows Server Customer Experience Improvement Program. STRONTIC. strontic.github.io. (2023).
Original: https://strontic.github.io/xcyclopedia/library/ceipdata.exe-938465C81CB9D2026CE8F4B97D30AF26.html
Archived: https://web.archive.org/web/20231021140905/https://strontic.github.io/xcyclopedia/library/ceipdata.exe-938465C81CB9D2026CE8F4B97D30AF26.html - Windows 2008 R2 Optimization Guide - For Desktop Virtualization with XenApp 6 / 6.5. Citrix. spiceworks.com. (2023).
Original: https://static.spiceworks.com/attachments/post/0016/8802/XA_-_Windows_2008_R2_Optimization_Guide.pdf
Archived: https://web.archive.org/web/20231021141013/https://static.spiceworks.com/attachments/post/0016/8802/XA_-_Windows_2008_R2_Optimization_Guide.pdf
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable server role usage data collection" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable server role usage data collection" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable server role usage data collection
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Disable scheduled task(s): `\Microsoft\Windows\Customer Experience Improvement Program\Server\ServerRoleUsageCollector`
PowerShell -ExecutionPolicy Unrestricted -Command "$taskPathPattern='\Microsoft\Windows\Customer Experience Improvement Program\Server\'; $taskNamePattern='ServerRoleUsageCollector'; Write-Output "^""Disabling tasks matching pattern `"^""$taskNamePattern`"^""."^""; $tasks = @(Get-ScheduledTask -TaskPath $taskPathPattern -TaskName $taskNamePattern -ErrorAction Ignore); if (-Not $tasks) { Write-Output "^""Skipping, no tasks matching pattern `"^""$taskNamePattern`"^"" found, no action needed."^""; exit 0; }; $operationFailed = $false; foreach ($task in $tasks) { $taskName = $task.TaskName; if ($task.State -eq [Microsoft.PowerShell.Cmdletization.GeneratedTypes.ScheduledTask.StateEnum]::Disabled) { Write-Output "^""Skipping, task `"^""$taskName`"^"" is already disabled, no action needed."^""; continue; }; try { $task | Disable-ScheduledTask -ErrorAction Stop | Out-Null; Write-Output "^""Successfully disabled task `"^""$taskName`"^""."^""; } catch { Write-Error "^""Failed to disable task `"^""$taskName`"^"": $($_.Exception.Message)"^""; $operationFailed = $true; }; }; if ($operationFailed) { Write-Output 'Failed to disable some tasks. Check error messages above.'; exit 1; }"
Ijo6IFJlc3RvcmUgc2NoZWR1bGVkIHRhc2socykgdG8gZGVmYXVsdCBzdGF0ZTogYFxcTWljcm9zb2Z0XFxXaW5kb3dzXFxDdXN0b21lciBFeHBlcmllbmNlIEltcHJvdmVtZW50IFByb2dyYW1cXFNlcnZlclxcU2VydmVyUm9sZVVzYWdlQ29sbGVjdG9yYFxuUG93ZXJTaGVsbCAtRXhlY3V0aW9uUG9saWN5IFVucmVzdHJpY3RlZCAtQ29tbWFuZCBcIiR0YXNrUGF0aFBhdHRlcm49J1xcTWljcm9zb2Z0XFxXaW5kb3dzXFxDdXN0b21lciBFeHBlcmllbmNlIEltcHJvdmVtZW50IFByb2dyYW1cXFNlcnZlclxcJzsgJHRhc2tOYW1lUGF0dGVybj0nU2VydmVyUm9sZVVzYWdlQ29sbGVjdG9yJzsgJHNob3VsZERpc2FibGUgPSAgJGZhbHNlOyBXcml0ZS1PdXRwdXQgXCJeXCJcIkVuYWJsaW5nIHRhc2tzIG1hdGNoaW5nIHBhdHRlcm4gYFwiXlwiXCIkdGFza05hbWVQYXR0ZXJuYFwiXlwiXCIuXCJeXCJcIjsgJHRhc2tzID0gQChHZXQtU2NoZWR1bGVkVGFzayAtVGFza1BhdGggJHRhc2tQYXRoUGF0dGVybiAtVGFza05hbWUgJHRhc2tOYW1lUGF0dGVybiAtRXJyb3JBY3Rpb24gSWdub3JlKTsgaWYgKC1Ob3QgJHRhc2tzKSB7IFdyaXRlLVdhcm5pbmcgKCBcIl5cIlwiTWlzc2luZyB0YXNrOiBDYW5ub3QgZW5hYmxlLCBubyB0YXNrcyBtYXRjaGluZyBwYXR0ZXJuIGBcIl5cIlwiJHRhc2tOYW1lUGF0dGVybmBcIl5cIlwiIGZvdW5kLlwiXlwiXCIgKyBcIl5cIlwiIFRoaXMgdGFzayBhcHBlYXJzIHRvIGJlIG5vdCBpbmNsdWRlZCB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sgLUVycm9yQWN0aW9uIFN0b3AgfCBPdXQtTnVsbDsgV3JpdGUtT3V0cHV0IFwiXlwiXCJTdWNjZXNzZnVsbHkgZGlzYWJsZWQgdGFzayBgXCJeXCJcIiR0YXNrTmFtZWBcIl5cIlwiLlwiXlwiXCI7IH0gZWxzZSB7ICR0YXNrIHwgRW5hYmxlLVNjaGVkdWxlZFRhc2sgLUVycm9yQWN0aW9uIFN0b3AgfCBPdXQtTnVsbDsgV3JpdGUtT3V0cHV0IFwiXlwiXCJTdWNjZXNzZnVsbHkgZW5hYmxlZCB0YXNrIGBcIl5cIlwiJHRhc2tOYW1lYFwiXlwiXCIuXCJeXCJcIjsgfTsgfSBjYXRjaCB7IFdyaXRlLUVycm9yIFwiXlwiXCJGYWlsZWQgdG8gcmVzdG9yZSB0YXNrIGBcIl5cIlwiJHRhc2tOYW1lYFwiXlwiXCI6ICQoJF8uRXhjZXB0aW9uLk1lc3NhZ2UpXCJeXCJcIjsgJG9wZXJhdGlvbkZhaWxlZCA9ICR0cnVlOyB9OyB9OyBpZiAoJG9wZXJhdGlvbkZhaWxlZCkgeyBXcml0ZS1PdXRwdXQgJ0ZhaWxlZCB0byByZXN0b3JlIHNvbWUgdGFza3MuIENoZWNrIGVycm9yIG1lc3NhZ2VzIGFib3ZlLic7IGV4aXQgMTsgfVwiIg==
Help
How to apply or restore "Disable server role usage data collection" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable server-specific customer experience data collection
- Disable background customer experience data collection
- Disable Customer Experience Improvement Program
- Disable OS data collection
This category includes scripts that disable specific scheduled tasks related to the Windows Server Customer Experience Improvement Program (CEIP). CEIP is a volunt...
This category includes scripts that disable scheduled tasks from the Windows Customer Experience Improvement Program (CEIP). The CEIP, designed by Microsoft, colle...
This script disables the Windows Customer Experience Improvement Program (CEIP). CEIP collects user interaction data with Windows. This includes hardware configura...
Disable OS data collection — to reduce data exposure leveraging important data privacy safeguard on Windows. What follows is, this guidance provides instructions t...
Same Goal
Other guides in Disable server-specific customer experience data collectionSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.