- Download Windows 11 ISO
- Disable networking
- Mount the ISO
- Open a Command Prompt and run:
- X:\sources\setupprep.exe /product server
Wednesday, January 28, 2026
Upgrade to Windows 11 on unsupported hardware
Wednesday, January 14, 2026
Check for SMART status on Debian
Install smartmontools and use smartctl:
sudo smartctl --all /dev/xxx
Monday, September 29, 2025
Unable to turn on BitLocker Error: System cannot find the file specified
Rename C:\Windows\System32\Recovery\REAgent.xml to REAgent.old
Friday, September 26, 2025
Scan and repair corrupt Windows system files
Using elevated command prompt:
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /RestoreHealth
sfc /scannow
chkdsk /f /r
References:
Sunday, September 7, 2025
Adding a Samba user and setting the password
I almost always forget to add users to Samba group after enabling Samba. So here it is:
sudo smbpasswd -a <username>
Change service shutdown timeout in Debian
Make a change so that slow-non/responding services to terminate quickly during shutdown:
sudo nano /etc/systemd/system.conf
Uncomment and edit to:
DefaultTimeoutStopSec=5s
Reboot or reload with:
sudo systemctl daemon-reload
Subscribe to:
Posts (Atom)