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 […]

Send Alt-Control-Delete to a Windows server via Remote Desktop

When you log into a Windows server via the Remote Desktop Protocol (RDP) in some cases you need to send the Alt-Control-Delete ( in other notations Alt-Ctrl-Del, Control-Alt-Delete, Ctrl-Alt-Del ) key combination to the remote server. From a Macintosh laptop On a Macintosh laptop press the fn+control+option+delete keys to send Alt-Control-Delete to the server. From a Windows […]

org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder

This error can happen on Linux and Windows, and the cause could be the same. On Windows Server 2012R2 I opened a command prompt. To be able to delete a directory from the Tomcat webapps folder, I have issued the shutdown command. When I started the server with the startup command, and navigated to my local […]