This PowerShell script helps you reinstall iCUE (Corsair's RGB control software) without requiring a reboot or safe mode. It forcefully closes the iCUE application, stops related services and drivers, backs up the installation directory, and reinstalls iCUE.
- Closes iCUE if it's running.
- Stops related services and drivers related to iCUE.
- Backs up iCUE installation directory.
- Moves locked files (like
CorsairLLAccess64.sys
) that can't be deleted. - Deletes the iCUE directory, even if it's locked or has locked files.
- Downloads and installs the latest iCUE version.
- Logs all steps and actions taken for debugging purposes.
- Administrator privileges: The script will automatically request admin rights if it’s not already running with them.
- Internet connection: The script will download the latest iCUE installer.
- Check if the script is running as Administrator. If not, it will restart itself with elevated permissions.
- Close iCUE if it's running.
- Stop iCUE-related services.
- Stop kernel drivers used by Corsair hardware.
- Backup the iCUE installation directory to avoid data loss.
- Attempt to remove the installation directory. If a file (like
CorsairLLAccess64.sys
) is locked, it will be moved to the temp folder before retrying the deletion. - Download the iCUE installer and run the installer to reinstall iCUE.
- Log all actions for debugging and future reference.
- Download the script (
icue_reinstall_helper.ps1
) to your local machine. - Right-click the script file and select Edit.
- Paste and run this command in the blue powershell prompt
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
- Run the script using the green start button at the top
- The script will ask for Administrator permissions. Grant the permissions for it to proceed.
- The script will then forcefully close iCUE, stop related services and drivers, and attempt to remove the old iCUE directory.
- If necessary, the script will move locked files to the temp folder and retry the removal of the directory.
- Once the directory is successfully removed, the script will download and install the latest iCUE version.
- After installation, the script will display a "Have Fun :)" message.
how_to_use.mp4
If you encounter any issues or have questions, you can contact me via:
- GitHub Issues: GitHub Repository
- Discord:
zelak