Text version of the portfolio of Rémi Moreau, a BTS SIO SISR student (French two-year degree in IT infrastructure and networks). Open in RémiOS, the interactive version → · Version française

RMutils — a Windows maintenance toolbox

Type
Personal project
Date
October 2026
Status
v1 published on GitHub
Technologies
Batch (cmd.exe), PowerShell, Windows Update (API COM), winget, DISM, SFC, netsh, GitHub, Claude Code
Skills
B1.1 Manage IT assets; B1.2 Respond to incidents and to requests for support and change; B1.5 Make an IT service available to users

Context

Fixing a Windows PC often takes the same steps: installing updates, checking the state of the disks and the battery, freeing up space, repairing system files or resetting the network. The tools exist in Windows, but they are scattered between Settings, the command prompt and PowerShell, and you need to know the right commands.

RMutils brings them together in a single tool, to copy onto a USB stick and run on any PC, without installing anything.

Objectives

Implementation

Two versions. RMutils.bat asks for administrator rights at launch (UAC window) and gives access to everything. RMutils_Lite.bat works without these rights, with suitable features: list of pending updates, cleaning the account's files and browser caches, DNS cache. Both share the same list of applications and the same folders on the stick.

Seven sections in the menu of the full version:

One file, two languages. The start of the file is a batch script: cmd.exe checks the rights, restarts itself as administrator if needed, launches PowerShell, then stops. PowerShell reads the same file again and runs everything after the #PSBEGIN marker. So there is only one file to copy, with no .ps1 script next to it that PowerShell's execution policy could block.

Technical choices.

Built with Claude Code. My role: defining the need, making the choices and testing.

Diagram of how RMutils works: the USB stick holds RMutils.bat, RMutils_Lite.bat and the application list. On the Windows PC, cmd.exe checks the rights and restarts itself as administrator, then PowerShell runs the code placed after #PSBEGIN and shows the keyboard menu. The menu drives Windows tools (Windows Update, winget, DISM and SFC, netsh and pnputil), and the log, reports and backups are written to the stick, in one folder per PC.
How RMutils works: from the double-click on the USB stick to the report saved on the stick (diagram in French)

Source code: github.com/moreauremi/RMutils

Screenshots

Screenshots of the real RMutils code, run under PowerShell 7 on 13 October 2026. The PC name, the Windows version and the Wi-Fi networks are examples. The tool's interface is in French.

RMutils main menu: ASCII logo, PC name and Windows version, seven numbered sections with the first one highlighted, and the description of the selected section
Main menu: arrow keys to navigate, numbers to jump straight to a section
Repair section, "Repair Windows (DISM + SFC)" selected: the description details DISM /RestoreHealth then sfc /scannow, when to run them and how long they take
Repair: each action is described before it runs
Diagnostics section, "Network diagnostics" selected: tests in the order router, internet, DNS then web, and what the first failed test means
Network diagnostics: the first failed test shows where things get stuck
Wi-Fi password tool on an example network: network name, WPA2-Personal security, password in green, then the QR code to scan with a phone
Wi-Fi password and QR code, on an example network

Results

Security

Difficulties encountered

Fitting into a single file. A PowerShell script launched by double-clicking is often blocked by Windows' execution policy. Solution chosen: a batch file that also contains the PowerShell code, which PowerShell reads itself.

Special characters in cmd.exe. cmd.exe handles UTF-8 and Unix line endings poorly. Solution chosen: scripts entirely in ASCII, with Windows line endings protected by the .gitattributes file.

Reading winget's output. winget does not give a structured result: RMutils reads its text table and finds the columns from the header. When winget truncates an identifier that is too long, the application is marked "IGNORE" rather than risk updating the wrong one.

The restore point limit. Windows refuses to create a restore point if another one was created in the last 24 hours. RMutils lifts this limit while it creates the point, then puts the original setting back, and turns on system protection if it was off.

Known limitations

Skills applied