diff --git a/_data/navigation.json b/_data/navigation.json index bbba87f..0e39968 100644 --- a/_data/navigation.json +++ b/_data/navigation.json @@ -70,6 +70,17 @@ "guides": { "name": "Guides", "entries": { + "debloating": { + "name": "Debloating your System", + "blank": false, + "entries": { + "asus-armoury-crate": { + "name": "ASUS Armoury Crate", + "url": "guides/debloat/asus-armoury-crate/", + "blank": false + } + } + }, "recording": { "name": "High Quality Recording (in OBS Studio)", "url": "guides/obs/high-quality-recording/", diff --git a/_guides/debloat/asus-armoury-crate.html b/_guides/debloat/asus-armoury-crate.html new file mode 100644 index 0000000..d7c2cac --- /dev/null +++ b/_guides/debloat/asus-armoury-crate.html @@ -0,0 +1,112 @@ +--- +title: "Debloating: ASUS Armoury Crate" +category: Windows +tags: [Debloat,Windows,ASUS,Armoury Crate,Malware] +--- + +
As usual in the modern days, many vendors have started to ship unremovable bloatware with Windows. And unfortunately Microsoft happily forcefully installs it on your System, no matter if you blacklist the "Update" or the "Device". So we'll have to take matters into our own hands, and wrangle some semblance of control and performance back. ASUS is no exception to this, installing bloatware that behaves similar to malware.
+ +This bloatware installs a number of Services, Scheduled Tasks, and even a fake Driver. Testing revealed that removing these Services made the System significantly more responsive, and even eliminated significant frame stutters during gaming. The downside was that some of the "hardware" buttons are wired to custom keycodes, instead of actual keycodes, so they only work with the bloatware. This is an acceptable cost, as I don't really use those keys anyway.
+ +These instructions are provided with no warranty or guarantees of any kind. By using these instructions, you agree that you are responsible for all damages resulting from following these instructions. To be on the safe side, you should make a backup of critical data - everything is possible.
+ +It is relatively simple to disable the components of the bloatware, thereby rendering it effectively useless. This solution has the same effect as removing it fully, and will not trigger Windows Update to reinstall it. Additionally this way things can be somewhat reverted if you ever decide you need this bloatware again.
+ +As usual with debloating, first remove the Software and all its side-components normally. This prevents files being left around that aren't necessary, and may even interfere with normal behavior. Once you've done that, continue with the next step.
+ +To make things simple, the following command will disable all parts that are known to remain after removing everything the normal way. This way you will end up with a similar result as if you did not have an ASUS Armoury Crate enabled system.
+# Stop and disable Services
+Get-CimInstance -ClassName win32_service |
+?{ $_.PathName -match 'asus' } |
+ForEach-Object {
+ Write-Host $_.Name
+ Get-Service $_.Name | Set-Service -StartupType Disabled | Stop-Service
+}
+# Stop and disable scheduled Tasks
+Get-ScheduledTask -TaskPath "*asus*" | ForEach-Object {
+ $_ | Disable-ScheduledTask
+ $_ | Stop-ScheduledTask
+}
+# Disable the fake Device
+Get-PnpDevice -FriendlyName "*Armoury Crate*" | Disable-PnpDevice -Confirm:$false
+ If disabling isn't your thing or not enough, and you never plan on running Windows Update again, then you can remove all traces of this bloatware. This will be irreversible, and can potentially target more than you intended - depending on how much "functionality" ASUS is going to bundle into their firmware.
+ +As usual with debloating, first remove the Software and all its side-components normally. This prevents files being left around that aren't necessary, and may even interfere with normal behavior. Once you've done that, continue with the next step.
+ +To make things simple, the following command will remove all parts that are known to remain after removing everything the normal way. This way you will end up with a similar result as if you did not have an ASUS Armoury Crate enabled system.
+# Stop, disable and delete Services
+Get-CimInstance -ClassName win32_service |
+?{ $_.PathName -match 'asus' } |
+ForEach-Object {
+ Write-Host $_.Name
+ Get-Service $_.Name | Set-Service -StartupType Disabled | Stop-Service
+ sc.exe delete $_.Name
+}
+# Stop, disable and delete scheduled Tasks
+Get-ScheduledTask -TaskPath "*asus*" | ForEach-Object {
+ $_ | Disable-ScheduledTask
+ $_ | Stop-ScheduledTask
+ $_ | Unregister-ScheduledTask -Confirm:$false
+}
+# Disable the fake Device
+Get-PnpDevice -FriendlyName "*Armoury Crate*" | Disable-PnpDevice -Confirm:$false
+# Delete the fake driver
+Get-CimInstance -ClassName win32_service |
+?{ $_.PathName -match 'asus' } |
+ForEach-Object {
+ Write-Host $_.Name
+ Get-Service $_.Name | Set-Service -StartupType Disabled | Stop-Service
+ sc.exe delete $_.Name
+}
+
+ This step is optional, as Windows will simply re-install it with the next update thus rendering all our efforts nil. So unless you know of a way to block fake driver updates, or never intend to update, you can safely skip this step.
+pnputil.exe /enum-drivers |
+Select-String -Pattern "asussci" -Context 2, 5 |
+ForEach-Object {@{
+ "Inf" = ($_.Context.PreContext[1] -split ':')[1].trim();
+ "ClassName" = ($_.Context.PostContext[1] -split ':')[1].trim();
+}} | ForEach-Object {
+ pnputil.exe /delete-driver $_.Inf /uninstall /force /reboot
+}
+ Copyright 2013 Michael Fabian Dirks <info at xaymar dot com&rt; + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/_posts/2023/2023-02-11-asus-armoury-crate.html b/_posts/2023/2023-02-11-asus-armoury-crate.html index 0a34a05..cf7c51c 100644 --- a/_posts/2023/2023-02-11-asus-armoury-crate.html +++ b/_posts/2023/2023-02-11-asus-armoury-crate.html @@ -4,12 +4,13 @@ category: Blog tags: [] --- -{%capture content%}Back in December 2022, I bought myself a Laptop in the hopes that I would be able to take it anywhere and keep working or playing. The idea mostly worked, with the massive downside that I forgot entirely about which vendor made the Laptop: ASUS. ASUS, like MSI, is one of those that will silently push Malware, Spyware and Bloatware as a required Windows update, often hiding it as a new driver.{%endcapture%}{%include blocks/paragraph.liquid content=content%} +{%capture content%}Back in December 2022, I bought myself a Laptop in the hopes that I would be able to take it anywhere and keep working or playing. The idea mostly worked, with the massive downside that I forgot entirely about which vendor made the Laptop: ASUS. ASUS, like MSI, is one of those that will silently push Malware, Spyware and Bloatware as a required Windows update, often hiding it as a new driver.{%endcapture%}{%include blocks/paragraph.liquid content=content%} {%capture content%}Unfortunately for me, Microsoft Windows is a necessity for Windows development - cross-compiling may work, but the generated binaries are horribly wasteful and slow. It's just better to use Microsoft Visual Studio instead, and get proper decent binaries out. So, I needed a solution for the ASUS problem, and I think I found one. {%endcapture%}{%include blocks/paragraph.liquid content=content%} -{%capture content%}Guide last updated on 2023-03-16{%endcapture%}{%include blocks/paragraph.liquid content=content%} +I've moved this guide into its own dedicated page, so that I can update it with ease. See this link for the new updated guide!
{%capture content%}How to (temporarily) remove Armoury Crate{%endcapture%}{%include blocks/heading.liquid level=1 content=content%}