Essential Tools and Commands for Cleaning and Fixing Your Desktop or Laptop

9/29/20251 min read

Making a 365 user a local admin
net localgroup administrators "AzureAD\user@domain.com" /add

https://support.microsoft.com/en-us/office/fix-onedrive-sync-problems-0b10108f-8459-4a7a-b912-28f8adec5a81

https://support.microsoft.com/en-au/office/reset-onedrive-34701e00-bf7b-42db-b960-84905399050c

Websites randomly gets blocked or allowed with no changes made – after browser upgrades v124

sysdm.cpl

Disk Cleanup
\windows\SYSTEM32\cleanmgr.exe

E:\>setup.exe /product server

Monitor connection types via PS
Get-CimInstance -Namespace root\wmi -ClassName WmiMonitorConnectionParams

https://github.com/Raphire/Win11Debloat

Software:

ADWCleaner
https://www.malwarebytes.com/adwcleaner
File Cleaner
https://www.bleepingcomputer.com/download/tfc/

https://www.dell.com/support/kbdoc/en-us/000177325/dell-command-update

C:\Windows\System32\cmd.exe /c taskkill /f /im explorer.exe & start explorer.exe