Last active
June 24, 2025 10:00
-
-
Save Ciantic/76ade5f2731cbe87b70d17ff28986c84 to your computer and use it in GitHub Desktop.
Stop ASUS services automatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EDIT: There is more comprehensive debloat instructions here: https://github.com/sammilucia/ASUS-G14-Debloating/blob/main/README.md | |
# Get services starting with "Asus*" to a variable | |
$services = Get-Service -Name "Asus*" | |
# Stop services | |
foreach ($service in $services) { | |
# Print service | |
Write-Host "STOP" $service.Name | |
Stop-Service -Name $service.Name | |
} | |
# Disable services | |
foreach ($service in $services) { | |
# Print service | |
Write-Host "DISABLE" $service.Name | |
Set-Service -Name $service.Name -StartupType Disabled | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.