Using the Windows Subsystem for Linux (WSL)

Sharing files between Windows Subsystem for Linux and Windows Access the Windows files from Linux Start WSL In the terminal navigate to the /mnt directory The drives are mounted to sub-directories Access the Linux files from Windows Start the WSL application in Windows 10 (in this case with the Ubuntu distro) Open Windows Explorer in …

Docker in Windows 10 via VMware Fusion on a MacBook Pro

To run Windows Docker containers on your Macintosh computer, use the following setup. This will introduce a performance hit, because you run virtualization in virtualization. Besides the usual setup process, you need to enable hypervisor applications to avoid the error Error response from daemon: container … encountered an error during CreateContainer: failure in a Windows …

Install Windows from a USB drive

Modern computers don’t have DVD drives anymore. To install Windows on a new system you need to place the Windows installation media on a bootable USB drive. To prepare the bootable USB drive you need a working computer with Windows. Create the bootable USB media Insert an at least 8 GB USB or 8 GB …

Set directory access in Windows

When you use SetAccessRule() to set access rights on a Windows directory, the user who will get the permission has to be a member of the Administrators group. If the user is not a member of the Administrators group PowerShell shows the error message Exception calling “SetAccessRule” with “1” argument(s): “Some or all identity references could not be …

How to duplicate a Windows server that is attached to the Windows Domain

When a Windows server is attached to a Domain only one instance of it can run at a time. To be able to duplicate the server and start a second instance of it Create an image of the server Remote into the server Make sure there is a local administrator account that you can log …

Windows application installation error codes

To enable logging of .msi packages open a command prompt as an administrator and execute MY_APPLICATION.msi /l*vx install.log Error Code Explanation 2 ? 1603 Error message from the operating system dll can not register msi installation failed required version of the .NET framework missing 1605 Nothing to uninstall ? 1618 ? 1619 The source directory does …

The user account does not have permission to run this task

When a Scheduled task is created by another user (or SYSTEM) most of the time only that user can manually trigger the task execution. When you try to execute the scheduled task from the user interface you can get the error message: The user account does not have permission to run this task This error …

Copy files between Windows and Linux computers

There are many tools to copy files between Windows and Linux computers, I have found this method the simplest. It does not require any software installation on the Windows machine, and only one package installation on the Linux machine. Share a folder on the Windows machine Share a folder on the Windows machine and allow …

Edit the HKEY_CURRENT_USER Windows Registry keys of another user

The user-specific settings in the Windows registry are stored under the HKEY_CURRENT_USER key. If you open the Regedit.exe application the HKEY_CURRENT_USER key contains the settings for your user account. To access the registry keys of another user we need to Find the Security ID of the user In Regedit navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelist The key lists the Security IDs and …