Windows 10 God Mode

Refer: https://www.howtogeek.com/402458/enable-god-mode-in-windows-10/

Create a new folder in Windows 10 and name it to the following:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Repair Corrupt VirtualBox .vbox File

Error in VirtualBox VBOX

These are the steps that VirtualBox takes when it writes a new Vbox file. Each step is contingent on the last one being completed without errors.

  • Write a temporary file with ".vbox-tmp" extension.
  • Delete any existing ".vbox-prev" file.
  • Rename existing ".vbox" file to ".vbox-prev".
  • Rename ".vbox-tmp" to ".vbox".

Have not tried these yet

The error that comes after the corruption of the vbox XML file is usually caused when the system locks up; thus preventing the virtualization software from finalizing the writing out to its file of configuration. The error probably implies that the <VirtualBox> opening tag on the line 2 of the file did not have any corresponding </VirtualBox> closing tag at the file’s end.

The fastest method of finding out if this is exactly what has caused the problem in your case; you can locate your vbox XML file for the Guest Operating System, whose home directory location is inside the folder of ‘VirtualBox’ in the ‘Machines’ folder in the ‘Name-of-Your-Guest-OS-Directory’ folder, saved as ‘Name-of-Your-Guest-OS.xml file’

The cause of the problem and the emergence of the error message could probably be simply that the XML file was badly corrupted whose repair process is easy and quick and might take only a minute to be repaired.

  • Open the .vbox XML file in a text editor
  • Then, go to that file’s last line
  • On not seeing any closing tag of </VirtualBox>, it is confirmed that your XML file is corrupt.
  • Now, initiate by adding this closing tag at the end of the file
  • And then, from there, try and work your way back.
  • Look through the file for the <Opening Tags> which do not have any needed </Closing Tag>
  • Another way is to use some XML validation service
  • Just after a few rounds of the three easy steps of Copying -> Pasting -> Validating, you can successfully repair corrupt vbox XML file.

Refer: https://www.bitrecover.com/blog/repair-corrupt-virtualbox-vbox-file/

Download Notes: [ repair-corrupt-virtualbox.pdf ]

Swan – Better Linux on Windows

Refer: https://hackaday.com/2017/03/29/swan-better-linux-on-windows/

Install WSL on Window: https://docs.microsoft.com/en-us/windows/wsl/install-win10

Open and Run the Following PowerShell Command as Administrator:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Download your Distribution of Choice and then you need to initialize it from the start menu.

Background of Swan, I'm using MobXterm.

If you are a Linux user that has to use Windows — or even a Windows user that needs some Linux support — Cygwin has long been a great tool for getting things done. It provides a nearly complete Linux toolset. It also provides almost the entire Linux API, so that anything it doesn’t supply can probably be built from source. You can even write code on Windows, compile and test it and (usually) port it over to Linux painlessly.

However, Cygwin’s package management is a little clunky and setting up the GUI environment has always been tricky, especially for new users. A project called Swan aims to make a full-featured X11 Linux environment easy to install on Windows.

The project uses Cygwin along with Xfce for its desktop. Cygwin provides pretty good Windows integration, but Swan also includes extra features. For example, you can make your default browser the Windows browser with a single click. It also includes spm — a package manager for Cygwin that is somewhat easier to use, although it still launches the default package manager to do the work (this isn’t a new idea, by the way).

Windows Always Shows “Missing Important Fixes”

Fixing "Your device is missing important security and quality fixes."
Refer: https://www.youtube.com/watch?v=1wjtBFTPR00

On a Windows 10 based computer, the following warning message is displayed in Update and Security center: "We couldn't connect to the update service. Your device is at risk because it's out of date and missing important security and quality updates. Let’s get you back on track so Windows can run more securely."

Telemetry Level: There is an option in Windows Group Policy Editor that allows you to control the levels of the Telemetry. It just so happens that some Windows Updates (especially the cumulative updates) won’t be delivered to your system if your Telemetry level is set to Security only.

This tutorial will apply for computers, laptops, desktops,and tablets running the Windows 10 operating system (Professional, Enterprise, Education) from all supported hardware manufactures, like Dell, HP, Acer, Asus, Toshiba,Lenovo, and Samsung).

Here's the fix

gpedit.msc
"Computer Configuration"
"Administrative Templates"
"Windows Components"
"Data Collection and Preview Builds"
"Allow Telemetry"

Originally "Not Configured"
Changing to:
Enabled, Enhanced

Disable Windows Git Credential Manager

Refer: https://stackoverflow.com/questions/37182847/how-do-i-disable-git-credential-manager-for-windows

OK, I discovered that you need to either avoid checking the "Git Credential Manager" checkbox during the Git for Windows installer, or (after installation) run the Bash shell as Administrator and use git config --edit --system to remove the helper = manager line so that it is no longer registered as a credential helper.

For bonus points, use git config --edit --global and insert:

git config --edit --system

[core]
   askpass =

To disable the OpenSSH credentials popup too.