To restart Windows machines with keyboard only. Windows Key + X, U, R To shutdown Windows Windows Key + X, U, U
Tag: windows
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. […]
Reset RDP Sessions
When using Windows RDP you may encounter the error message ‘The terminal server has exceeded the maximum number of allowed connections’. You can delete open sessions or use the admin switch to administer the server. At the command prompt: To administer the server: mstsc /v:<server> /admin To obtain a list of current sessions: query session […]
Windows 7 Local Administrator Account
The account has to be enabled by running the following command: net user administrator /active:yes It will then be available at the logon prompt.