Keyboard shortcut | Action |
---|---|
Ctrl + A | Select all content. |
Ctrl + C (or Ctrl + Insert) | Copy selected items to clipboard. |
Ctrl + X | Cut selected items to clipboard. |
Ctrl + V (or Shift + Insert) | Paste content from clipboard. |
Ctrl + Z | Undo an action, including undelete files (limited). |
Category: Windows
Microsoft Windows Operating Systems
Fix Windows 10 Update Failures, e.g. Error 0x800f081f
Try running DISM and SFC commands to repair Windows system files. Once complete reboot and try running the update again.
DISM /Online /Cleanup-image /RestoreHealth
The above DISM command typically completes without issues, but if there are problems replacing the damaged files, you will need to provide another image using the Source option to complete the task. You can use an “install.wim” or “install.esd” file from another computer, bootable install media, or Windows 10 iso file. Make sure that the files match the version,
Change Windows 10 Users Folder Name
- Run ‘command prompt’ as administrator” and enter following
- net user Administrator /active:yes
- Sign out
- Log in with “Administrator” account. If newly activated wait up until Windows sets up the account
- From Start Menu right-click on Start Menu icon and select ‘Computer Management’
- If “Local users and groups” not listed run steps below to install Local User and Group Management (lusrmgr.exe) Console for Windows 10 Home
- Click on “Local users and groups”
- Click ‘Users’.
Add .wps and .xlr Works associations to Office 2010 Starter Edition
Do the following (with Admin account) to associate .wps (Works document) and .xlr (Works spreadsheet) file types to Word and Excel.
- Create Restore point to roll-back in case you make a mistake editing the Registry
- Run Regedit
- Locate HKEY_CLASSES_ROOT \ .doc
- Right-click .doc key and select Export and save to Desktop file as, e.g. docassoc.reg. The contents should look like the sample below.
- Repeat steps 3-4 for .xls
- Exit regedit
- In file File Explorer Copy &
Enable Windows F8 Safe Mode Boot Key
Follow steps below to enable F8 safe mode boot (applies to Windows 10 and 8.1):
- Boot PC using Windows 10 or 8.1 ISO USB flash drive or DVD
- Click Next to skip the first screen
- Press Shift + F10 To open advanced Command prompt window
Type the following command to enable F8 Safe Mode boot key:
bcdedit /set {default} bootmenupolicy legacy
Type Exit and press Enter to quit the Command Prompt.
Useful Windows Commands
Some less well known Windows 7, 8.1, 10 Terminal (Command prompt) commands
Command | Description |
powercfg /batteryreport | Detailed battery diagnostics > html |
netsh wlan show wlanreport | WLAN data last 3 days > html |
Alt+Enter | Full screen mode |
F7 | List previous commands |
doskey /history > |
Gulp Sass suddenly rejecting double quotes
A slip-up of adding an extra ” to a string definition highlights an anomaly in Sass which causes it to flag every line of scss code (including comments) with double quotes as an error including the real error lost in the jungle of errors. See example below with ” added to the end of $fontfamily (not easy to spot) and an excerpt of the Sass compiler error message pointing to valid line of code amongst many more misleading messages.
$fontfamily: "Comic Sans MS",Arial,Helvetica,sans-serif!important"←;
Test your router for vulnerability
Gibson Research Corp.’s Shields Up port-scanning service at https://www.grc.com/shieldsup will test your router for hundreds of common vulnerabilities, most of which can be mitigated by the router’s administrator.
Ubuntu 18.04 Install WordPress in Home partition
Install LAMP
For the purposes of this exercise the Apache document root will be moved to /home/mike/www/ and MySQL data directory moved to /home/mysql and a virtual host created called pcdocgo.co.uk
Use Tasksel to install LAMP services
$ sudo apt install tasksel
Install latest Apache, MySQL and PHP servers
$ sudo tasksel install lamp-server
Configure Apache
Add user to Apache www-data group
$ sudo useradd -G www-data mike
Prepare new document root
$ mkdir /home/mike/www $ sudo rsync -av /var/www/html /home/mike/www
Note: rsync –
Virtualbox after 5.2.22 GA Install and Restart Windows Guest can’t Sign In
After installing Virtualbox 5.2.22 Guest Additions and restart you can’t sign in. The Keyboard input is not recognised. Don’t try to restart from power button on login page as you end up going round in circles. Instead elect to Shutdown and then Start.
After this everything seems to be OK although I did not notice it took several minutes to shutdown the first time after successfully logging in. After this it shut down in the normal time frame.
.