The Advanced System Care script is a comprehensive Windows system optimization tool. It automates various tasks to enhance system performance, clean up unnecessary files, and optimize disk usage. Below is a detailed overview of its functionalities:
- Creates a Task Scheduler entry to run the script daily at 12:01 AM.
- Ensures consistent system maintenance without requiring user intervention.
- Removes unnecessary files to free up disk space, including:
- Clears the
%temp%
folder. - Deletes error reports (
WER
files). - Removes thumbnail caches.
- Cleans Windows Update temporary files.
- Clears the
- For SSDs:
- Runs the TRIM command to improve performance and extend lifespan.
- For HDDs:
- Defragments the disk to optimize file storage.
- Compresses specific folders using NTFS compression to save disk space.
- Disables unnecessary Windows services to improve performance, including:
- Diagnostic Tracking Service (
DiagTrack
). - Windows Search (
WSearch
). - Superfetch/Prefetch (
SysMain
).
- Diagnostic Tracking Service (
- Disables GameDVR and tweaks other Xbox-related features in the registry.
- Optimizes network performance by modifying TCP settings (e.g., autotuning).
- Adjusts Windows settings to reduce background processes and improve responsiveness.
- Copy the script into a new
.ps1
file. - For example, save it as
optimize.ps1
on your desktop or a folder of your choice.
If script execution is disabled on your system, follow these steps:
-
Open PowerShell as Administrator:
- Press
Win + X
and select Windows PowerShell (Admin).
- Press
-
Allow Script Execution:
- Run the following command to enable script execution:
This command allows locally created scripts to run but requires downloaded scripts to be signed by a trusted publisher.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- Run the following command to enable script execution:
-
Confirm the Change:
- When prompted, type
Y
to confirm the change.
- When prompted, type
To run the script manually, follow these steps:
-
Navigate to the Script's Folder:
- Use the
cd
(change directory) command to navigate to the folder where the script is saved.cd "C:\Users\Set_Your_Username\Desktop"
- Use the
-
Execute the Script:
- Run the script with the following command:
.\optimize.ps1
- The script will execute, performing disk cleanup, service management, and system optimizations.
- Run the script with the following command:
To schedule the script to run automatically (e.g., daily at 12:01 AM):
-
Open Task Scheduler:
- Press
Win + R
, typetaskschd.msc
, and press Enter.
- Press
-
Create a New Task:
- In Task Scheduler, click Create Task in the right panel.
-
General Tab:
- Name the task (e.g., "System Optimization").
- Check Run with highest privileges to ensure the task has sufficient permissions.
-
Triggers Tab:
- Click New and set the trigger to Daily at 12:01 AM (or your preferred time).
-
Actions Tab:
- Click New, then set the action to Start a Program.
- In the Program/script field, enter
powershell.exe
. - In the Add arguments field, enter:
Replace
-ExecutionPolicy Bypass -File "C:\Path\To\Script\optimize.ps1"
C:\Path\To\Script\optimize.ps1
with the actual path to your script.
-
Save the Task:
- Click OK to save and activate the task.
- Script Execution Blocked: If you encounter errors related to script execution, ensure that the execution policy is set to
RemoteSigned
orUnrestricted
. - Permissions Issues: Ensure you are running PowerShell as Administrator to avoid permissions errors.
Advanced System Care ideal for:
- Tech-savvy users who wish to automate regular system maintenance tasks.
- System administrators seeking a customizable optimization tool for multiple machines.
- Gamers and power users looking to optimize their systems for performance and efficiency.