vmrun – Error: You do not have access rights to this file

VMware vmrun command is very powerful feature of VMware Workstation and ESX server to automate things in virtual machines. Configuring automated script for Windows 2008 Server and Windows 2008 R2 was easy task. Everything went as expected. However the same script failed on Windows Vista and Windows 7 with the following two errors: for vmrun …

xcopy problem – Invalid drive specification – 0 File(s) copied

Recently I started getting the following errors from one of my batch files. Invalid drive specification 0 File(s) copied The problem was, that I didn’t have specified drive at all, because I was using UNC path (\\ComputerName\SharedFolder\Resource). So, xcopy is reporting with the wrong error message. One possibility is, that it is possible to disable …

Logon user into Windows Server 2008 R2 automatically

To bypass log on screen in Microsoft Windows 2008 R2, run the following .reg file: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] “AutoAdminLogon”=”1” “DefaultUserName”=”YourUserName” “DefaultPassword”=”YourPassword” You must change YourUserName to your desired user name, and YourPassword to corresponding password. To import .reg file use: regedit.exe /s filename.reg This will import registry values without confirm dialog …