Download the Docker Desktop installer. Open Command Prompt with elevated rights and navigate to the download location. To install docker desktop and the image files to alternate locations you can use the following command in Command Prompt with elevated rights. i.e. Options program install location –installation-dirImage location –wsl-default-data-root You may need to add the current […]
Tag: windows
Get Install Language of a Windows Installation
You can use the Powershell command below with elevated right to determine the initial install language of a Windows installation Tested with Windows 10 and 11
Quick Windows Restart and Shutdown Machine Keyboard Shortcuts
To restart Windows machines with keyboard only. Windows Key + X, U, R To shutdown Windows Windows Key + X, U, U
Factory Reset from Command Line
Enter the below in an elevated command prompt to reset device to factory defaults.
Windows Command End Process
To view all processes run tasklist with elevated privileges To filter/search for a process name e.g. Notepad.exe To force end a process e.g. Notepad.exe
Allow remote access to MYSQL database
To allow remote access to MySql first create a MySql user and assign host as %. CREATE USER ‘newuser’@’%’ IDENTIFIED BY ‘password’; then grant privileges GRANT ALL PRIVILEGES ON * . * TO ‘newuser’@’%’; then flush privileges FLUSH PRIVILEGES; You may need to add the following to /etc/mysql/my.cnf to listen for all ip’s instead of […]
Fix Windows 7+ Corrupt Profile
If a user is given a temporary profile whilst logging onto Windows you can try the following to remedy the problem. 1. Log in using an account with administrative rights 2. Delete the key associated with the corrupt user in HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList 3. Delete the key associated with the corrupt user in HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileGuid 4. […]